explaingit

sebastiancarlos/hacker-fables

Analysis updated 2026-05-18

8HTMLAudience · developerComplexity · 3/5Setup · hard

TLDR

A satirical cyberpunk novella paired with a custom pipeline that compiles one markdown file into a book, audiobook, video, and even a man page.

Mindmap

mindmap
  root((hacker-fables))
    What it does
      Satirical novella
      Markdown publishing pipeline
      Multi-format output
    Tech stack
      Python
      Pandoc
      Docker
      Playwright
    Use cases
      Read the novella
      Study the pipeline
      Adapt for own writing
    Audience
      Developers
      Writers
    Outputs
      HTML and EPUB
      Audiobook MP3
      Man page and Info

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Read the novella online in HTML, EPUB, PDF, audiobook, or even man page form.

USE CASE 2

Study a working example of a single-source markdown publishing pipeline.

USE CASE 3

Adapt the pipeline to compile your own writing into multiple formats with synced audio.

What is it built with?

PythonPandocDockerPiper TTSPlaywrightffmpeg

How does it compare?

sebastiancarlos/hacker-fablescvlab-kaist/cats-plusplus-project-pageshihanqu/video-pause-remover
Stars888
LanguageHTMLHTMLHTML
Last pushed2022-10-20
MaintenanceDormant
Setup difficultyhardeasymoderate
Complexity3/51/53/5
Audiencedeveloperdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · hard Time to first run · 1h+

Full audio and video builds need a working Piper TTS install, Playwright with Chromium, and ffmpeg on your system.

The publishing pipeline code is free to use under MIT, but the novella's text and all its compiled versions are fully copyrighted and not open for reuse.

In plain English

Hacker Fables is a satirical cyberpunk novella, and this repository is both the text of that story and the custom publishing system built to produce it in many formats. If you just want to read the book, the README points you to a hosted website where you can read it online with a synchronized audiobook player, or download it as an EPUB, PDF, MP3 audiobook, MP4 audiobook video, and even as a Unix man page or GNU Info manual, both of which can be read straight from the terminal. What makes this repository interesting from a technical side is the pipeline that turns one single markdown source file into all of those different formats. The pipeline uses Pandoc with custom Lua filters to manipulate the document's structure rather than relying on fragile text replacement, then converts that into an EPUB using a separate library, and produces an automated audiobook by stripping out visual-only content, running the text through a text to speech engine inside Docker, and mapping the generated audio timing back onto the text so the web reader can highlight words as they are spoken. It even generates a video version of the audiobook by taking screenshots of the highlighted text and stitching them together with an audio and video processing tool. The pipeline itself has its own automated test suite. To compile the book yourself, you need Pandoc and a few other command line tools installed, along with Python managed through a tool called uv. A single build script then produces the core outputs, with separate flags to generate the narrated audio version and the video version, each of which needs its own additional setup such as a text to speech installation or a browser automation tool. The license is split: the publishing pipeline code is released under the MIT License, but the actual text of the novella and all of its compiled versions remain fully copyrighted by the author.

Copy-paste prompts

Prompt 1
Help me set up the dependencies to build this project's publishing pipeline myself.
Prompt 2
Explain how the single markdown source file gets turned into eight different output formats.
Prompt 3
Walk me through how the automated audiobook generation and word-highlighting sync works.
Prompt 4
Show me how to read this novella as a Unix man page from the command line.

Frequently asked questions

What is hacker-fables?

A satirical cyberpunk novella paired with a custom pipeline that compiles one markdown file into a book, audiobook, video, and even a man page.

What language is hacker-fables written in?

Mainly HTML. The stack also includes Python, Pandoc, Docker.

What license does hacker-fables use?

The publishing pipeline code is free to use under MIT, but the novella's text and all its compiled versions are fully copyrighted and not open for reuse.

How hard is hacker-fables to set up?

Setup difficulty is rated hard, with roughly 1h+ to a first successful run.

Who is hacker-fables for?

Mainly developer.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.