learnhouse_logo

Build, extend, and self-host a complete learning platform. Open-source, API-first, and designed to be built upon.

dev

$ curl -fsSL learnhouse.to/install.sh | sh

// learnhouse api

Build your own learning platform.

The LearnHouse API gives you complete programmatic control over every resource — organizations, courses, users, and content — so you can create exactly the platform your community needs.

POST/api/v1/organizations

{

"name": "My Academy",

"slug": "my-academy",

"plan": "community"

}

201 Created38ms

REST API

Full REST API for every resource. Create organizations, manage courses, enroll users, and deliver content programmatically.

GET /api/v1/courses

POST /api/v1/courses

PATCH /api/v1/courses/:id

Courses & content

Create and manage courses, chapters, activities, and media assets programmatically. Build custom learning experiences on top.

GET /api/v1/users

POST /api/v1/enrollments

GET /api/v1/users/:id/courses

Users & enrollments

Manage users, roles, and course enrollments through the API. Automate onboarding and access control for your platform.

// cli

Self-host from your terminal.

Install the LearnHouse CLI, run the interactive setup wizard, and your instance is live on your own infrastructure.

zsh — learnhouse

$ curl -fsSL learnhouse.to/install.sh | sh

Installing LearnHouse CLI...

$ learnhouse setup

? Install directory /opt/learnhouse

? Domain my-platform.com

? Enable HTTPS yes

? Database local (Docker)

✓ docker-compose.yml and .env written

$ learnhouse start

Starting services...

✓ LearnHouse is running at https://my-platform.com

01

Install the CLI

Install the CLI globally with npm. The learnhouse command is immediately available in your terminal.

02

Run the setup wizard

learnhouse setup walks you through domain, database, admin account, and optional features in a guided interactive session.

03

Start LearnHouse

learnhouse start brings up all services via Docker Compose. Use learnhouse doctor to verify everything is healthy.

// licensing

Open source, built to last.

LearnHouse is committed to open-source. Choose the license that fits your use case — community or enterprise.

Community

AGPL v3

Free forever

The LearnHouse core platform, free for the community. AGPL v3 ensures the source stays open whenever you distribute or run it as a network service.

  • Full platform access
  • Self-host anywhere
  • Source always open
  • Community support
Enterprise

EE License

For organizations

Advanced capabilities for growing teams — SSO, audit logs, white-labeling, and priority support — under the LearnHouse Enterprise License.

  • SSO & advanced auth
  • Audit logs
  • White-labeling
  • Payments
  • Multi-tenancy
  • SCORM
  • Priority support

// stack

Built with modern tools.

A modern stack you already know. No exotic dependencies, no learning curve.

Next.js

Next.js

Frontend

React

React

UI

FastAPI

FastAPI

Backend

Python

Python

Language

PostgreSQL

PostgreSQL

Database

Redis

Redis

Cache

Docker

Docker

Deploy

Tinybird

Analytics

GitHubStart building

AGPL v3 · Free forever · EE License available