Documentation
Everything about how Lunis works, from install to the classroom. For the full source and issue tracker, see the GitHub repo.
Overview
Lunis is an offline learning server for schools with no reliable internet. You install it on one Windows or Ubuntu computer. That machine runs a web app, an AI tutor, and a translator, all locally. Students connect to it over Wi-Fi from tablets, phones, or laptops and open it in a browser — nothing is installed on their devices, and nothing needs an internet connection once the server is set up.
Lunis is built to be given away. It's for schools and learning centres that can't pay for software, running on older computers they already have.
Features
14 features across four areas. Everything below ships in the base install — nothing is a paid add-on.
| Feature | What it does |
|---|---|
| Reading Hub | 85 illustrated books, levelled kindergarten to grade 4, each with a comprehension quiz. |
| Homework Helper | A chat tutor that answers in plain language, powered by a language model on the server. |
| Video lessons | 127 captioned math lessons for grades K–8. |
| Ask about this lesson | A question box on each lesson that answers from that lesson's own transcript. |
| Feature | What it does |
|---|---|
| Lesson quizzes | A short quiz attached to each video lesson. |
| Unit tests | Longer tests covering a whole topic. |
| Teacher tests | Teachers write their own tests, assign them, and see results. |
| Feature | What it does |
|---|---|
| Teacher dashboard | Class overview, per-student progress, and test results. |
| Activity history | A calendar view of what each student did and when. |
| Classes & join codes | Students join with a short code; teachers approve or reject requests. |
| Feature | What it does |
|---|---|
| Achievements | Badges for finishing books, lessons, and quizzes. |
| Read aloud | Text on screen can be spoken for early readers. |
| Four languages | English, French, German, and Spanish — interface, books, and tutor. |
| Accounts & progress | Each student has a login; progress is stored on the server. |
Device tiers
Everything except the AI tutor is fast on any machine, since it's just files sent over a local network. The tutor is what decides which tier a device needs.
| Low | Medium | High | |
|---|---|---|---|
| CPU | 2 cores, no AVX2 | 4 cores, AVX2 | 8+ cores |
| RAM | 4 GB | 8 GB | 16 GB |
| Free storage | 4 GB | 8 GB | 8 GB |
| First answer after boot | ~2 min | ~2 min | <1 min |
| Simple question | 30–60s | ~30s | <10s |
| Comfortable class size | 3–5 | 5–10 | 15+ |
Requirements & install
- One computer to be the server: a laptop or PC running Windows 10 or 11, or Ubuntu. 8 GB of memory is comfortable; 4 GB works.
- Internet during the install only — about 2.5 GB to download. After that, none.
Student devices need nothing but a web browser. Any phone, tablet, Chromebook, or laptop works.
Plug the computer in and leave 30 to 60 minutes. Most of that is downloading the AI model, the translator, and the video lessons. Both installers are on the latest GitHub release.
Windows
- Download LunisSetup.exe.
- Double-click it. If Windows says “Windows protected your PC,” click More info, then Run anyway.
- Click Next through the setup. When Windows asks for permission, click Yes.
- The last page shows the Wi-Fi name, the password, and the address. Write them on the board.
Ubuntu
- Download lunis-installer-ubuntu.run.
- Open Terminal and type the command below.
- Type your password when it asks.
- At the end it shows the Wi-Fi name, the password, and the address. Write them on the board.
bash ~/Downloads/lunis-installer-ubuntu.run
That's all. Lunis starts by itself every time the computer is turned on.
First run
Connecting student devices
The server makes its own Wi-Fi, so no router and no internet are needed.
- On the student's device, join the Wi-Fi the installer showed (Lunis, unless you chose another name) with its password.
- If the phone warns that the network has no internet, choose Stay connected.
- Open the browser and go to the address:
http://lunis.lanon an Ubuntu server, orhttp://192.168.137.1:8090on a Windows server.
A Windows server takes up to 8 devices at once. For more, or if the computer has no Wi-Fi, use any Wi-Fi router (it needs no internet) and open http://<server-ip>:8090.
For students
Signing in
A student picks “I'm a Student,” then signs in or creates an account. To join a class they enter the join code the teacher gave them; the teacher approves the request from the dashboard.
Reading Hub
A student picks a level, then a book cover. Each book opens one spread at a time, picture and text together, with a read-aloud button for readers still learning to decode. A short quiz at the end marks the book complete and counts toward a badge.
Homework Helper
The student picks a subject and grade by tapping a card, then types a question in their own words. The conversation stays on screen, so a follow-up doesn't mean repeating yourself. On the reference machine, a simple question takes about 30 seconds to answer.
Video lessons
Browsed by grade, then topic. Each lesson plays with captions; a question box underneath answers using that lesson's own transcript. A short quiz follows the video.
Tests & achievements
Tests a teacher has assigned appear on the student's home screen and are marked as soon as they're submitted. Badges are earned for finishing books, lessons, and quizzes.
Changing language
The language selector switches the whole interface, the books, and the tutor. A student's choice is remembered.
For teachers
The dashboard
The dashboard has three sections: Overview, Progress, and Tests.
Classes and students
Create a class and it's given a join code. Students who enter it appear as pending requests for you to approve or reject. You can also add a student directly, set their grade, remove a student, or regenerate the join code.
Progress
Shows each student and what they've completed — lessons watched, books finished, quiz scores. Activity history is a calendar, so you can see which days a student worked and open any day to see exactly what they did.
Tests
Build a test by writing questions and answers, then assign it to specific students. Results come back as students submit.
Settings
Covers the teacher password and how long student records are kept before being cleared.
Content & licensing
The educational content comes from three outside sources, all of which allow redistribution.
| Source | Titles | License |
|---|---|---|
| African Storybook Project, via Global ASP | 30 | CC BY 4.0 |
| Pratham Books / StoryWeaver, via Global ASP | 25 | CC BY 4.0 |
| Project Gutenberg | 30 | Public domain |
The 127 video lessons are math content for grades K–8 from Khan Academy, licensed CC BY-NC-SA 4.0 — shareable and adaptable with credit, but never sold or relicensed. Quizzes, lesson notes, and unit tests are original, written to accompany the lessons they follow. French, German, and Spanish text is produced by LibreTranslate running on the server.
The Lunis code itself is MIT-licensed. Full details for every source are in the repo's NOTICE.md.
Troubleshooting
free -g on the server — if very little is free, the model is being swapped in and out of RAM.hostname -I to confirm the address, and check a firewall isn't blocking port 8090. Some networks stop devices from talking to each other — running the server as its own hotspot avoids that.nmcli connection show --active and look for Lunis-Hotspot. On Windows, py server\lunis_service.py hotspot shows the state and any error. Some Wi-Fi cards can't run a hotspot at all — use a router instead.systemctl --user status lunis-translate.python3 scripts/fetch_content.py --download.