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