Skip to main content

Your website is invisible to AI.

ChatGPT, Claude, and Perplexity can't read your JavaScript-rendered pages. They see mangled HTML โ€” or nothing at all. Fix it in 3 minutes.

npm versionLicense: MITGitHub stars

The Problem

๐Ÿ—‘

AI agents see garbage

JS-rendered sites return framework noise to crawlers. Your carefully crafted content is invisible.

๐Ÿ’ธ

Cloudflare charges $20/mo

Their Markdown conversion is locked behind the Pro plan. That's $240/year per domain. This package is free and open source.

๐Ÿ“‰

You're losing AI traffic

When competitors are readable and you aren't, they get cited instead. This is the new SEO.

See the difference

What AI sees now
<div id="__next">
  <div class="layout_main__abc">
    <nav class="nav_root__xyz">
      <div class="nav_inner__def">
        <a class="nav_logo__ghi">...</a>
        <ul class="nav_links__jkl">
          <li class="nav_item__mno">...</li>
        </ul>
      </div>
    </nav>
    <main class="page_wrapper__pqr">
      <div class="content_root__stu">
        <script>self.__next_f.push(...)</script>
        <template>...</template>
With next-markdown-mirror
---
title: "About Us"
description: "We build tools for developers"
type: "AboutPage"
---

# About Us

We build tools that make the web
more accessible to AI agents.

## Our Mission

Ensure every website can communicate
with large language models.

Features

๐Ÿ“

3-File Setup

Add a proxy, route handler, and llms.txt endpoint. That's it. Works with Next.js 16+.

๐Ÿท

JSON-LD Frontmatter

Structured data from your pages is preserved as YAML frontmatter in the Markdown output.

๐Ÿค–

llms.txt Protocol

AI discovery protocol built in. Tell AI agents what pages exist and how to read them.

๐Ÿงน

Intelligent Filtering

Automatically strips nav, footer, ads, scripts, and other non-content elements.

๐Ÿ“

GFM + Extended Markdown

Tables, task lists, definition lists, figures, abbreviations, and more.

๐Ÿ”ข

Token Counting

Every response includes an x-markdown-tokens header with the estimated token count.

Stop paying Cloudflare $240/year per domain

FeatureCloudflarenext-markdown-mirror
Price$20/domain/monthFree, MIT licensed
Self-hostedNoYes
Framework integrationNone (edge proxy)Native Next.js integration
JSON-LD extractionNoYes
llms.txtNoYes
Custom filteringLimitedFull control
Token countingNoYes
Open sourceNoYes

Make your site visible to AI. Today.