commit 777328c06dbfac641fcee93a4272a34f24a5b656 Author: agent Date: Thu Oct 29 23:14:18 2026 +0000 Initial commit: README Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01HA82gVRDXpoukzgMFumoJt diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..c2658d7 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +node_modules/ diff --git a/README.md b/README.md new file mode 100644 index 0000000..64b2038 --- /dev/null +++ b/README.md @@ -0,0 +1,26 @@ +# Divadelní čtečka (theater reader) + +A small web app for reading a play script during rehearsals. An actor can: + +- choose a **font** (typewriter, Atkinson Hyperlegible, Lexend, Literata or the system font), the text size and colours (light, sepia, dark), +- pick **their character**, which highlights their lines and lets them jump from one line to the next (▲ ▼, or `J` / `K` on a keyboard), +- switch between **running text** (hyphenation joined, spacing tidied) and the **original typescript lines**, +- open **reading mode** (settings hidden, large text), or +- **export a PDF** of their own copy, one page per page of the original. This goes through the print dialog, so choose "Save as PDF". + +A link like `http://localhost:3010/?postava=Lída` opens the app with that character already chosen, so a director can send each actor their own link. + +## Running it + +```sh +podman build -t theater-reader . +podman run -d --name theater-reader -p 127.0.0.1:3010:8080 theater-reader +``` + +Then open . The Dockerfile works with `docker` as well. + +## The play included + +`public/plays/hra.txt` is a transcription of a 1931 typescript, pages 5–27. Pages 1–4 (presumably the title page and cast list) and page 7 are missing from the original, and the text breaks off at the end of page 27. See `AGENTS.md` for the text format and how to add the missing pages. + +Fonts are self-hosted under the SIL Open Font License (see `public/fonts/OFL-*.txt`).