Skip to content

About

Desktop app for Windows and Linux that turns any subject into a full, scheduled, graded course, built and marked by Claude Code or any AI you choose

Topics

Resources

Contributing

Stars

119 stars

Watchers

1 watching

Forks

Repository files navigation

SelfSemester logo

SelfSemester

A desktop app for Windows and Linux that turns any subject into a full university-style course: lessons, homework, quizzes, assignments and exams, released on a schedule with hard deadlines and real marks.

You name a subject. Claude asks a few questions about your goals and level, plans a syllabus, and tells you how well it can teach and mark that subject before you commit. Once you approve, it writes the whole course up front, with proper maths, exact graphs and original diagrams where the subject needs them. After that the app runs the course on its own: it releases material day by day, enforces deadlines, auto-marks quizzes, and sends written work and photos of handwritten working back to Claude for marking against a rubric. Final marks go on a transcript.

You can also write a course yourself in the course builder, with no Claude at all, and run it the same way. And if you'd rather not use Claude Code, or only want it for some of the work, you can use any other AI service: a cloud API, a model running on your own computer, or a command-line program. You pick who does each job, and the app tells you up front how well that setup can build a course.

Version 1.0.1. It works end to end and is ready for everyday use, but it's still a young project with little real-world mileage. If something breaks, please open an issue.

The Today page in a SelfSemester window

What it does

  • Courses written for you, planned around your goals, with a readiness report before anything is built
  • Lessons with figures: maths in LaTeX, graphs the app draws exactly from the equations, and original diagrams with numbered captions and credits
  • Lessons you can hear: language, music and other courses where sound matters play every word, tone, phrase or chord right where it's taught, using free recordings by native speakers from Wikimedia Commons, with the computer's own voice or synthesised notes when no recording exists
  • Figures you can try: sliders, small simulations and self-checking drills inside the lesson, each sealed off from the internet, your files and the rest of the app
  • Tools you choose: geometry, sheet music, 3D molecules, world maps and a Python playground that runs real code in the lesson, picked after installing or in Settings; a course that needs something more asks first
  • Built to a set of standards: add a curriculum framework or exam specification to a course's materials and the plan lists every standard word for word, each unit is written and checked against its own, and the syllabus shows which unit teaches each one
  • Write your own course from documents you already have: attach PDFs, Word files or slides to any lesson or piece of work, start with just one lesson, and add weeks, quizzes and exams while the course runs
  • A classroom for every course: home, weekly modules, syllabus, gradebook and your own materials
  • Real deadlines and marking: quizzes marked instantly, written and handwritten work marked against a rubric, and a review thread to ask why
  • Insights: streaks, study time against a daily goal, an activity calendar and mark trends
  • Your look: light, dark or system, nine themes, any accent colour, and effects you can turn down
  • Fits any window: panels rearrange as you resize
  • Private: everything stays on your computer; the only thing that goes online is your own Claude Code (or the AI service you chose instead)
  • Your choice of AI: Claude Code with your subscription by default, or any other service for any of the jobs: OpenAI-style, Responses, Anthropic, Gemini and Ollama APIs, a request you write yourself, or a program on your computer, with a plain report on what works and what doesn't before you build anything
A calculus lesson with secant and tangent lines plotted A statistics lesson with shaded areas under the normal curve A marked result with a score ring and rubric bars
Calculus lesson with a plot Statistics lesson with shaded areas A marked result

More pictures, and what each screen does: docs/SCREENSHOTS.md, including example lessons written by the app and all the themes.

What's new

Version 1.0.1 fixes f-strings in the Python playground, says plainly when Claude Code isn't signed in, and keeps your own course materials working when your data moves to another folder or computer. Version 1.0.0 lets you use any AI service for any part of the work. Save as many services as you like, of any kind: OpenAI-style, OpenAI Responses, Anthropic, Gemini or Ollama APIs, a fully custom HTTP request, or a program on your computer. Then choose who plans, who writes and marks, who runs quick checks and who does web research. Every request setting is yours to change: the key's header or query parameter, extra headers, extra query parameters, extra body fields, the output limit, the context size and the timeout. Version 0.9.0 lets you build courses with another AI service instead of Claude Code: anything with an OpenAI-style API, including Ollama or LM Studio on your own computer. Settings shows how well the service can build a course, part by part, and a Check button tries it for real. Claude Code is still the default and still the most capable way to run the app. Version 0.8.1 runs on Linux as well as Windows: each release now has a .deb, an .rpm, an AppImage and a plain executable next to the Windows installer. Version 0.8.0 builds a course one week at a time, so you can pause whenever you like (after the current step, so nothing is wasted), see what carrying on will use of your Claude plan before you continue, or end building early and start the course with the weeks that are ready. It also builds courses to a set of standards you supply (a curriculum framework, an exam specification), adds a Python playground to lessons, and lets Maximum builds look facts up online. Version 0.7.1 lets you build a course your way: choose the models and effort, which kinds of graded work to keep (or lessons only), how detailed lessons are, and pause building at any point. Version 0.7.0 makes lessons something you can hear and try: language and music lessons play every word, tone and chord, lessons can have interactive figures, and you choose the tools for what you study (geometry, sheet music, 3D molecules, world maps), with a course asking before it installs anything else. Version 0.6.0 lets you build a course from your own documents. Version 0.5.0 added figures in lessons, themes, an Insights page, clearer feedback and layouts that fit any window. The full list is in CHANGELOG.md, and what's planned is in ROADMAP.md.

Requirements

What Details
Windows 10 or 11, 64-bit Uses Microsoft Edge WebView2, which Windows 11 already has (the installer adds it on Windows 10 if needed).
Linux, 64-bit Ubuntu 22.04+, Debian 12+, Fedora 36+, Arch or openSUSE 15.5+, with WebKitGTK 4.1 and GTK 3.
Claude Code Installed and signed in with a Claude subscription (Pro or Max). SelfSemester runs your own copy of Claude Code; there's no API key to enter.
Or other AI services Optional, instead of Claude Code or alongside it: any AI API, or a command-line program that reads a prompt and prints an answer. See Using other AI services.
Internet Needed while a course is being built, while lesson sounds or tools are being downloaded, and whenever work is marked. Reading lessons and doing work happen offline.

To build from source instead of downloading the installer, you also need Node.js 22.17+ and Rust 1.85+. On Windows, install the Visual Studio C++ build tools; on Linux, install the WebKitGTK 4.1 and GTK 3 development packages (see Install).

Before you use it

  • Cost. SelfSemester itself is free. Signed in with a Claude subscription, Claude Code adds no extra charges. If Claude Code is signed in with an API key instead, every call is billed to that key; the Settings page tells you which one you're using. Another AI service bills you at its own rates, unless it runs on your own computer.
  • Usage limits. Building a course is heavy work: roughly one call per stage plus two per unit, with each unit taking a few minutes. A long course can use a large share of your plan's limits. When a limit is reached, the app pauses and tries again at the reset time Claude Code reports (or at least every hour). If your limit has reset sooner, press Resume now. A progress bar shows roughly how long building or marking has left, based on how long each step has taken before on your computer.
  • Build levels. When you approve a course you choose how it's built. Quick uses lighter models at low effort with no rewrites, Standard is the default, and Thorough and Maximum use stronger models, think harder, rewrite units that fail their check and look for more sources. Custom lets you set each part. The review step shows the number of calls, rough usage compared with Standard and the expected build time. You also choose what the course includes (which kinds of graded work, or lessons only) and how detailed the lessons are.
  • Pause building. A course that's being built can be paused at any point and continued later. A step that was running starts again from the beginning when you continue.
  • Keep the app open while a course is building. Building, releases, deadline checks and reminders only run while the window is open. Anything that fell due while it was closed is settled the next time you open it.
  • AI teaching and marking can be wrong. Before you enrol, each course shows a readiness report with honest estimates for every step; none is ever 100%. A second model checks each unit, but mistakes can still get through. Every mark shows its reasoning and the answer key, so you can check it.
  • Not a qualification. Transcripts record your own study. They aren't accredited and shouldn't be presented as if they were.
  • Sealed files keep honest people honest. Answer keys and unreleased exams are encrypted on disk, but the key is on the same computer. It stops accidental peeking, not someone set on cheating on their own course.
  • Sources and pictures. Claude prefers free and openly licensed material (OpenStax, MIT OpenCourseWare, LibreTexts, official docs) and marks anything paid as "get this yourself". The app never bypasses paywalls. Lessons are written in Claude's own words and link to their sources. Figures are drawn for the lesson rather than copied, and anything adapted from an openly licensed source is credited in its caption. Lesson sounds are freely licensed recordings from Wikimedia Commons, credited with each lesson, or clearly marked computer voices. Keep generated courses for your own study.
  • Supported work types today: typed answers (Markdown and LaTeX), photo or PDF uploads, and auto-marked quizzes. Courses that would need audio, camera or code-running checks are planned without those parts for now.
  • Your own materials: each course page has a "Your materials" section where you can add reference files (PDFs, text, notes, code), images and typed notes. Claude reads them when it plans the course, writes each unit and marks your work, so add them before you approve a course if you want every unit to use them.

Using other AI services

Claude Code is the default, and it's the way everything else in this README works. You don't have to use it for everything, or at all. Open Settings, AI services, press Add a service, and pick where to start from. There are starting points for OpenAI, OpenRouter, the Anthropic API, Google Gemini, Azure OpenAI, Mistral, DeepSeek, Groq, xAI, Together AI, Ollama and LM Studio, plus two for anything else:

  • Any other HTTP API. Write the request body yourself, with placeholders such as {{model}}, {{prompt}} and {{messages}}, and say where the answer is in the reply (for example choices.0.message.content).
  • A program on this computer. Any command-line tool that reads a prompt on its input and prints an answer, such as ollama run {{model}} or llm -m {{model}}.

Each service speaks one of these kinds of API: OpenAI-style chat completions (which most services and local servers use), the OpenAI Responses API, Anthropic's Messages API, Google's Gemini API, Ollama's own API, a custom HTTP request or a command. Under More settings you can change everything about the request: which header the key goes in and what comes before it, or send it as a query parameter instead; extra headers; extra query parameters (Azure's api-version, say); extra body fields as JSON (temperature, reasoning settings, anything the page has no box for); the output limit; Ollama's context size; and how long a step may take.

Editing a service, with More settings open

Then, under Who does what, choose Claude Code or one of your services for each job, and a model if you want a different one from the service's usual:

Settings, AI services: Claude Code plans and researches, a model in LM Studio writes and checks, and the report for that mix

Job What it covers
Planning and exams The syllabus, exams and final-exam marking
Lessons, assignments and marking Writing the course and marking most work
Quick checks Checking each unit and short summaries
Web research The reading list, and research while writing on Thorough and Maximum builds

So you can, for example, keep Claude Code for planning and web research and let a model on your own computer write the lessons. How well this can build a course goes through each part of a build for the jobs as you've set them and says whether it works, works less well, or isn't available, and why. Press Check on a service and the app asks the model a small question (and shows it a tiny picture, if you said it can see images) to see whether it answers in the form the app needs. The New course page shows the same report while any job is on another service.

The New course page with the report for the services in use

What changes when a job isn't on Claude Code:

  • Web search happens only where the service does it itself: the OpenAI Responses, Anthropic and Gemini APIs have a search tool you can turn on. Otherwise the reading list comes from the model's memory, its links aren't checked, and Thorough and Maximum builds can't look things up while writing.
  • Files. Text files (notes, .txt, .md, .csv, code) are sent along with each request. Pictures go to models that can see them, and PDFs go to the Anthropic and Gemini APIs. Word files can't be opened, so paste what you need into a note.
  • Quality depends on the model. Large models make good courses. Small ones tend to lose track in long, structured steps, so expect rougher lessons and some failed steps. The report guesses a model's size from its name, which is rough; the Check button and a Quick build tell you more.
  • Local servers need room. Ollama and LM Studio often load a model with a small context window, and checking a unit sends the whole unit. Set the context to 32,000 tokens or more, or answers get cut off.

API keys are kept only on your computer, in ai.json in the app's data folder (not in the database, so they aren't copied into backups), and each is sent only to its own service. They're handed to curl on its input, never on the command line. Settings from 0.9.0 carry over: the one service you had becomes your first service, doing the same jobs as before. Courses you already have keep everything they were built with.

Privacy

Everything stays on your computer. The app has no server and no account system. Your Claude Code sends course prompts, your course materials, your submitted work and review questions to Anthropic to generate and mark courses, under your agreement with Anthropic. For any job you give to another AI service, the same things go to that service instead, under its terms. The only other thing the app contacts is Wikimedia Commons, to find and download recordings for lesson sounds: it sends the word, phrase or sound it's looking for and nothing about you. You can turn that off in Settings, Lesson sounds. When you install a tool, the app downloads its files from this project's GitHub releases; nothing about you is sent. SelfSemester never reads, stores or sends your Claude sign-in. Courses you write in the course builder never leave your computer, unless you ask Claude about one in review mode.

Folder Contents
%LOCALAPPDATA%\SelfSemester Database, course files, sealed answer keys, submissions, your course materials
Documents\SelfSemester\Course builder Courses you export from the course builder, to edit in a text editor
Documents\SelfSemester\Completed Archives of finished courses: summary, lesson notes, your work, feedback, reference list
Documents\SelfSemester\Backups Safety copies of your data, made before each update (the last 5 are kept)

On Linux these folders are ~/.local/share/SelfSemester and ~/Documents/SelfSemester.

Legal and responsible use

Read DISCLAIMER.md before using SelfSemester; the app also asks you to accept its key points the first time it opens. In short:

  • No warranty. It's free software provided as is. The authors aren't liable for any loss, including wrong marks, lost data or usage on your Claude account. You use it at your own risk.
  • Not professional advice. Courses Claude writes are AI-generated self-study material, and courses you write yourself are your own content. For medicine, law, finance, safety or any subject where a mistake could hurt someone, check everything with a qualified professional.
  • Personal study only. Don't publish or sell generated courses or downloaded sources. Follow each source's licence, and never use or change the app to get around paywalls, logins or site terms.
  • Your Claude account, your agreement. Claude Code runs under your own agreement with Anthropic, and your requests and submitted work are sent to Anthropic.
  • Academic integrity. If you're at a school or university, follow its rules on AI tools.
  • Back up your data. Everything lives on your computer, and nobody else can recover it. SelfSemester copies it to its Backups folder (Documents\SelfSemester\Backups on Windows, ~/Documents/SelfSemester/Backups on Linux) before each update, but keep your own copy somewhere else too.

Install

Download the installer (Windows, easiest)

  1. Go to the latest release and download SelfSemester_<version>_x64-setup.exe under Assets.
  2. Run it. It installs for your Windows account only, so it doesn't need administrator rights.
  3. The installer isn't code-signed, so Windows SmartScreen warns about an unknown publisher. Choose More info → Run anyway. To check the download first, run Get-FileHash .\SelfSemester_<version>_x64-setup.exe in PowerShell and compare it with the .sha256 file next to the installer on the release page.
  4. Open SelfSemester from the Start menu.

The installers are built by GitHub Actions straight from the tagged source code (see .github/workflows/release.yml), not on anyone's own computer.

Updating: download the newer installer and run it. It replaces only the program: your courses, materials, marks, transcript and course-builder drafts are kept, and the new version backs them up to Documents\SelfSemester\Backups before it first opens them. If your data ever goes missing, SelfSemester restores the newest backup by itself when it starts. Settings → Your data and backups shows the backups and has a Back up now button.

Uninstalling: use Settings → Apps → Installed apps in Windows. Your data in %LOCALAPPDATA%\SelfSemester and Documents\SelfSemester stays until you delete it yourself.

Download a Linux build

On the same release page, download SelfSemester-<version>-linux-x86_64.zip. It holds the .deb, .rpm and AppImage packages, a plain executable and checksums.

  1. Debian, Ubuntu or Linux Mint: sudo apt install ./SelfSemester_<version>_amd64.deb, then run selfsemester from your applications menu or a terminal.
  2. Fedora, RHEL, Rocky, Alma or openSUSE: sudo dnf install ./SelfSemester-<version>-1.x86_64.rpm, then run selfsemester. On openSUSE use sudo zypper install instead.
  3. Any distribution (AppImage): make it executable with chmod +x SelfSemester_<version>_amd64.AppImage, then run it. AppImages need FUSE 2; if your distribution only has FUSE 3, install libfuse2 (libfuse2t64 on Ubuntu 24.04 and later) or run it with --appimage-extract-and-run.
  4. Plain executable: make it executable with chmod +x SelfSemester, then run ./SelfSemester. It uses the WebKitGTK 4.1 and GTK 3 already on your computer.

The .deb and .rpm add a desktop-menu entry; the AppImage and plain executable don't. To check a download, unzip the .sha256.zip next to it and run sha256sum -c SHA256SUMS.txt. Updating means installing the newer package or replacing the AppImage; your data stays in ~/.local/share/SelfSemester and ~/Documents/SelfSemester.

If the window stays blank on a computer with NVIDIA graphics, start the app with WEBKIT_DISABLE_DMABUF_RENDERER=1 (or, with an older WebKitGTK, WEBKIT_DISABLE_COMPOSITING_MODE=1).

Or build it yourself

You need Node.js 22.17+ and Rust 1.85+. On Windows, also install the Visual Studio C++ build tools.

git clone https://github.com/munitkala/selfsemester.git
cd selfsemester
npm install
npm run tauri build -- --bundles nsis

The installer is written to src-tauri\target\release\bundle\nsis\. Run it the same way as above.

On Linux, install the development packages first (the full list is in .github/workflows/rust.yml):

sudo apt install build-essential libwebkit2gtk-4.1-dev libgtk-3-dev libsoup-3.0-dev \
  libjavascriptcoregtk-4.1-dev librsvg2-dev libssl-dev libayatana-appindicator3-dev
git clone https://github.com/munitkala/selfsemester.git
cd selfsemester
npm install
npm run tauri build -- --bundles deb,rpm,appimage

The packages are written to src-tauri/target/release/bundle/.

Then connect Claude Code

Courses you write yourself in the course builder work without this. For courses Claude writes and marks, install Claude Code, open a terminal, run claude and sign in with your Claude account. Then in SelfSemester open Settings and press Run test.

Development

The same commands work in a terminal on Linux, after installing the development packages listed under Or build it yourself.

npm install
npm run tauri dev          # run the app with hot reload
npm run check              # type-check the interface
cd src-tauri
cargo test                 # unit tests, including a simulated course from intake to transcript

A demo installer with a finished course in it: build the course in a separate copy of the app (set SELFSEMESTER_HOME to an empty folder), then copy it out and bundle it:

cd src-tauri
$env:SS_DEMO_HOME = "<that folder>"; $env:SS_DEMO_COURSE = "<course id>"; $env:SS_DEMO_OUT = "demo"
cargo test --lib -- --ignored make_demo
cd ..
npm run tauri build -- --bundles nsis --config src-tauri/tauri.demo.conf.json

The copy leaves out build logs, settings and anything submitted or marked. On a computer with no SelfSemester data, the demo opens the whole course at once, starting the day it's installed.

Three tests call the real Claude Code and use plan usage, so they're skipped unless asked for: cargo test -- --ignored live_haiku (one tiny call), cargo test --lib -- --ignored live_compile --nocapture (every build stage on a one-week course, about five minutes) and SS_SAMPLE=physics cargo test --lib -- --ignored live_sample_unit --nocapture (one example lesson, written and checked the way a real course is; these made the examples in docs/SCREENSHOTS.md).

To try another AI service instead, set SELFSEMESTER_TEST_ENDPOINT (for example http://localhost:1234/v1), SELFSEMESTER_TEST_MODEL and, if it needs one, SELFSEMESTER_TEST_KEY. Then cargo test -- --ignored live_endpoint --nocapture runs the same check as the Settings button, and live_compile runs every build stage through that service. Add SELFSEMESTER_TEST_IMAGES=1 to check pictures too, and SELFSEMESTER_TEST_API (openai_responses, anthropic, gemini or ollama) for a kind of API other than OpenAI-style chat.

Two environment variables help when testing without touching real courses:

Variable Effect
SELFSEMESTER_HOME=<folder> Keep all data (database, courses, archives) under that folder instead of AppData and Documents
SELFSEMESTER_NO_CLAUDE=1 Never start Claude jobs; queued work just waits (useful for demos and UI work)

The pictures in docs/SCREENSHOTS.md are the app's interface with made-up demo data, plus the example lessons above.

How it fits together

src/                      SvelteKit interface (Today, Courses, Insights, course and item pages, builder, Transcript, Settings)
  lib/markdown.ts         lessons: Markdown, LaTeX maths (KaTeX) and figures
  lib/figures.ts          plots drawn from the maths, and cleaned SVG diagrams, with numbered captions
  lib/audio.ts            play buttons for lesson sounds
  lib/widgets.ts          interactive figures: fills each slot with a sandboxed frame
  lib/ToolList.svelte     Settings, Tools; lib/ToolSetup.svelte is the first-run picker
  lib/prefs.svelte.ts     themes and display settings
src-tauri/src/
  claude/                 runs `claude -p` with a JSON schema, reads the result, spots usage limits
  course/
    prompts.rs            the prompt and JSON schema for each stage
    pipeline.rs           intake -> plan -> sources -> units -> check -> schedule
    schedule.rs           release dates, deadlines, late policy, Structured and Sandbox rules
    marking.rs            submissions, auto-marking, instant feedback, self-marking, grades, transcript, archive
    materials.rs          your own reference files, images and notes for a course
    review.rs             review mode: talking a marked item through with Claude
    builder.rs            the course builder: drafts, publishing, folder export and import
    seal.rs               encrypted answer keys and exams
    audio.rs              lesson sounds: free recordings from Wikimedia Commons, computer voices, synthesised notes
  widget.rs               serves interactive figures from their own address with a no-network policy
  tools.rs                optional tools: catalog, checked downloads, install and remove
tools/catalog.json        the tool list; scripts/pack-tools.mjs builds the files for a GitHub release
  db/                     SQLite schema, migrations, job queue
  worker.rs               background thread: runs one Claude job at a time and ticks the clock
                          (a second thread fills lesson sounds)
  backup.rs               backups before each update, and restoring if the data goes missing

Every call to Claude is a row in a job queue, so work survives crashes and usage limits. Each call runs in an empty folder with no tools (unless the stage needs web search or must read an upload or your course materials), no MCP servers and none of the user's Claude Code settings, which keeps calls small and predictable.

Not built yet

  • Downloading and indexing sources locally (lessons currently cite their sources rather than quoting from them)
  • Tray icon and start with Windows, so reminders arrive with the window closed
  • Code-running checks (e.g. Godot), audio marking (e.g. piano) and camera capture
  • Re-mark requests, a spaced-repetition review deck, and PDF archives (archives are Markdown for now)

Contributing

Ideas, bug reports and fixes are welcome. CONTRIBUTING.md explains how to report something and how to run the app and its checks.

Licence

MIT. See LICENSE, DISCLAIMER.md for the terms of use, and THIRD_PARTY.md for the libraries the app uses.

SelfSemester is an independent project. It isn't made by, affiliated with or endorsed by Anthropic. Claude and Claude Code are trademarks of Anthropic.

About this project

Written by the SelfSemester authors with help from Claude.

About

Desktop app for Windows and Linux that turns any subject into a full, scheduled, graded course, built and marked by Claude Code or any AI you choose

Topics

Resources

Contributing

Stars

119 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages