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.