My course "engine" and MDs
  • M4 45.3%
  • CSS 26.2%
  • HTML 12.2%
  • Shell 8.7%
  • Makefile 7.6%
Find a file
2026-03-24 12:03:15 +08:00
content/ru add geopolitics-2013 course 2026-03-24 11:59:09 +08:00
prompt-generation add LLM prompt generation 2026-03-24 11:52:07 +08:00
.gitignore Remove build folder from repository 2026-03-24 12:03:15 +08:00
macros.m4 Initial test commit 2026-03-23 15:07:26 +08:00
Makefile Initial test commit 2026-03-23 15:07:26 +08:00
README.md Initial test commit 2026-03-23 15:07:26 +08:00
style.css Initial test commit 2026-03-23 15:07:26 +08:00
template.html Initial test commit 2026-03-23 15:07:26 +08:00

Vibe coded "suckless***" course engine

Prerequisites — m4, make and pandoc

Philosophy

Principle What it means here
Plaintext source of truth Every lesson is a .md file
Preprocessor kills boilerplate m4 macros generate front-matter, embeds, quizzes
One tool per job m4 preprocesses, pandoc compiles, make orchestrates, caddy serves
No runtime JS required Quizzes use progressive enhancement (work without JS, better with it)
Split data from markup HTML in courses/files/, media in courses/data/
Source stays local .md files never touch the server — only compiled HTML gets deployed
Multilingual by structure /en/, /de/, etc. — mirrored directory trees, shared media