Skip to content

Latest commit

 

History

History

cli

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

@reactpressjs/reactpress

Write with Focus. Publish with Joy.

CMS, Admin, Headless API, Next.js themes, plugins & desktop in one CLI.

npm latest npm beta npm downloads License: MIT Node.js

The official ReactPress CLI — install a complete, self-hosted publishing stack in ~60 seconds. CMS API, Web Admin, and Next.js theme support ship together. No Docker, nginx, or external database required for local development.

Layer What you get
CMS API Headless NestJS REST — SQLite by default, MySQL optional
Admin Writing console at /admin/ — posts, pages, media, plugins, themes
Themes npm-installable Next.js frontends — swap without touching content
CLI init, doctor, logs, stop, content — operate, diagnose, and publish from agents

Built for frontend teams who want WordPress-grade editing without wiring five repos together.

Documentation · Live demo · Theme demo · GitHub · Chinese overview

Install

# Recommended (unscoped alias → @reactpressjs/reactpress)
npm install -g reactpressjs

# Or install the scoped package directly
# npm install -g @reactpressjs/reactpress

# Prerelease channel
# npm install -g reactpressjs@beta

Requires Node.js 20+. On first install, postinstall downloads bundled server runtime dependencies (~1–2 minutes).

Quick start

mkdir my-site && cd my-site
reactpress init
Surface URL
Public site http://localhost:3001
Admin http://localhost:3001/admin/ (admin / admin)
API http://127.0.0.1:3002/api

Run reactpress doctor if something does not start correctly.

Agent / Headless content

Install the portable Cursor skill, then bootstrap and publish without opening Admin:

npx skills add reactpressjs/reactpress --skill blog-ai -a cursor -y

npm install -g reactpressjs
mkdir my-site && cd my-site
reactpress init
reactpress content key --create --save
reactpress content article create --file ./tmp/post.md
reactpress content article publish --id <id>

Write-scoped API keys authenticate with X-API-Key. See skills/blog-ai.

Commands

Command Description
reactpress init [dir] Initialize a new publishing site
reactpress doctor [dir] Diagnose Node.js, ports, database, and services
reactpress logs [dir] Tail API logs (error / request / response)
reactpress stop [dir] Stop API and site services
reactpress content … API keys, Markdown articles, media upload

Requirements

  • Node.js 20+
  • macOS / Linux / Windows
  • Embedded SQLite + bundled API (no Docker or MySQL for local dev)

Ecosystem

Package Role
@reactpressjs/reactpress-toolkit TypeScript SDK — API clients, theme SSR, plugin hooks
@reactpressjs/reactpress-web Admin SPA — static assets and Node mount helpers
@reactpressjs/reactpress-server Standalone API (deprecated — use CLI bundled API)

License

MIT © reactpressjs

Part of ReactPress — Write with Focus. Publish with Joy.