← Back to blog
·5 min readlaunch

Introducing TeachRepo: Turn Any GitHub Repo Into a Paywalled Course

We built TeachRepo because we were tired of fighting drag-and-drop UIs to sell technical courses. Today we're launching the tool we wished existed.

The Problem

If you're a developer who wants to sell a technical course, you have two bad options:

  • Platform lock-in: Teachable, Gumroad, Podia — they take 10–30% revenue cuts, force you into web editors, and have zero understanding of code.
  • Hand-roll everything: SSG + Stripe + auth + quizzes + versioning. A weekend project that takes three weeks and still has bugs.

Neither is acceptable for engineers who live in their editor and want to ship courses the same way they ship software.

What We Built

TeachRepo turns a GitHub repository — or any folder of Markdown files — into a fully-deployed, paywalled course site in minutes.

The workflow looks like this:

  1. Write lessons in Markdown with YAML frontmatter for metadata
  2. Add a course.yml file with pricing and structure
  3. Run teachrepo import --repo=github.com/you/your-course
  4. Deploy to Vercel in one click
  5. Share the URL — Stripe checkout is already wired up

Key Features

  • Markdown-native authoring — write in the same repo as your code
  • Stripe checkout built-in — zero configuration, just add your Stripe keys
  • Auto-graded quizzes via YAML frontmatter — no backend needed
  • Gated code sandboxes — StackBlitz/CodeSandbox embeds that unlock on purchase
  • Git-versioned by default — every push updates your course, with full version history
  • Built-in affiliate tracking — share ?ref= links with promoters

Pricing: Free Tier That Actually Means Free

The core is open-source and self-hostable. Deploy to your own Vercel account, keep 100% of revenue. No platform fee. No strings attached.

For creators who want a hosted option with marketplace listing, analytics, and zero ops, we offer a flat subscription at $19/mo with a 5% platform fee on sales.

Try It Today

We have two free sample courses live right now:

  • Git for Engineers — master the git workflows used at top engineering teams
  • GitHub Actions for Engineers — automate CI/CD pipelines

Both are completely free. No signup required for the first lesson.

Ready to publish your first course?