How often does this happen?
Twice last quarter. @platform has the incident notes.
Paraph is a self-hosted editor for Markdown, where people and AI agents suggest edits, comment, and approve.
Try it: accept or reject a suggestion.
The public API has no request limits. One client that retries in a tight loop can slow search for everyone. We cannot tell it to back off.
How often does this happen?
Twice last quarter. @platform has the incident notes.
Each API token may send 100300 requests per minute. A request over the limit gets a 429 response with a Retry-After header.
Replace “100” with “300”
Limits apply per token, and per source IP for requests without a token.
Add “, and per source IP for requests without a token”
Internal services call the API with their own tokens. They keep the current behavior until each team opts in.
Enable the limiter for every token on the first dayin log-only mode for a week, then enforce it.
Replace “for every token on the first day”
Paraph runs as one binary on your server. Its database is SQLite or PostgreSQL.
Every document is plain GitHub Flavored Markdown. Export it, or sync it both ways with Git.
AI agents connect over MCP. With a Suggest token, an agent’s edits become suggestions with its name on them.
An approval records the exact version it approved. Later edits mark it outdated and show a diff.
In Suggesting mode, each edit shows as an insertion or a deletion. Someone with edit access accepts or rejects each one, or all at once.
Comments stay next to the text they discuss. Mention people with @user and teams with @team.
A reviewer approves the document, and Paraph records the exact version. When the document changes, the approval shows as outdated, with a diff since approval.
Write in the rich editor, or switch to the Markdown source. Both edit the same document, so comments and suggestions stay when you switch.
Each document maps to a Markdown file in a Git repository. Run paraph git-sync, and a Git edit that conflicts with a document change arrives as a suggestion.
Paraph serves MCP over HTTP at /mcp. Create a token with Suggest access at /settings/tokens, then add Paraph to your client.
A Suggest token cannot accept or reject suggestions, even on documents you own. Clients that only speak stdio can run paraph mcp.
{
"mcpServers": {
"paraph": {
"type": "http",
"url": "https://docs.example.com/mcp",
"headers": { "Authorization": "Bearer ${PARAPH_TOKEN}" }
}
}
}
Paraph is one Rust binary with the web app inside. Run it with Docker Compose and SQLite:
git clone https://github.com/mr-karan/paraph && cd paraph
cat > deploy/.env <<'EOF'
PARAPH__APP__PUBLIC_URL=https://docs.example.com
PARAPH__AUTH__LOCAL_ADMIN_EMAIL=admin@example.com
PARAPH__AUTH__LOCAL_ADMIN_PASSWORD='replace-with-a-generated-password'
EOF
chmod 600 deploy/.env
docker compose --env-file deploy/.env -f deploy/docker-compose.sqlite.yml up -d
Paraph listens on 127.0.0.1:8080. Add a TLS reverse proxy in front. deploy/Caddyfile works as is.
For PostgreSQL, add POSTGRES_PASSWORD to deploy/.env, then use docker-compose.postgres.yml.
Or download a release binary for Linux (x86_64, arm64) or macOS (Apple silicon) from the releases page.
From source:
nix develop
just web-install && just release
PARAPH__AUTH__DEV_OPEN_ACCESS=true target/release/paraph serve
Open http://127.0.0.1:8080. Development access skips sign-in and works only on a loopback address.