This page runs reword. Click the headline and rewrite it.

Edit your site by clicking on it.

reword is an in-place editor for websites whose copy lives in code. Click a sentence and rewrite it where it stands. The edit lands in your source file, git is the draft, and your coding agent translates it and opens the pull request.

No CMS. No database. No prompt for a tpyo.

Put it on your site

Add reword to this site. Follow https://github.com/yempik-ai/reword/blob/main/SPEC.md from start to finish.

Paste it into Claude Code, Codex, T3 Code or Cursor, in your site's repo. The agent follows the porting guide.

MIT, one folder. Read it on GitHub

Mark up this page

Four corrections. Each one is something reword does on your own site.

  1. Click it, type, press Enter.

  2. It has a squiggle. No prompt needed.

  3. Type an em dash in any text. On a Mac: Option, Shift and the minus key.

  4. Review is in the bar at the bottom. Send to agent is in the sheet.

Your draft

src/content, in this browser

Nothing yet. Each edit shows up here as the change it makes to our source.

The loop

Click, review, send.

  1. Click

    Run the edit server and switch to Edit. Click a sentence and it becomes a text field, with the typography it already has. Enter saves, Esc cancels.

  2. Review

    Each edit is a word diff: what you took out, what you put in. One press takes an edit back. The draft is your uncommitted git diff and nothing more.

  3. Send

    One press hands the draft to your coding agent. It translates each edit into your other languages, runs your checks and opens a pull request. You merge.

Under the hood

What happens when you press Enter.

reword adds no layer between you and your site. It reads the files you already have and changes one string at a time.

  • AST, not regex

    An edit rewrites one string literal

    The TypeScript compiler finds the literal by its address in the file. reword replaces that value, parses the file again and refuses the write if anything else moved.

  • Git is the draft

    Nothing is stored anywhere else

    No draft table and no sidecar file. The draft is the difference between your last commit and your working tree. Undo is git. History is git.

  • No markers

    The page finds its own copy

    Your components render strings untouched, so a text node that equals a content string is that string. No wrapper components, no data attributes, no invisible characters.

  • Copy, not structure

    Slugs and dates stay out of reach

    On a multilingual site, copy is what differs between languages. A value that is the same everywhere is a slug, a date or a name, and reword will not open it.

  • Local only

    The write route cannot exist in production

    The route that writes files is a route only in the editing dev server. A production build does not contain it. It answers loopback and same-origin requests, nothing else.

  • House rules

    Your style guide, enforced at the keyboard

    Declare what your copy never contains. reword refuses it while you type and says why. This site writes without em dashes: try to type one.

The rule, as this site's reword.config.ts declares it:
forbid: [
  { pattern: "\\u2014", message: "House style: no em dashes. Use a period, a colon or a comma." },
]

Where it sits

Between a devtool and an editorial tool.

A CMS gives writers a comfortable place to write and gives developers a second system to run. Editing in the repo gives developers one system and gives writers a diff. reword keeps the repo and adds the comfortable place.

A headless CMSAsking an agent in chatreword
Where the copy livesA database or a hosted serviceYour repositoryYour repository
How you change a sentenceLog in, find the entry, fill a formDescribe the sentence and the change, wait, checkClick the sentence and type
What you look at while you writeA form, sometimes a previewA chat windowThe page itself
TranslationsA plugin, or a second pass by handAnother promptThe agent writes them from your diff
ReviewDepends on the productRead what the agent changedA word diff before the commit, a pull request after
What it costs to runA service, an API key, a schemaTokens for every typoNothing. It is part of your dev server

The handoff

Any agent. One sentence.

The agent needs a single instruction, because one command prints both your edits and the procedure to publish them. That is why the handoff works with every coding agent.

What every agent receives, word for word:

Publish the reword draft: the uncommitted copy edits in this repository. Run `npm run draft` and follow the procedure it prints, from start to finish.
T3 Code
Built in. Send to agent starts a thread in your project, and you watch it work.
Claude Code
One line of config starts a headless session. Or paste the sentence into the session you already have open.
Codex
One line of config for a non-interactive run. Or paste the sentence.
Cursor, Gemini CLI, a colleague
If it can read a terminal, it can publish your draft. reword shows the sentence and a Copy button.
npm run draft

Quick start

Clone it, or put it in the site you have.

  • Start a site from this one

    This website is the starter. Clone it, start the edit server and replace our words with yours. That is the whole tutorial.

    git clone https://github.com/yempik-ai/reword my-site
    cd my-site && npm install
    npm run edit
  • Add it to your own site

    reword is one folder, one route file and a few lines of config. Copy the folder into a Next.js App Router site and follow the five steps in the README.

    npx degit yempik-ai/reword/src/reword src/reword
  • Or let your agent install it

    The repository has a porting guide written for coding agents. Paste this into yours:

    Add reword to this site. Follow https://github.com/yempik-ai/reword/blob/main/SPEC.md from start to finish.

Questions

Before you install it.

What is reword?

reword is an open-source, in-place copy editor for websites whose text lives in the source code. You click a sentence on your running site, rewrite it, and reword saves the change into the source file. A coding agent then translates the edit and opens a pull request.

Is reword a CMS?

No. reword has no database, no admin panel and no hosted service. Your content stays in typed files in your repository, and git holds the draft and the history. It replaces the editing comfort of a CMS, not its storage.

Does reword work without T3 Code?

Yes. T3 Code is the built-in handoff, and any other agent works with one line of config or one pasted sentence: Claude Code, Codex, Cursor, or any tool that can run a command. Editing itself needs no agent at all.

Which frameworks does reword support?

Today reword runs in Next.js App Router sites whose content is in TypeScript or JavaScript files. The parser, the draft logic and the page matcher do not depend on Next.js, and the repository includes a porting guide for other setups.

Is it safe to run?

The part of reword that writes files exists only in a development server on your own machine. It is not part of a production build, it answers only loopback and same-origin requests, and it can change only the value of a string that already exists.

How can this page be editable, then?

This site is built in playground mode, an opt-in for demos. The build ships the editor's browser half with a backend that lives in your browser: your edits stay in local storage and never leave it. There is no route that writes files and no server. Without the flag, a production build contains nothing of reword.

Can reword edit a site that has one language?

Yes. On a single-language site reword skips translation and decides what is copy from the property name and the shape of the value. The agent then only runs your checks and opens the pull request.

What can reword not edit?

Text that is assembled in code: template strings with variables, concatenations, and text typed directly inside components. Move that text into a content file and it becomes editable. Structure such as slugs, dates and ids is locked on purpose.

How much does reword cost?

Nothing. reword is MIT licensed and runs inside the dev server you already have. Editing uses no tokens. Only the handoff uses your agent, once per draft.

Your website has a text cursor now.

Paste one sentence into your coding agent and make it true.

Put it on your site

Add reword to this site. Follow https://github.com/yempik-ai/reword/blob/main/SPEC.md from start to finish.

Paste it into Claude Code, Codex, T3 Code or Cursor, in your site's repo. The agent follows the porting guide.

Set <html lang> to one of your locales