Synaplan
開源 AI 平台,供企業使用:自行託管的 AI 代理、符合 GDPR 的聊天機器人小工具、RAG 知識庫、WhatsApp 與 Outlook AI、MCP、多模型路由。Docker、Kubernetes 或託管於 Germ
AI 翻譯
尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證製作者的介紹僅有上面的一句話。 更多詳情請閱讀儲存庫 README。 儲存庫 README ↗
正在載入完整 README。
檢視完整 README ↗A multi-tenant small-business ERP for online shops, built as a PWA — stock, orders, courier money, cash and partner profit in one system that agrees with itself. Each business gets its own isolated workspace; plans, billing and an admin console are built in so it can be run and sold as a service.
| Area | Modules |
|---|---|
| Inventory & procurement | Products, variants, combos, purchases, suppliers, stock, low-stock & expiry alerts |
| Order management | Sales orders, returns, invoices, courier booking and reconciliation |
| Finance | Treasury ledger, spending, internal purchases, partner capital & profit distribution |
| CRM | Customers, follow-ups, call list (website order → phone call → order) |
| Marketing | Boosting — ad campaigns with orders attributed back to the spend |
| Reporting | Dashboard, reports, per-product profitability |
| Platform | Workspaces, roles & permissions, backups (JSON, Drive, off-site), offline queue |
| SaaS | Free trial, plans & limits, manual (bKash/Nagad/bank) billing, platform admin, support |
Every figure has exactly one place it is computed. An order's profit comes from
orderNetProfit, the courier's fee from quoteCourier, what the treasury
receives from depositAmount — so the orders list, the dashboard and the
reports cannot disagree. A Golden Master test pins the whole set of figures for
a generated business and fails on a single taka of difference.
Nothing about one business is built into the code or the deployment:
| What | Where it lives |
|---|---|
| Shop name, logo, website | Settings → Appearance |
| Gift tags, leaflet wording, social links | Settings → Appearance → Printed extras |
| Invoice and order-form branding | the workspace's name, logo and website |
| Couriers, zones, rates, API keys (encrypted) | Couriers |
| WooCommerce site, keys, webhooks (encrypted) | Settings → Website |
| Team, roles, per-person permissions | Settings → Team |
| Plan, limits, payments | Settings → Plan & billing |
| Invoice numbers | workspace slug + order number |
Deploying a second, separate copy of the product needs no code change — see
docs/DEPLOY_NEW_INSTANCE.md.
Next.js 16 (App Router, TypeScript) · PostgreSQL · Prisma 6 · NextAuth.js (Credentials + Google) · Tailwind CSS 4 + shadcn-style UI · Serwist (PWA) · Vitest · Playwright · Vercel + Neon.
docs/DEPLOY_NEW_INSTANCE.md | stand up an independent production deployment |
docs/RUN_DEMO_AND_DEPLOY.md | run locally, demo workspace, pre-deploy checklist |
docs/LOCAL_REVIEW_GUIDE.md | where to see each feature |
docs/SAAS_UPGRADE_LOG.md | what was built, phase by phase, and how it was verified |
docs/PRD.md, docs/TECH_SPEC.md | requirements and architecture |
integrations/woocommerce | the optional WooCommerce combo plugin |
yarn db:local # a local Postgres (separate terminal, keep running)
yarn local:migrate # create tables
yarn demo:seed # a believable demo business
yarn local:dev # http://localhost:3000 ([email protected] / Demo#2026)
yarn test # unit tests, no database
yarn test:integration # real server actions, Golden Master, roles, tenants
yarn typecheck # app and tests
Always run the real production build before a deploy
(npx next build --webpack): it catches things the type-checker and tests
cannot.
The money math lives in src/lib (orders.ts, order-cash.ts, courier.ts,
finance.ts, product-report.ts). Change a figure there and run
yarn test:integration — the Golden Master will say if anything moved.