{"id":47962807,"url":"https://github.com/xintaofei/nextbb","last_synced_at":"2026-04-04T10:02:30.673Z","repository":{"id":334858027,"uuid":"1115100267","full_name":"xintaofei/nextbb","owner":"xintaofei","description":"Next bulletin board system.","archived":false,"fork":false,"pushed_at":"2026-02-15T16:06:46.000Z","size":3062,"stargazers_count":35,"open_issues_count":2,"forks_count":5,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-02-15T23:22:16.466Z","etag":null,"topics":["bbs","community","discover","nextbb","nextjs","nextjs16","topic"],"latest_commit_sha":null,"homepage":"https://nextbb.org","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xintaofei.png","metadata":{"files":{"readme":"README.md","changelog":null,"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,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2025-12-12T10:41:17.000Z","updated_at":"2026-02-15T16:06:50.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/xintaofei/nextbb","commit_stats":null,"previous_names":["xintaofei/nextbb"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/xintaofei/nextbb","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xintaofei%2Fnextbb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xintaofei%2Fnextbb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xintaofei%2Fnextbb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xintaofei%2Fnextbb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xintaofei","download_url":"https://codeload.github.com/xintaofei/nextbb/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xintaofei%2Fnextbb/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31395450,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-04T09:13:02.600Z","status":"ssl_error","status_checked_at":"2026-04-04T09:13:01.683Z","response_time":60,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["bbs","community","discover","nextbb","nextjs","nextjs16","topic"],"created_at":"2026-04-04T10:02:29.806Z","updated_at":"2026-04-04T10:02:30.666Z","avatar_url":"https://github.com/xintaofei.png","language":"TypeScript","readme":"\u003ch1 align=\"center\"\u003eNextBB\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cstrong\u003e基于 Next.js 16 构建的现代化、高性能、国际化论坛系统\u003c/strong\u003e\u003cbr/\u003e\n  \u003cem\u003eA modern, high-performance, i18n-ready forum built with Next.js 16\u003c/em\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://nextbb.org\" target=\"_blank\"\u003e🌐 在线演示\u003c/a\u003e\n  ·\n  \u003ca href=\"#-快速开始\"\u003e📦 快速开始\u003c/a\u003e\n  ·\n  \u003ca href=\"https://github.com/xintaofei/nextbb/issues\"\u003e🐛 报告问题\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/xintaofei/nextbb/blob/main/LICENSE\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/license/xintaofei/nextbb?style=flat-square\u0026color=blue\" alt=\"License\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/xintaofei/nextbb/stargazers\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/stars/xintaofei/nextbb?style=flat-square\u0026color=yellow\" alt=\"Stars\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/xintaofei/nextbb/network/members\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/forks/xintaofei/nextbb?style=flat-square\u0026color=green\" alt=\"Forks\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/xintaofei/nextbb/issues\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/issues/xintaofei/nextbb?style=flat-square\u0026color=red\" alt=\"Issues\" /\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Next.js-16-black?style=flat-square\u0026logo=next.js\" alt=\"Next.js\" /\u003e\n  \u003cimg src=\"https://img.shields.io/badge/React-19-61DAFB?style=flat-square\u0026logo=react\" alt=\"React\" /\u003e\n  \u003cimg src=\"https://img.shields.io/badge/TypeScript-5-3178C6?style=flat-square\u0026logo=typescript\u0026logoColor=white\" alt=\"TypeScript\" /\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Tailwind_CSS-4-06B6D4?style=flat-square\u0026logo=tailwindcss\u0026logoColor=white\" alt=\"Tailwind CSS\" /\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Prisma-ORM-2D3748?style=flat-square\u0026logo=prisma\" alt=\"Prisma\" /\u003e\n  \u003cimg src=\"https://img.shields.io/badge/PostgreSQL-16-4169E1?style=flat-square\u0026logo=postgresql\u0026logoColor=white\" alt=\"PostgreSQL\" /\u003e\n\u003c/p\u003e\n\n---\n\n## 📖 关于 NextBB\n\nNextBB 是一个使用最新技术栈开发的**开源论坛应用**。它不仅提供了完整的社区功能，还深度集成了 **AI 自动翻译**、**自动化规则引擎**和**丰富的互动组件**，旨在为用户提供流畅、现代且智能的交流体验。\n\n## ✨ 核心特性\n\n\u003ctable\u003e\n  \u003ctr\u003e\n    \u003ctd width=\"50%\"\u003e\n\n### 🚀 极致性能\n\n基于 Next.js 16 App Router 和 React 19，利用服务端组件（RSC）实现极速加载\n\n### 🌍 全方位国际化\n\n- UI 界面完全本地化（中/英）\n- **AI 驱动内容翻译**：支持 OpenAI、Claude、Gemini 等主流 LLM\n\n### 🤖 自动化规则引擎\n\n灵活配置触发器与动作，实现社区运营自动化\n\n### 💬 丰富互动形式\n\n投票 · 抽奖 · 悬赏 · 签到\n\n\u003c/td\u003e\n\u003ctd width=\"50%\"\u003e\n\n### 🛠️ 强大管理后台\n\n全功能仪表盘，管理用户、内容、配置及 LLM 设置\n\n### 🎨 现代化 UI/UX\n\n- Tailwind CSS 4 + shadcn/ui\n- 完美深色模式支持\n- 响应式设计，适配所有设备\n\n### 📝 高级编辑器\n\nMilkdown Markdown 编辑器，斜杠命令、实时预览\n\n### 🔒 安全可靠\n\nNextAuth.js 认证\n\n\u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/table\u003e\n\n\u003cbr/\u003e\n\n## 🛠️ 技术栈\n\n\u003ctable\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e\u003cb\u003e框架\u003c/b\u003e\u003c/td\u003e\n    \u003ctd\u003e\u003ca href=\"https://nextjs.org/\"\u003eNext.js 16\u003c/a\u003e (App Router)\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e\u003cb\u003e语言\u003c/b\u003e\u003c/td\u003e\n    \u003ctd\u003eTypeScript (Strict Mode)\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e\u003cb\u003e样式\u003c/b\u003e\u003c/td\u003e\n    \u003ctd\u003e\u003ca href=\"https://tailwindcss.com/\"\u003eTailwind CSS 4\u003c/a\u003e · \u003ca href=\"https://ui.shadcn.com/\"\u003eshadcn/ui\u003c/a\u003e · \u003ca href=\"https://www.framer.com/motion/\"\u003eFramer Motion\u003c/a\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e\u003cb\u003e数据库\u003c/b\u003e\u003c/td\u003e\n    \u003ctd\u003e\u003ca href=\"https://www.postgresql.org/\"\u003ePostgreSQL\u003c/a\u003e + \u003ca href=\"https://www.prisma.io/\"\u003ePrisma ORM\u003c/a\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e\u003cb\u003e缓存\u003c/b\u003e\u003c/td\u003e\n    \u003ctd\u003e\u003ca href=\"https://redis.io/\"\u003eRedis\u003c/a\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e\u003cb\u003e认证\u003c/b\u003e\u003c/td\u003e\n    \u003ctd\u003e\u003ca href=\"https://next-auth.js.org/\"\u003eNextAuth.js\u003c/a\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e\u003cb\u003e数据请求\u003c/b\u003e\u003c/td\u003e\n    \u003ctd\u003e\u003ca href=\"https://swr.vercel.app/\"\u003eSWR\u003c/a\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e\u003cb\u003e国际化\u003c/b\u003e\u003c/td\u003e\n    \u003ctd\u003e\u003ca href=\"https://next-intl-docs.vercel.app/\"\u003enext-intl\u003c/a\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e\u003cb\u003e表单\u003c/b\u003e\u003c/td\u003e\n    \u003ctd\u003eReact Hook Form + Zod\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e\u003cb\u003eAI\u003c/b\u003e\u003c/td\u003e\n    \u003ctd\u003e\u003ca href=\"https://sdk.vercel.ai/\"\u003eVercel AI SDK\u003c/a\u003e\u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/table\u003e\n\n\u003cbr/\u003e\n\n## 🚀 快速开始\n\n### 前置要求\n\n| 依赖       | 版本要求 |\n| ---------- | ----- |\n| Node.js    | 20+   |\n| pnpm       | 10+   |\n| PostgreSQL | 16+   |\n| Redis      | 7+    |\n\n### 本地开发\n\n```bash\n# 1. 克隆仓库\ngit clone https://github.com/xintaofei/nextbb.git\ncd nextbb\n\n# 2. 安装依赖\npnpm install\n\n# 3. 配置环境变量\ncp .env.example .env\n# 编辑 .env 文件，填写数据库等配置\n\n# 4. 初始化数据库\npnpm prisma generate\npnpm db:push\npnpm db:seed\n\n# 5. 启动开发服务器\npnpm dev\n```\n\n打开 [http://localhost:3000](http://localhost:3000) 即可访问 🎉\n\n### 一键部署到 Vercel\n\n\u003cp\u003e\n  \u003ca target=\"_blank\" href=\"https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fxintaofei%2Fnextbb\u0026env=JWT_AUTH_SECRET,NEXTAUTH_SECRET,NEXTAUTH_URL,IS_SERVERLESS,NODE_TLS_REJECT_UNAUTHORIZED\u0026project-name=nextbb\u0026repository-name=nextbb\u0026demo-title=NextBB\u0026demo-description=Next%20bulletin%20board%20system\u0026demo-url=https%3A%2F%2Fnextbb.org\u0026stores=%5B%7B%22type%22%3A%22blob%22%7D%2C%7B%22type%22%3A%22kv%22%7D%2C%7B%22type%22%3A%22postgres%22%7D%5D\"\u003e\n    \u003cimg src=\"https://vercel.com/button\" alt=\"Deploy with Vercel\" height=\"36\" /\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n点击上方按钮，Vercel 会自动引导你集成：\n\n- **Neon** - PostgreSQL 数据库\n- **Upstash** - Redis 缓存服务\n- **Blob** - 云端存储服务\n\n\u003cdetails\u003e\n\u003csummary\u003e\u003cb\u003e📋 需要手动配置的环境变量\u003c/b\u003e\u003c/summary\u003e\n\n| 变量名                         | 说明             | 生成方式                  |\n| ------------------------------ | ---------------- | ------------------------- |\n| `JWT_AUTH_SECRET`              | JWT 认证密钥     | `openssl rand -base64 32` 或随机字符串 |\n| `NEXTAUTH_SECRET`              | Session 加密密钥 | `openssl rand -base64 32` 或随机字符串 |\n| `NEXTAUTH_URL`                 | 认证回调 URL     | `https://nextbb.org` （替换为实际部署的域名访问地址）   |\n| `IS_SERVERLESS`                | Serverless 模式  | 设置为 `true`             |\n| `NODE_TLS_REJECT_UNAUTHORIZED` | SSL 验证         | 设置为 `0`                |\n\n\u003c/details\u003e\n\n\u003cbr/\u003e\n\n## 📂 项目结构\n\n```\nsrc/\n├── app/                  # Next.js 路由与页面 (App Router)\n│   ├── [locale]/         # 国际化路由入口\n│   │   ├── admin/        # 管理员后台\n│   │   ├── api/          # API 接口\n│   │   └── (main)/       # 前台页面\n├── components/           # UI 组件\n│   ├── admin/            # 后台专用组件\n│   ├── common/           # 通用组件\n│   ├── editor/           # 编辑器组件\n│   └── ui/               # shadcn/ui 基础组件\n├── hooks/                # 自定义 React Hooks\n├── i18n/                 # 国际化配置与翻译\n├── lib/                  # 工具函数与服务\n│   ├── ai/               # AI 模型适配层\n│   ├── automation/       # 自动化规则引擎\n│   └── services/         # 业务逻辑服务\n├── types/                # TypeScript 类型定义\n└── instrumentation.ts    # 服务启动初始化\n```\n\n## 💬 交流与支持\n\n欢迎加入 NextBB 社区，与其他开发者和用户交流讨论！\n\n### QQ 交流群\n\n**QQ 群号：235959967**\n\n### 在这里你可以：\n- 💡 讨论功能建议和使用技巧\n- 🐛 反馈问题并获得技术支持\n- 🤝 结识志同道合的开发者\n- 📢 获取项目最新动态\n\n## 🤝 贡献\n\n我们欢迎所有形式的贡献！\n\n## 💖 致谢\n\n感谢所有为这个项目做出贡献的开发者！\n\n\u003ca href=\"https://github.com/xintaofei/nextbb/graphs/contributors\"\u003e\n  \u003cimg src=\"https://contrib.rocks/image?repo=xintaofei/nextbb\" /\u003e\n\u003c/a\u003e\n\n## 📄 许可证\n\n本项目采用 [GPL-2.0 License](LICENSE) 开源许可证。\n\n---\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxintaofei%2Fnextbb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxintaofei%2Fnextbb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxintaofei%2Fnextbb/lists"}