- Getting started
- Run your school online
- Add a student
- Add a teacher
- Bulk-import students
- Bulk-import teachers
- Pricing and payment
- Roles and permissions
- Fees and invoices
- Academic setup
- Timetable
- Make-up classes
- Teach a live class
- Sharing your screen and sound in class
- Holidays
- Exams
- Grades and report cards
- Attendance
- Parents
- Signing in and passwords
- Arabic and English
- Mobile and offline
- Installing and updating the school app (Android)
- Notifications
- Class supervisor and class readiness
- Data security and privacy
- Asking the help assistant
- Contacting support
Introduction
Hogwarts is an Arabic-first school management system — admissions, attendance, fees, grades and family communication in one place.
Hogwarts automates the operational core of a school — admissions, classrooms, attendance, grading, fees, messaging — so staff spend less time on paperwork and more on teaching. It is Arabic-first, starts from the data a school already has, and the code stays open for audit — every contribution is attributed.
What it does
- School operations. Multi-tenant SaaS — one platform serves many schools. Each school gets its own subdomain, branding, roles, and data isolation.
- Bilingual by default. Arabic-first with full RTL support; English LTR mirror. UI labels and dynamic content both translate on demand.
- AI-augmented. Document intelligence for admissions, bank receipts, and (planned) exams, library, and onboarding.
- Open source. SSPL-1.0. Self-hostable today, managed SaaS for schools that prefer not to.
Architecture
Mirror pattern
Routes mirror components. Server components fetch, client components interact. No prop drilling.
Multi-tenancy
Subdomain-based tenant resolution, schoolId scoping on every query, edge middleware routing.
Mirror patterns
Page, layout, content, actions, queries, form, table, columns — canonical shapes for each file.
Stack
Next.js 16, React 19, Prisma 6, NextAuth v5, Tailwind 4, shadcn/ui.
Where to start
Get started
Clone, install, run the dev server, ship a first PR — under 15 minutes.
Vision
Where Hogwarts is going, one paid step at a time.
Sprints
This sprint's goal and everyone's task.
Contributing
Commit conventions, testing, community channels, your first PR.
For the team — read in this order
Start here holds the links, your machine set up with Kun, and a quick health check. Every page below opens with a flowchart and ends with what to do when something happens, and related docs.
- Start here — the links, Kun setup, and the health check
- Team — who owns what, and who decides
- Vision — where we are going, one paid step at a time
- Shared economy — what you get, and how builders share what we earn
- CEO — the office, the weekly rhythm, and how we argue
- Sprints — this sprint's goals and your task
- Kun engine — the AI system we run on
- Monetize — how we make money, and the road to break-even
- Marketing — what we say, to whom, and where
- Sales — the pitch, and six steps from first talk to first payment
- CRM — where every school we talk to lives
- Pricing — 24 SAR per student, and how we reached it
- Contract — the one-page agreement
- Support desk — how we look after our schools
- Partnership — partners and the sales commission
- Funding — the funding ladder, grants, and investors
Conventions
- Single-language storage. One
langfield per row; generic field names (title,body,name); on-demand translation cached inTranslation. schoolIdscoping on every query. MissingschoolId= data leak across tenants.- Semantic HTML. No hardcoded
text-*/font-*classes; logical CSS properties so RTL works without overrides — see Style guide.
For full constraints and the role model see PRD.