# Open Lab

> A self-hosted learning platform that I built and run alone: courses, quizzes, spaced-repetition review and an AI assistant, in production on Proxmox.

- Type: Selected work by Maximilian Mitterbauer
- Stack: Next.js, TypeScript, SQLite, Python, CLIProxyAPI, Proxmox
- Source: private repository, walkthrough on request
- Page: https://www.mitmax.at/projects/open-lab/

The text below is quoted from the project page, where Maximilian Mitterbauer writes in the first person.

## What

A learning platform that only I use. I pick a course, watch the video, read the notes, run the lab in my own terminal, take a short quiz and write notes. Quiz questions and flashcards come back on a spaced-repetition schedule, and an assistant panel answers questions about the lesson.

## Why

I built it to keep everything in one place. Courses, reading and labs live in one app, and my progress and notes stay on my own server instead of someone else’s service.

## How

I built it alone, from design to operations. One Next.js app with a SQLite database runs in a Proxmox container behind Caddy. A small Python service imports courses. The assistant calls local AI backends from the server, never from the browser. Each release is tested on a spare port first and can be rolled back.

## Stack in detail

- App: Next.js, React, TypeScript, Tailwind CSS
- API: Next.js route handlers and server actions, in the same Node app
- Data: SQLite
- Ingestion: Python service with yt-dlp, its own SQLite database
- AI: CLIProxyAPI and opencode, called from the server only
- Hosting: Proxmox container, systemd, Caddy

## Screens

- [Home](https://www.mitmax.at/projects/open-lab/home.webp): The course you are on, what is due for review, your streak and your daily goal. Image: Open Lab home in dark mode: the current Docker course with a Continue lesson button, two Kubernetes course cards, and a Your study panel with minutes studied today, streak, courses in progress, 20 reviews due and an activity heatmap.
- [Assistant](https://www.mitmax.at/projects/open-lab/assistant.webp): Ask a question about the video you are watching. The lesson transcript is indexed, so the answer is retrieved from it and every claim carries a timestamp chip for the passage it used. Image: Two panels side by side. Left: lines of a Docker lesson transcript, each with a timestamp. Right: the question “According to this video, why does an app work on one machine but not on another?” and an answer listing three reasons, each followed by a timestamp chip, 0:27 or 0:49, that cites the transcript passage it came from.
- [Notebook](https://www.mitmax.at/projects/open-lab/notebook.webp): Sources are fetched web pages as well as pasted text. Answers cite the numbered source passages they used, and say so when the sources do not cover something. Experimental, dev instance only. Image: Open Lab notebook: on the left a list of sources, four of them web pages from the Docker documentation and two pasted text; on the right a chat where the question “How do two containers talk to each other in Compose?” is answered with numbered citation pills naming the source passages.
- [Review](https://www.mitmax.at/projects/open-lab/review.webp): A review session: one question at a time, four answers, scheduled with FSRS-6 spaced repetition. Image: Open Lab review session in dark mode: the question "Which Kubernetes object keeps N identical Pods running?" with four numbered answers.

Walkthrough on request: contact@mitmax.at. The repository is private. I am happy to walk through it.
