Initial commit: README

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HA82gVRDXpoukzgMFumoJt
This commit is contained in:
agent 2026-10-29 23:14:18 +00:00
commit 777328c06d
2 changed files with 27 additions and 0 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
node_modules/

26
README.md Normal file
View file

@ -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 <http://localhost:3010>. 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`).