A Python script that converts any README.md into a themeable HTML slide presentation. Zero dependencies. Python standard library only. One file does everything.
# Clone the repo git clone https://github.com/Jjohnston70/presentation-generator.git cd presentation-generator # Generate presentation from your README python generate_presentation.py README.md presentation.html # Open in browser open presentation.html # or xdg-open on Linux
Extracts title, features, tech stack, installation steps, and sections automatically. Standard README structure becomes structured slides.
One file output. No build step. Opens in any browser. Works offline. Self-contained with all CSS and JS inline.
Mix and match backgrounds (11), accent colors (11), card styles (8), and font colors (8). Theme panel built-in. Preferences save to localStorage.
Keyboard navigation (arrows, space, ESC). Touch/swipe for mobile. No CDN dependencies. No accounts. No internet required to present.
| File | Purpose |
|---|---|
| generate_presentation.py | The generator script (1700 lines, zero dependencies) |
| README.md | Usage documentation and tradeoffs |
| ARCHITECTURE.md | How the code works and where to modify |
| FAILURES.md | What breaks and why (debug guide) |
| examples/ | Sample README and generated output |
This is meant to be modified. Common customizations:
get_template_head(), add an image:rootrender_slide() conditionsparse_readme()