Synaplan
Open-source AI platform for companies: self-hosted AI agents, GDPR-compliant chatbot widget, RAG knowledge base, WhatsApp and Outlook AI, MCP, multi-model routing. Docker, Kubernetes or hosted in Germ
D&H and D&Co operations: every order, return, piece of stock and purchase order, in one place.
Translation pending
BusinessTypeScript · CSSGitHub @band-agentsOnlineOwner 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
The maker's introduction consists of the line above. Read the repository README for more details. Repository README ↗
Loading the full README.
Read the full README ↗Every order and every return, from checkout to cash, in one place. Relay listens to every FIG storefront (FIG website and app, Women'secret Egypt and Kuwait, Labesny website and app, and figeg.com until the Shopify store launches) and moves each order through the departments that touch it. Every team sees where each order is and who has it right now.
New → Confirming → Finance check → Ready to pick → Picking → Packed → Shipped → Out for delivery → Delivered → Settled
Customer care Finance └──────── Fulfilment ────────┘ └──────── Shipping ────────┘ Finance (courier cash)
Off-track: Cancelled · Returning to origin (refused) → RTO closed
Returns: Requested → Approved → Pickup → In transit → Received → Inspected → Refund pending → Refunded
Built as a web dashboard first. Every screen works at phone width, and /api/* is the base for the mobile app.
npm install
npm run seed # a month of demo trading (stop `npm run dev` first; the embedded DB is single-process)
npm run dev # http://localhost:3400
Signed out, / is the landing page; staff sign in from its header (password, or Google when
GOOGLE_CLIENT_ID/GOOGLE_CLIENT_SECRET are set). Locally, GOOGLE_MOCK=1 puts a stand-in account chooser behind
"Continue with Google": pick any seeded teammate (*@relay.local) to see exactly what that job sees.
An admin can rebuild the demo floor from Rules & SLAs.
Going live: see deploy/README.md (one server: the console, Postgres, HTTPS, nightly backups).
No database to install: locally Relay runs an embedded Postgres (PGlite) in .data/. In production,
set DATABASE_URL to a real Postgres. The same migrations (drizzle/) run on start in both cases.
A job preset plus a level per area, and an optional store scope. For example, the Kuwait team only ever sees Kuwait.
| Area | Levels |
|---|---|
| Orders, Confirmation, Finance, Pick & pack, Shipping, Returns desk | hidden · view · act · manage |
| Customer data | masked · name & city · full contact |
| Money | hidden · totals · payments · refunds |
| Insights, Channels, Team, Rules | hidden · view · edit · manage |
| Command centre (the whole floor: Command centre + Pipeline) | hidden · view |
| Stock, Purchasing, Warehouse work, Merchandising | hidden · view · act · manage |
Pages are need-to-know. PAGES in src/lib/domain/perms.ts says which levels open each page; the
menu, the phone tabs, the palette and every page guard read it, so what is offered and what opens never
differ. Someone without the Command centre lands on their own first page (care on Confirm, the warehouse
on Pick & pack). Team & access → What each job sees lists each job's pages; page-access.test.ts
pins them. A teammate's stored access is only where they differ from their job, so improving a preset
reaches everyone on that job.
Rules that always hold:
Everything is in .env.example, and /channels shows what each store still needs, its webhook
address, and a Check connection button that verifies the token and its scopes.
2025-07, incremental pull plus
signed webhooks. App orders that FIG's Medusa apps push into Shopify are filed under the app channel
and de-duplicated against the direct Medusa feed.RELAY_WRITE_BACK=true): sends fulfilment and tracking to Shopify, marks COD orders
paid when settled, and adds relay:<stage> tags. It never replaces a tag list, and every attempt is
logged on the timeline.Store facts only ever move an order forward. A late webhook can't undo work the floor already did.
npx tsc --noEmit && npm run lint && npm test && npm run build
src/lib/domain/ pure rules: stages & transitions, access, risk, autopilot, SLAs, return policies
src/lib/engine.ts the only path that changes an order or a return (ingest, move, hold, note, return)
src/lib/connectors/ Shopify, Medusa, WooCommerce, Aramex, Lucida (pure mappers + tested)
src/lib/sync.ts pull + courier tracking; /api/webhooks/[platform]/[channel]; /api/cron
src/lib/insights.ts "Relay noticed" src/lib/copilot/ Ask Relay tools
src/app/(console)/ command centre, orders, pipeline, queues, returns, cash, insights, setup
src/seed/ the demo floor (fictional people, real public catalogue)