Self-host ClaudePress

The full app, every feature, free under the GNU AGPL-3.0. You run it; you pay Anthropic directly for what Claude uses.

Requirements

  • Node.js 23.6 or later (TypeScript runs natively, no build step) and git.
  • Whatever your sites' builds need (Python, Hugo, npm…), if previews are built on the server.
  • A Claude API key from the Anthropic console. Optional: a fal.ai key for images and videos.

Install

git clone https://github.com/YvesBenini/claudepress
cd claudepress && npm install
cp config/claudepress.example.json config/claudepress.json
cp .env.example .env    # add ANTHROPIC_API_KEY (and FAL_KEY if you want images)
npm start               # http://localhost:4400

First start

Open the address. ClaudePress asks you to create the administrator account; then add your sites and invite people as described in add a site and invite your clients.

The first-start screen of ClaudePress: Nini says welcome and the form creates the administrator account
On a fresh install, the first screen creates the administrator account.

Without e-mail sending, invitations and password resets are links the administrator copies and sends. With a firebase block in the config, people sign in with e-mail and password or Google through Firebase Authentication instead.

Configuration

config/claudepress.json holds the server settings: port, host, publicUrl (used in invitation links), model, agencyName, signup, firebase, storage and plans. Without plans, every account has unlimited sites and AI.

  • Data: one SQLite file and a folder of files under data/ by default; or Firestore and Cloud Storage with "storage": { "type": "firestore", … }.
  • GitHub: create ClaudePress's own GitHub App once from Administration → Sites, or use CLAUDEPRESS_GITHUB_TOKEN / the GitHub CLI's login during development.
  • Previews: built on the server (the repository is cloned into workspaces/ and built once on first start), by the site's own pipeline through pull requests, or with Google Cloud Build.

Previews run the site's own build scripts on your server: only connect sites whose code you trust.

The license

ClaudePress is licensed under the GNU AGPL-3.0. Use it, change it, run it for your clients, for free. If you offer a modified version as a service to others, share your changes under the same license. The license covers the code, not the ClaudePress name, logo or the Nini mascot.

The full walkthrough is on the blog: self-host an open-source AI CMS. The source code and its README are in the GitHub repository.