Synaplan
開源 AI 平台,供企業使用:自行託管的 AI 代理、符合 GDPR 的聊天機器人小工具、RAG 知識庫、WhatsApp 與 Outlook AI、MCP、多模型路由。Docker、Kubernetes 或託管於 Germ
AI 翻譯
尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證製作者的介紹僅有上面的一句話。 更多詳情請閱讀儲存庫 README。 儲存庫 README ↗
正在載入完整 README。
檢視完整 README ↗A multi-school management system for South African public and independent schools, Grade R to Grade 12. It covers learners, educators, parents, attendance, CAPS results, report generation, class timetables, assignments, school expenses in ZAR, notices, calendar and messaging, with a modern glass interface in light and dark mode.
Copyright © Infinite Q Graphics
Live: https://ferridash.autogration.co.za (Vercel, region Paris, deploys automatically from main; also at https://ferri-dash.vercel.app). Android and iOS
apps in mobile/ open the same site.
FerriDash stores everything in Supabase: PostgreSQL for the data, and uploaded logos,
profile photos and expense PDFs in a private Storage bucket (ferridash-uploads, created on first upload).
.env.local (never committed) holds:
| Variable | What it is |
|---|---|
DATABASE_URL | Supabase connection string, transaction pooler (port 6543). Percent-encode special characters in the password (@ is %40). |
SUPABASE_URL, SUPABASE_SERVICE_ROLE_KEY | For Storage (server side only, never sent to browsers) |
SESSION_SECRET | Long random string that signs session cookies; use a new one per installation |
Row-level security is on for every table with no policies, so Supabase's public API exposes nothing; the app connects as the database owner and scopes every query to the signed-in user's school.
Put the variables above in .env.local (and in your host's environment settings).
Create the first platform administrator. This also creates the tables if the database is empty. It asks for name, email and password (hidden, at least 12 characters); there are no demo accounts:
npm run db:admin
npm run build then npm start (or deploy to your host), sign in, and add the first school under Dashboard.
npm install
| Command | What it does |
|---|---|
npm run dev | Development server on port 3100 (uses the database in .env.local) |
npm run build then npm start | Production build and server |
npm run db:admin | Create a platform administrator (-- --another to add one more) |
npm run db:password | After changing the database password in Supabase: update it in .env.local (tests it first, then copies the new DATABASE_URL for Vercel) |
npm run typecheck | TypeScript check |
node scripts/smoke.mjs <address> | Loads every page as every role and checks role restrictions |
.env.local points at the live database, so npm run dev works on real school data. For development, create a
second Supabase project and use its connection string instead. DB_DEBUG=1 logs failing SQL to the server log.
| Role | Can do |
|---|---|
| Platform admin | Manages schools only: a dashboard to add, edit, suspend and reactivate schools, add school admins and reset their passwords. No access to anything inside a school (learners, results, finance, messages) |
| School admin | Everything in their school: staff, learners, parents, classes, allocation, moderation and publishing, finance, settings |
| Educator | Registers for their classes, mark capture for subjects they teach, reports for their classes, assignments, timetables, notices, calendar |
| Learner | Own dashboard, published results and report cards, attendance, assignments, timetable, messages to staff |
| Parent | Their own children only: published results, report cards, attendance, assignments, timetable, messages to staff |
Learners and parents never see unpublished marks.
7-point scale: 7 Outstanding (80–100), 6 Meritorious (70–79), 5 Substantial (60–69), 4 Adequate (50–59), 3 Moderate (40–49), 2 Elementary (30–39), 1 Not achieved (0–29).
Phase weighting (SBA : examinations): Foundation 100:0, Intermediate 75:25, Senior 40:60, FET 25:75. The June and preparatory examinations count towards SBA; the Term 4 examination is the final exam. Until it is captured, year marks and promotion outcomes are marked provisional.
Promotion requirements (lib/caps.ts), per the National Policy pertaining to Programme and Promotion Requirements:
These rules are indicative. Verify them against current DBE circulars before making official decisions.
Results workflow: Draft → Submitted (educator) → Approved → Published (management). Marks lock once submitted, and every change is written to the audit trail.
ab for absent, press Enter to move down; cells save automatically.School admins use Reports → Year-end Promotion when the year's final results are in:
Back up the data folder before running it; it cannot be undone.
data/uploads when no Supabase keys are set). Logos are public; profile photos are only visible to signed-in users of the same school.ZAR currency (en-ZA formatting), SA ID number validation (Luhn check, with date of birth and gender read from the ID),
EMIS numbers, quintiles, the nine provinces, no-fee schools, PERSAL and SACE numbers, the 11 official spoken
languages, four-term calendar, and a POPIA privacy notice.
app/globals.css) in a sunrise palette (tangerine, sunshine yellow and warm charcoal): .glass, .glass-strong, .glass-solid, light and dark
themes, and support for prefers-reduced-transparency and prefers-reduced-motionpostgres (db/schema.pg.sql, lib/db.ts). Every tenant table carries school_id; all
queries are scoped to the signed-in user's school. Files are in Supabase Storage (lib/storage.ts).jose), middleware guard, a role check in every page
and action, login throttling, audit logapp/(app)/ authenticated pages (dashboard, results, reports, finance, ...)
app/actions/ server actions (all mutations, each role-checked)
lib/caps.ts CAPS levels, weighting, promotion rules
lib/results.ts term/year marks, rankings, class results
components/ shell, UI kit, charts, report card
db/schema.pg.sql database schema
scripts/ admin bootstrap, database password helper, smoke test