Synaplan
開源 AI 平台,供企業使用:自行託管的 AI 代理、符合 GDPR 的聊天機器人小工具、RAG 知識庫、WhatsApp 與 Outlook AI、MCP、多模型路由。Docker、Kubernetes 或託管於 Germ
AI 翻譯
尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證製作者的介紹僅有上面的一句話。 更多詳情請閱讀儲存庫 README。 儲存庫 README ↗
正在載入完整 README。
檢視完整 README ↗Maintenance management for Stafford International School (Colombo 7): work orders, preventive maintenance, photo proof of completed work, and technician KPIs. Installable on phones as a PWA.
Stack: Next.js 15 (App Router, server actions) · Clerk (auth) · Neon Postgres · Drizzle ORM · Tailwind CSS · Vercel (hosting + daily cron)
| Role | Who | Can do |
|---|---|---|
| Maintenance Manager | Maintenance Manager | Raise work orders, assign them (one lead plus optional extra people), close or reopen completed work, preventive schedules, board, reports, manage users. Can also be assigned work |
| Admin | Owner, MD, principal, heads of section | Raise and edit work orders, track all work, board and reports, manage users |
| Supervisor | Maintenance supervisor | Track all work, board and reports (can't raise work orders). Can be assigned work |
| Technician / Driver | Technicians, drivers | See work assigned to them, start it, complete it (photos optional), comment; see everyone's open work on the Board and view Reports (read only) |
Work order flow (from the Maintenance Manager's requirements):
Preventive maintenance schedules (weekly → yearly, or custom dates each year) create work orders automatically every day at
06:00 Colombo time (vercel.json cron → /api/cron/schedules).
Reports show, per technician: assigned, completed, completion rate, open, overdue, average response time (assigned → started), average resolution time (assigned → completed), on-time rate and reopen count, plus breakdowns by type and building and a CSV export.
| Name | Required | Notes |
|---|---|---|
DATABASE_URL | yes | Neon pooled connection string |
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY / CLERK_SECRET_KEY | yes | From the Clerk dashboard (set by the Vercel Clerk integration) |
CRON_SECRET | yes on Vercel | Any random string; Vercel Cron sends it to /api/cron/schedules |
SMTP_HOST, SMTP_PORT, SMTP_USER, SMTP_PASS | for email | e.g. Gmail: smtp.gmail.com, 465, the address, an app password. Without these, emails are skipped and logged |
EMAIL_FROM | optional | e.g. Stafford Maintenance <[email protected]> |
APP_URL | optional | Link base for emails; defaults to the Vercel production URL |
npm install
cp .env.example .env.local # fill in values
npm run db:migrate # apply migrations (uses Neon's HTTP driver)
npm run dev
Schema lives in src/db/schema.ts. After changing it run npm run db:generate and commit the new
SQL in drizzle/. Production builds on Vercel run the migrations automatically (npm run build);
preview builds skip them.