Synaplan
开源 AI 软件平台,面向企业:自托管 AI 代理,符合 GDPR 的聊天机器人小部件,RAG 知识库,WhatsApp 与 Outlook AI,MCP,多模型路由。支持 Docker、Kubernetes 或在 Germ 托管。
AI 翻译
尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证制作者的介绍仅有上面的一句话。 更多详情请阅读仓库 README。 仓库 README ↗
正在加载完整 README。
查看完整 README ↗This is a Next.js project bootstrapped with create-next-app.
First, run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
Open http://localhost:3000 with your browser to see the result.
Events, guests, tables and zones are stored in Supabase Postgres. The browser
talks only to the Next.js API routes in src/app/api/events/, which query the
database with a server-only secret key.
One-time setup:
supabase/migrations/20260930000000_init.sql,
then supabase/migrations/20261001000000_roles.sql (user roles and event
owners), then supabase/migrations/20261002000000_leads.sql (the sales
leads CRM), then supabase/migrations/20261003000000_leads_convert.sql
(lead-to-event conversion), then supabase/migrations/20261004000000_role_claim.sql
(puts the user's role in their session token), then
supabase/migrations/20261006000000_floor_plans.sql (private storage bucket
for hall floor plans), then supabase/migrations/20261007000000_gifts.sql
(the couple's gift ledger), then supabase/migrations/20261008000000_rsvp_tokens.sql
(guests' personal RSVP links), then
supabase/migrations/20261009000000_guest_last_contacted.sql (when each
guest was last sent an RSVP message), then
supabase/migrations/20261010000000_ai_seating.sql (the AI seating
assistant's usage quota and lock), then
supabase/migrations/20261020000000_rsvp_automation.sql and
supabase/migrations/20261022000000_rsvp_automation_hourly.sql (the RSVP
automation's progress and run log), then supabase/seed.sql
(optional demo data).
Then enable the role hook: Authentication → Hooks → Customize Access
Token (JWT) Claims → Postgres function public.custom_access_token_hook..env.example to .env.local and fill in SUPABASE_URL,
SUPABASE_SECRET_KEY and SUPABASE_PUBLISHABLE_KEY from the project's settings,
and OPENAI_API_KEY for the AI seating assistant.insert into public.profiles ... query at the bottom of
the roles migration with that user's email.npm run dev and sign in at /login./admin and /api/admin/* require a signed-in user whose profile role is
admin (checked in src/app/admin/layout.tsx and in each admin route via
getCurrentUser() from src/lib/auth.ts).
Staff (hostess) accounts are created at /admin/staff. Staff land on /live
after login, where they pick today's event or enter an event ID, and may only
open /live/*. src/proxy.ts redirects them away from /admin and /couple
using the role claim from the hook above (see src/lib/areas.ts); the
layouts and API routes enforce the same rules against the database, and the
guests API lets staff change only arrival fields.
| Route | Methods |
|---|---|
/api/events | GET list, POST create |
/api/events/[eventId] | GET, PUT (partial update, e.g. { "phase": "SEATING" }), DELETE |
/api/events/[eventId]/guests | GET, POST (create Guest[]), PUT (upsert Guest[]), DELETE ({ "ids": [...] }) |
/api/events/[eventId]/tables | same as guests, with SeatingTable[] |
/api/events/[eventId]/zones | same as guests, with SeatingZone[] |
You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.
This project uses next/font to automatically optimize and load Geist, a new font family for Vercel.
To learn more about Next.js, take a look at the following resources:
You can check out the Next.js GitHub repository - your feedback and contributions are welcome!
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
Check out our Next.js deployment documentation for more details.