Skip to content
Torso

Victory needs
no head.

The click-to-edit CMS that writes to your source code.

Try it

Click the page. Read the commit.

This is the real thing, not a recording. Change the text on the left and Torso’s save step runs on our server, showing the source it would write.

yoursite.com/edit

Ship your product, not your backlog

Previews for every pull request, so reviews happen on the real thing.

Start for free
Link address:/signup
Team plan, $29 per month

Tap or click any text on this page and type.

components/hero.tsx
const plan = { name: "Team", price: 29 }; export function Hero() {  return (    <section>      <h1>Ship your product, not your backlog</h1>      <p>        Previews for every pull request, so reviews        happen on the real thing.      </p>      <a href="/signup">Start for free</a>      <small>        {plan.name} plan, ${plan.price} per month      </small>    </section>  );}

How it works

A headless CMS still needs a body. Torso uses yours.

No content backend, no schema, no sync. The words live in your components, and Torso edits them there.

  1. 1

    Wrap your config

    One function around your Next.js config finds the static text and links in your components at build time. Your source files are not changed.

  2. 2

    Click and type

    Open the edit URL, sign in, and click a heading, a button or a paragraph. You write directly on the page, in its own fonts and layout.

  3. 3

    Save is a commit

    On your machine, Save rewrites the component file. In production it commits to your GitHub branch and your host redeploys as usual.

Read how it works, step by step

What you get

Less of everything a CMS usually brings

Every edit is versioned

Changes land in git as ordinary commits. History, blame, review and revert come with the repository you already have.

Nothing for agents to learn

Your copy is plain code, so a coding agent reads and changes it like anything else. It never has to see the CMS, or know there is one.

No schema

Nothing to model and nothing to migrate. If it is written in your JSX, it is editable.

Components stay untouched

No hooks, no wrapper components and no content files. Remove the package and your site is exactly what it was.

Nothing to host

There is no content API, database or admin app. Pages stay as static as you built them, and no outage elsewhere can take your words down.

Writes that cannot break the build

Every edit is escaped for the syntax it lands in, then the file is parsed again to prove it reads back as typed.

Never overwrites a colleague

If the text changed in the repository since you opened the page, that edit is refused. The branch only ever moves forward.

Invisible to visitors

No editor script ships to the public site. Elements carry a short opaque id, which adds a few hundred bytes to a page.

Your login or a password

Reuse your app’s admin session with one function, or set a password. Without either, the edit URL is a plain 404.

Setup

Two files and a password

Install the package, wrap your config and add one route. Then open /edit on your own site.

$ pnpm add torso-cms

Read the docs

next.config.ts

import { withCMS } from "torso-cms";

const nextConfig = {
  // your existing config
};

export default withCMS(nextConfig);

Wrap the config you already have. This is the only change to existing code.

Honest limits

What it does not do

  • Text that comes from a database or a remote service stays where it is.
  • It edits what already exists. Images, rich text, new sections and new pages are planned, not built.
  • Values your code calculates, such as a total or today’s date, are left alone.
  • Next.js is the supported framework. React on Vite is experimental. Svelte and Vue are not supported yet.
  • Every limit we know of, in full

Questions

Things people ask first

Text written in your components, string props such as a title, text and numbers held in constant arrays and objects, strings in your translation files, Markdown and MDX content, and link URLs. That covers most of a hand-built marketing page.

This page is edited with itself

Run the repository, open the edit URL and click on this sentence. Save, and the change is in the component file.