Skip to content

About

Modern LMS lets any institution sign up, get its own isolated workspace, and run its whole academic life from one web app: admissions, courses, timetables, live classes, exams, grading, attendance, communication and reports. Every organisation's data lives in its own database and storage bucket. Everything is free.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

Modern LMS

A free, open-source learning management system for schools, colleges and universities.

License: MIT Backend: Rust Frontend: Next.js Contributions welcome

Modern LMS lets any institution sign up, get its own isolated workspace, and run its whole academic life from one web app: admissions, courses, timetables, live classes, exams, grading, attendance, communication and reports. Every organisation's data lives in its own database and storage bucket. Everything is free, with no plans, billing or usage limits.

Features

Area What you get
Organisations Self-service signup, isolated workspace per organisation, campuses, departments, programs, custom domains, roles and permissions
People Staff and student accounts generated from your own username and email formats, CSV import, guardians, two-factor sign-in
Admissions Public admission portal with custom form questions, applicant accounts, entrance tests, merit lists and automatic emails
Academics Courses, sections, timetables, enrolment with approvals, promotion between years, configurable grading scales
Teaching Course content, video with adaptive streaming, assignments, quizzes, exams, gradebook with rubrics
Live classes Built-in video classes and meetings: screen share, whiteboard with maths and code, polls, breakout rooms, waiting room, co-hosts, and a shared code editor that runs C, C++, Python and Java
Day to day Attendance (including QR check-in), leave requests, timetabled reminders, notifications
Communication Group and one-to-one chat with moderation, announcements, and a built-in mailbox for every member
Records Report cards, transcripts, certificates and ID cards, fee invoices, analytics and at-risk flags
Portals Separate views for administrators, teachers, students and guardians, plus a console for the people running the platform

Screenshots

The web app on the local Docker stack with the demo school from scripts/seed_demo.py. The images are captured with scripts/screenshots/capture.mjs.

Organisation: overview
Organisation: overview
Teacher: overview
Teacher: overview
Student: overview
Student: overview
Platform console: overview
Platform console: overview
Sign-in, signup and public pages (4)
Sign in
Sign in
Organisation signup
Organisation signup
Platform console: sign in
Platform console: sign in
Admission portal (public)
Admission portal (public)
Organisation admin (18)
Organisation: overview
Organisation: overview
Organisation: timetable
Organisation: timetable
Organisation: students
Organisation: students
Organisation: staff
Organisation: staff
Organisation: admissions
Organisation: admissions
Organisation: admission portal settings
Organisation: admission portal settings
Organisation: programs
Organisation: programs
Organisation: courses
Organisation: courses
Organisation: grading
Organisation: grading
Organisation: library
Organisation: library
Organisation: certificates
Organisation: certificates
Organisation: analytics
Organisation: analytics
Organisation: finance
Organisation: finance
Organisation: leave requests
Organisation: leave requests
Organisation: mail
Organisation: mail
Organisation: settings
Organisation: settings
Organisation: students (light theme)
Organisation: students (light theme)
Organisation: courses (light theme)
Organisation: courses (light theme)
Teacher (4)
Teacher: overview
Teacher: overview
Teacher: classes
Teacher: classes
Teacher: gradebook
Teacher: gradebook
Teacher: messages
Teacher: messages
Student (9)
Student: overview
Student: overview
Student: courses
Student: courses
Student: calendar
Student: calendar
Student: quizzes
Student: quizzes
Student: exams
Student: exams
Student: invoices
Student: invoices
Student: live classes
Student: live classes
Student: messages
Student: messages
Student: overview (phone)
Student: overview (phone)
Guardian (1)
Guardian: overview
Guardian: overview
Platform console (provisioner) (3)
Platform console: overview
Platform console: overview
Platform console: organizations
Platform console: organizations
Platform console: migrations
Platform console: migrations

Quick start

You need Docker with Compose v2. From the repository root:

docker compose up -d --build

The first build takes a while. When it finishes, everything is running:

Open What it is
http://localhost:3000 The web app (sign in or create an organisation)
http://localhost:3000/signup Create an organisation
http://localhost:3000/platform-login Platform console, sign in as mlmsadmin / mlmspassword
http://localhost:8025 Mailpit, where every email sent locally arrives

Want sample data? Run python scripts/seed_demo.py to create a demo school called greenfield.

Stop everything with docker compose down. Add -v to also delete the data.

Important

This setup uses development passwords and secrets. It is for trying the project and developing it, not for real use. A real deployment needs its own secrets, email service and domain. See env.md, "Production requirements".

To run the backend or frontend outside Docker, see the development guide.

How it works

                    ┌─────────────────────┐
  Browser ─────────▶│  web (Next.js)      │
     │              └─────────┬───────────┘
     │                        │
     ├──────────────▶ platform-api ── signup, platform console
     ├──────────────▶ lms-api ─────── everything inside an organisation
     └── WebRTC ────▶ media-sfu ───── live classes

  provisioner   creates each organisation's database and bucket
  workers       reminders, migration checks, video transcoding
  migrator      database schema upgrades

  PostgreSQL (one database per organisation) · S3 storage (one bucket per
  organisation) · NATS · Valkey/Redis · coturn · Piston (code runner)
Part Technology
Backend Rust, Axum, SQLx, Tokio
Frontend Next.js 15, React, TypeScript, MUI
Data PostgreSQL 17, S3-compatible storage, Valkey (Redis), NATS JetStream
Live classes Own WebRTC SFU written in Rust (str0m), coturn for TURN
Packaging Docker and Docker Compose

The reasoning behind the main choices is recorded in docs/adr.

Repository layout

backend/      Rust workspace: services in bins/, shared code in crates/, SQL migrations
web/          Next.js web app, the only client
infra/docker/ Dockerfiles and the Compose stack
docs/         Development guide, decision records, design plans and spikes
docs-site/    Documentation website (Docusaurus)
nextup/       Build guides for open work, ready for contributors
scripts/      Demo data, end-to-end checks, screenshot capture
screenshots/  Screenshots of the web app

Documentation

Document What it covers
Development guide Running each part, trying features, tests and troubleshooting
env.md Every setting, with defaults
ORGANIZATION-MANUAL.md How a school uses the system day to day
PLAN.md Goals, architecture and roadmap
PROGRESS.md What is built, what is partly built, and what is next
CHANGELOG.md Notable changes
docs/adr/ Architecture decision records
docs/plans/ Design record for signup, the admission portal and mail
docs-site/ The full documentation website: users, API, backend, frontend, deployment

To read the documentation website locally:

cd docs-site
npm install
npm start

Contributing

Contributions are welcome: code, documentation, translations and bug reports. Start with CONTRIBUTING.md, then pick an open task from nextup/. Everyone taking part is expected to follow the Code of Conduct.

Found a security problem? Please report it privately, as described in SECURITY.md.

License

Modern LMS is released under the MIT License.

Author

Created and maintained by Bilal Amjad.

About

Modern LMS lets any institution sign up, get its own isolated workspace, and run its whole academic life from one web app: admissions, courses, timetables, live classes, exams, grading, attendance, communication and reports. Every organisation's data lives in its own database and storage bucket. Everything is free.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages