{"id":21958656,"url":"https://github.com/fecommunity/reactpress","last_synced_at":"2026-04-12T09:54:28.788Z","repository":{"id":258780309,"uuid":"854196894","full_name":"fecommunity/reactpress","owner":"fecommunity","description":"🔥 ReactPress is a free blog and CMS system developed using Next.js and AntDesign.（ReactPress是一个基于Next.js+Antd5.0的博客\u0026CMS系统）Demo：https://blog.gaoredu.com","archived":false,"fork":false,"pushed_at":"2025-07-12T09:31:59.000Z","size":21617,"stargazers_count":482,"open_issues_count":10,"forks_count":53,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-07-12T11:43:16.901Z","etag":null,"topics":["antd","blog","cms","mardown","mysql","nestjs","nextjs","react","reactpress"],"latest_commit_sha":null,"homepage":"https://reactpress.surge.sh","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fecommunity.png","metadata":{"files":{"readme":"README-zh_CN.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-09-08T16:24:21.000Z","updated_at":"2025-07-12T09:32:02.000Z","dependencies_parsed_at":"2025-07-12T11:32:48.201Z","dependency_job_id":"16529110-21da-40fa-907d-3ad16a301796","html_url":"https://github.com/fecommunity/reactpress","commit_stats":null,"previous_names":["fecommunity/easy-blog","fecommunity/reactpress"],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/fecommunity/reactpress","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fecommunity%2Freactpress","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fecommunity%2Freactpress/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fecommunity%2Freactpress/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fecommunity%2Freactpress/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fecommunity","download_url":"https://codeload.github.com/fecommunity/reactpress/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fecommunity%2Freactpress/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266483628,"owners_count":23936388,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["antd","blog","cms","mardown","mysql","nestjs","nextjs","react","reactpress"],"created_at":"2024-11-29T09:02:17.914Z","updated_at":"2026-04-12T09:54:28.783Z","avatar_url":"https://github.com/fecommunity.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003ca href=\"https://gaoredu.com\" title=\"ReactPress\"\u003e\n    \u003cimg height=\"180\" src=\"./public/logo.png\" alt=\"ReactPress 标志\"\u003e\n  \u003c/a\u003e\n\n  \u003ch1\u003eReactPress 2.0\u003c/h1\u003e\n\n  \u003cp align=\"center\"\u003e\n    \u003cem\u003e基于 React、Next.js 和 NestJS 构建的现代化全栈发布平台\u003c/em\u003e\n  \u003c/p\u003e\n\n  [![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/fecommunity/reactpress/blob/master/LICENSE)\n  [![NPM Version](https://img.shields.io/npm/v/@fecommunity/reactpress.svg?style=flat-square)](https://www.npmjs.com/package/@fecommunity/reactpress)\n  [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](https://github.com/fecommunity/reactpress/pulls)\n  [![TypeScript](https://img.shields.io/badge/%3C%2F%3E-TypeScript-%230074c1.svg?style=flat-square)](http://www.typescriptlang.org/)\n  [![Next.js](https://img.shields.io/badge/Next.js-12-black?style=flat-square)](https://nextjs.org/)\n  [![NestJS](https://img.shields.io/badge/NestJS-6-red?style=flat-square)](https://nestjs.com/)\n  [![Deploy](https://img.shields.io/badge/Deploy-Vercel-blue?style=flat-square)](https://vercel.com/new/clone?repository-url=https://github.com/fecommunity/reactpress)\n  [![CI](https://github.com/fecommunity/reactpress/actions/workflows/npm-publish.yml/badge.svg)](https://github.com/fecommunity/reactpress/actions/workflows/npm-publish.yml)\n\n  \u003cp\u003e\n    \u003ca href=\"https://github.com/fecommunity/reactpress/issues\"\u003e报告错误\u003c/a\u003e\n    ·\n    \u003ca href=\"https://github.com/fecommunity/reactpress/issues\"\u003e请求功能\u003c/a\u003e\n    ·\n    \u003ca href=\"./README.md\"\u003eEnglish Documentation\u003c/a\u003e\n  \u003c/p\u003e\n\u003c/div\u003e\n\n## 🌟 现代化发布平台\n\n**ReactPress 2.0** 是一个现代化的全栈发布平台，使开发者和内容创作者能够轻松构建专业博客、网站和内容管理系统。\n\n[![ReactPress 海报](./public/poster.png)](https://gaoredu.com)\n\n## ✨ 主要特性\n\n### ⚡ 5分钟快速安装\n- **零配置设置**，具有智能默认值\n- **WordPress 式安装向导**，提供直观的设置体验\n- **自动数据库配置**，具有自动模式迁移\n\n### 🎨 高级定制\n- **动态主题切换**，支持亮/暗模式\n- **组件级定制**，通过模块化架构实现\n- **国际化支持**（中文和英文）\n\n### 🔧 统一开发体验\n- **Monorepo 架构**，具有模块化包\n- **TypeScript**，为前端和后端提供类型安全\n- **PM2 进程管理**，用于生产部署\n\n### 🚀 现代技术栈\n- **前端**：React 17 + Next.js 12 Pages Router\n- **后端**：NestJS 6 模块化架构\n- **数据库**：MySQL + TypeORM\n- **UI**：Ant Design v5 组件\n\n## 📸 截图\n\n### 安装向导\n[![安装界面](./public/install.png)](https://gaoredu.com)\n\n### 内容管理仪表板\n[![管理仪表板](./public/admin.png)](https://gaoredu.com)\n\n### 演示站点\n[![演示](./public/demo.png)](https://gaoredu.com)\n\n## 🚀 快速开始\n\n### 📋 前置要求\n- Node.js \u003e= 16.5.0\n- MySQL 数据库\n- pnpm 包管理器\n\n### 🏁 安装选项\n\n#### 选项 1：统一 CLI（推荐）\n```bash\n# 全局安装 ReactPress\nnpm install -g @fecommunity/reactpress\n\n# 启动服务\nreactpress server start\nreactpress client start\n```\n\n#### 选项 2：独立服务\n```bash\n# 安装并启动 ReactPress 服务器\nnpx @fecommunity/reactpress-server\n\n# 独立安装并运行客户端\nnpx @fecommunity/reactpress-client\n```\n\n## 📟 命令行界面 (CLI)\n\nReactPress 提供了一个统一的命令行界面来管理服务器和客户端组件。\n\n### 统一 CLI 命令\n\n全局安装 ReactPress 后，您可以使用 `reactpress` 命令：\n\n```bash\n# 显示帮助\nreactpress --help\n\n# 启动服务器\nreactpress server start\n\n# 启动客户端\nreactpress client start\n\n# 使用 PM2 启动服务器\nreactpress server start --pm2\n\n# 使用 PM2 启动客户端\nreactpress client start --pm2\n```\n\n\n### 独立包命令\n\n您也可以直接使用各个包的命令：\n\n```bash\n# 启动服务器\nnpx @fecommunity/reactpress-server\n\n# 启动客户端\nnpx @fecommunity/reactpress-client\n\n# 使用 PM2 启动服务器\nnpx @fecommunity/reactpress-server --pm2\n\n# 使用 PM2 启动客户端\nnpx @fecommunity/reactpress-client --pm2\n```\n\n## 📦 包与组件\n\nReactPress 组织为**具有模块化包的 monorepo**：\n\n### 核心包\n\n| 包 | 描述 | 版本 |\n|---------|-------------|---------|\n| [`@fecommunity/reactpress`](.) | 主 CLI 和统一入口点 | 2.0.0 |\n| [`@fecommunity/reactpress-client`](./client) | Next.js 12 前端应用 | 1.0.0 |\n| [`@fecommunity/reactpress-server`](./server) | NestJS 6 后端 API | 1.0.0 |\n| [`@fecommunity/reactpress-toolkit`](./toolkit) | 自动生成的 API 客户端 SDK | 1.0.0 |\n\n### 模板\n\n| 模板 | 描述 | 包名 |\n|----------|-------------|--------------|\n| [`hello-world`](./templates/hello-world) | 用于快速原型设计的最小模板 | `@fecommunity/reactpress-template-hello-world` |\n| [`twentytwentyfive`](./templates/twentytwentyfive) | 功能丰富的博客模板 | `@fecommunity/reactpress-template-twentytwentyfive` |\n\n## 🔧 配置\n\n在根目录中创建 `.env` 文件用于本地开发：\n\n```env\n# 数据库配置\nDB_HOST=127.0.0.1\nDB_PORT=3306\nDB_USER=reactpress\nDB_PASSWD=reactpress\nDB_DATABASE=reactpress\n\n# 客户端配置\nCLIENT_SITE_URL=http://localhost:3001\n\n# 服务器配置\nSERVER_SITE_URL=http://localhost:3002\n```\n\n## 🚀 部署选项\n\n### 使用 Vercel 部署（推荐）\n[![使用 Vercel 部署](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https://github.com/fecommunity/reactpress)\n\n### PM2 部署（推荐）\n```bash\n# 全局安装 PM2\nnpm install -g pm2\n\n# 使用 PM2 启动 ReactPress 服务器\nnpx @fecommunity/reactpress-server --pm2\n\n# 使用 PM2 启动 ReactPress 客户端\nnpx @fecommunity/reactpress-client --pm2\n\n# 或者使用统一 CLI\nreactpress server start --pm2\nreactpress client start --pm2\n```\n\n### 传统部署（自托管）\n```bash\n# 构建生产版本\npnpm run build\n\n# 启动生产服务器\npnpm run start\n```\n\n## 🤝 贡献\n\n我们欢迎各种形式的贡献！无论是错误修复、新功能、文档改进还是翻译，您的帮助都受到赞赏。\n\n### 📋 开发设置\n\n1. Fork 仓库\n2. 克隆您的 fork：`git clone https://github.com/your-username/reactpress.git`\n3. 安装依赖：`pnpm install`\n4. 启动开发服务器：`pnpm run dev`\n\n### 📦 发布\n\n要将包发布到 npm：\n\n1. 确保您已登录 npm：`pnpm login`\n2. 运行发布脚本：`pnpm run release`\n3. 按照交互式提示选择包和版本增量\n\n请阅读我们的[贡献指南](https://github.com/fecommunity/reactpress/blob/master/CONTRIBUTING.md)了解我们的行为准则和开发流程详情。\n\n## ❤️ 致谢\n\nReactPress 受到许多优秀开源项目的启发和构建：\n\n- [Next.js](https://github.com/vercel/next.js) - React 框架\n- [NestJS](https://github.com/nestjs/nest) - 渐进式 Node.js 框架\n- [Ant Design](https://github.com/ant-design/ant-design) - UI 设计语言\n- [TypeORM](https://github.com/typeorm/typeorm) - TypeScript 和 JavaScript 的 ORM\n\n我们感谢这些项目的作者和贡献者的出色工作。\n\n## 📈 Star 历史\n\n[![Star History Chart](https://api.star-history.com/svg?repos=fecommunity/reactpress\u0026type=Date)](https://star-history.com/#fecommunity/reactpress\u0026Date)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffecommunity%2Freactpress","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffecommunity%2Freactpress","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffecommunity%2Freactpress/lists"}