创建房间,邀请朋友一起推理。
Translation pending
SocialTypeScript · PLpgSQLGitHub @ai0506OnlineOwner unconfirmed
Have you tried it? One tap is enough. No sign-in needed.
No updates detected yet. GitHub releases will appear here.
Owners of public repositories under a personal GitHub account can sign in to verify ownership and manage the introduction themselves. No administrator approval is needed.
Sign in, generate a verification file, and commit it to this repository’s default branch within 30 minutes. Files on other branches or forks do not count. Then check the file below to manage the project without administrator approval. Keep the file to retain your access.
If needed, you will go to sign-in. After signing in, return here and press your chosen verification button again.
Run /nomorevibe verify in your project folder to verify ownership and manage the introduction yourself.
Verify in one minuteAsk about other verification options
Next.js+Supabase+Deepseek API
Translation pending
Taken from the repository README
Loading the full README.
Read the full README ↗多人在线海龟汤房间应用,当前已实现:
points_per_seat 可设为 0更详细的功能拆分和当前进度见 tasks.md;最近的改动记录见 updates.md。
只想在终端玩游戏?无需部署本项目,直接使用CLI 下载页的安装包,阅读 CLI 玩家指南。以下步骤面向网站开发者。
当前 CLI 为 0.3.2,需要 Node.js 22 或更高版本;支持换电脑重新安装和登录。网站玩法见图文教程,实现状态与验证范围见 CLI 实施计划及安装包验收记录。
需要 Node.js 20.9 或更高版本。
npm install
在 Supabase 创建一个项目。
使用 Supabase CLI 关联项目并部署 supabase/migrations 目录下的全部迁移(按文件名顺序执行,数量较多,不建议手动逐个粘贴到 SQL Editor):
npx.cmd supabase login
npx.cmd supabase link --project-ref your-project-ref
npx.cmd supabase db push --linked
在 Authentication 的 URL Configuration 中加入:
http://localhost:3000/auth/callback
详细步骤、常见报错和 Windows 环境下的排查方法见 docs/guides/本地部署教程.md。
复制 .env.example 为 .env.local,填写 Supabase 项目 Connect
页面中的值:
NEXT_PUBLIC_SUPABASE_URL=https://your-project.supabase.co
NEXT_PUBLIC_SUPABASE_PUBLISHABLE_KEY=sb_publishable_xxx
NEXT_PUBLIC_SITE_URL=http://localhost:3000
SUPABASE_SECRET_KEY=sb_secret_xxx
[email protected]
RESEND_API_KEY=re_xxx
ADMIN_EMAIL_FROM="Online Soup <[email protected]>"
DEEPSEEK_API_KEY=sk-xxx
DEEPSEEK_MODEL=deepseek-v4-flash
DEEPSEEK_BASE_URL=https://api.deepseek.com
ZHIPU_API_KEY=
ZHIPU_MODEL=glm-4-flash-250414
Publishable key 是供网页使用的公开项目密钥;数据库访问仍受 RLS
和函数权限保护。SUPABASE_SECRET_KEY 只供服务端使用,不能添加
NEXT_PUBLIC_ 前缀,也不能提交到公开仓库。ADMIN_EMAILS 支持多个管理员邮箱,
使用英文逗号分隔。RESEND_API_KEY / ADMIN_EMAIL_FROM 用于管理端发送邮件,缺省时该功能不可用。
DEEPSEEK_API_KEY / DEEPSEEK_MODEL 用于房间内 AI 问答(询问、
提示、尝试推理),缺省时该功能不可用,但不影响其他功能。ZHIPU_API_KEY / ZHIPU_MODEL
用于问答缓存等价判断和 GLM 事实摘要,缺省时相关功能降级或跳过。完整变量列表(含
GLM 备用模型、超时等可选项)见 .env.example。
配置完成并重启项目后,管理员登录即可从顶部导航进入 /admin,管理账户积分和题库。
npm run dev
打开 http://localhost:3000。
points_per_seat 可填 0)。/feedback 提交一条反馈,管理端「用户反馈」标签能看到并可改状态。代码自检命令(详见 CLAUDE.md / AGENTS.md):
npm.cmd run typecheck
npm.cmd run lint
npm.cmd test
npm.cmd run build
npm.cmd test 运行离线 Vitest 回归;如本机已启动 Supabase CLI,还可运行
npm.cmd run test:db 检查数据库契约。CLI 另运行 npm --prefix cli test 和
npm run cli:check-package。当前仓库没有 GitHub Actions workflow,推送前需自行运行相应检查;这些检查不替代真实账号、房间或付费 AI 的端到端验收。