Synaplan
開源 AI 平台,供企業使用:自行託管的 AI 代理、符合 GDPR 的聊天機器人小工具、RAG 知識庫、WhatsApp 與 Outlook AI、MCP、多模型路由。Docker、Kubernetes 或託管於 Germ
AI 翻譯
尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證製作者的介紹僅有上面的一句話。 更多詳情請閱讀儲存庫 README。 儲存庫 README ↗
正在載入完整 README。
檢視完整 README ↗POS + accounting system for a football-field operation: product sales, general expenses, stock receiving, credit sales ("เซ็น") with partial-payment debt tracking, cash↔bank transfers, a Void flow, and a monthly closing report (26th–25th accounting period) that allocates net profit 30/30/30/10 and emits a PDF.
Rebuilt from the original Google Apps Script + Sheets version onto: Next.js (App Router) · Supabase (Postgres, Storage) · Vercel.
No accounts/login — same trust model as the original (anyone who opens the app has full access; the original only gated destructive actions behind a shared "1234" prompt, which this drops in favor of just... not pretending to be security).
supabase/migrations/),
not application code — see the comments at the top of
20250101000003_functions.sql. RLS denies direct table writes from the
client; the RPC functions are the only way to mutate anything.src/lib/types/database.ts is hand-written to match the migrations. Every
Row/Insert/Update type must stay a fully inlined object literal —
see the comment in that file for why (a real, reproducible Supabase
TypeScript client bug where referencing a named interface, or even the
built-in Partial<T>, silently collapses .rpc()/.from() typing to
undefined/never). Regenerating with supabase gen types typescript
produces this same literal style, so that's always safe to run.supabase init +
supabase start for a local stack). Apply the migrations in
supabase/migrations/ in order — either supabase db push, or paste each
file's contents into the SQL Editor in order (0001 → 0005).cp .env.local.example .env.local and fill in the Supabase URL + keys
(Project Settings → API).npm installnpm run dev — http://localhost:3000See the header comment in scripts/migrate-from-sheets.ts for the Google
service-account setup, then:
npm run migrate
Run it against a staging/throwaway Supabase project first and spot-check totals against the original sheet before pointing it at production.
.env.local (except the GOOGLE_* ones — those are only for the one-off
migration script) in the Vercel project settings./api/reports/generate route needs the Node.js runtime (already set
via export const runtime = "nodejs") — it renders PDFs with
@react-pdf/renderer and uploads them to the private reports Storage
bucket using the service-role key.The original design (still in git history) had Supabase Auth + a profiles
table with staff/admin roles, gating Void and period-close to admins.
Dropped per a deliberate call to keep this a walk-up-and-use tool for a small
team. Re-adding it means: a profiles table + signup trigger, auth.uid()
checks back in the RPC functions, RLS policies scoped to authenticated
instead of anon, and a login page + route guard on the frontend.