Skip to content

RELATE

Self-hosted courseware with Markdown and YAML content, git versioning and graded code

Permissive (OSI) · MIT
  • Self-hosted

Listed by , founder & editor

60

Health

Active

Overview

Stars

438

Last commit

4 days ago

Nov 2026

Repository age

12 years

since May 2014

Latest version

–

Contributors

–

2 active in 90 days

Releases

0

last 12 months

Language

Python

RELATE is a web-based courseware system built with Python and Django. Instructors write course content in YAML and Markdown, so material is plain text and reusable across courses.

Content is versioned through git. An instructor can preview new material while students keep working with the earlier version, all in one instance. A single installation can host multiple courses, and rules for participation, access and grading are configurable.

Code questions let students type code into a text box with syntax highlighting. It runs in a sandbox, supports plotting, and grades automatically, with optional second-stage grading by a human. You also get a class calendar, a grade book, statistics on student answers, live in-class quizzes and instant messaging over XMPP.

RELATE is MIT licensed and self-hosted. It is published on PyPI as relate-courseware and has an installation guide in its documentation. It suits teams who want a learning management system built around text files and git.

Who it's for

University instructors teaching programming

Sandboxed code questions with automatic grading and optional human review fit programming homework.

Skip if: Your course needs SCORM packages or a large plugin ecosystem.

Teachers who keep course material in git

Content is YAML and Markdown versioned in git, with preview alongside the live version.

Skip if: Your instructors prefer a visual editor over text files.

Departments hosting several courses

One installation serves multiple courses with a shared grade book and calendar.

Skip if: You do not want to run and maintain a Django server.

The problem it solves

Running quizzes, homework and grading across a course usually means a hosted learning platform with limited control over content. RELATE keeps content in text files under git and lets you host it yourself.

Strengths

  • Course content in YAML and Markdown with git versioning
  • Sandboxed code questions with automatic grading
  • Multiple courses on one installation
  • MIT license
  • Includes grade book, calendar and answer statistics

Trade-offs

  • Authoring is text-based, which suits technical instructors more
  • You must host and maintain the Django app yourself
  • Small contributor base, with 2 contributors in the last 90 days
  • No releases in the last year

Self-host RELATE

Self-hostable
Yes

Frequently asked questions

Is RELATE free?

Yes. It is released under the MIT license.

Can I self-host it?

Yes. It is a self-hosted Django application and the documentation has an installation guide.

What formats are used for content?

Course content is written in YAML and Markdown.

Does it grade code?

Yes. Student code runs in a sandbox and is graded automatically, with optional human second-stage grading.

Similar tools in Learning management systems

classroom50

Learning management systems

Tool for teachers to hand out and auto-grade programming assignments on GitHub

240 41 8 days ago Thriving GPL-3.0

Sugarizer

Learning management systems

231 583 4 months ago Slowing Apache-2.0

ai-tutor

Learning management systems

Self-hosted AI tutor that builds quoted chapter quizzes from your notes and PDFs

203 5 8 days ago Slowing MIT

cohort-harbor

Learning management systems

194 1 3 months ago Dormant MIT

mentingo

Learning management systems

112 35 today Active MIT