aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* config: add web_theme/web_port fieldsLukasz Kasprzak2026-07-233-0/+31
| | | | | | | | | | | | Add WebTheme (default: "transfiguration") and WebPort (default: 0) to Config for the upcoming lectio-web binary. WebTheme resolves theme names (built-in or user files) later in internal/web; WebPort 0 means auto-pick a free port. - Updated Config struct with new fields - Set defaults in Default() - Updated embedded seed config.toml with documentation - Added TDD tests: TestWebDefaults and TestWebLoadsFromSeed - Existing tests (TestLoadSeeds, TestLoadOverride) still pass
* Addendum B themes: religious orders + liturgical seasons, colour-only, ↵Łukasz2026-07-232-51/+109
| | | | | | | | | | | | user-extensible Replace dev-palette themes with original ascetic sets: religious orders (desert_fathers, benedictines, franciscans, memento_mori, camedules) and liturgical seasons (advent, nativity, lent, easter, pentecost, ordinary), plus transfiguration (default). Colour-only, no gimmicks (base.css owns all layout/type). Users can drop *.css in ~/.config/lectio/themes/; web_theme accepts any, serve-time fallback. docs/THEMES.md documents the role classes.
* tui: colored reader + version switchLukasz Kasprzak2026-07-236-3/+511
|
* Addendum B: expand to 10 named themes (add ↵Łukasz2026-07-232-9/+24
| | | | dracula/solarized/everforest/rosepine/onedark)
* liturgy: LoadOffline sets PartID (fix offline gospel-only)Lukasz Kasprzak2026-07-232-3/+15
|
* Addendum B themes: named palettes (transfiguration + ↵Łukasz2026-07-232-11/+37
| | | | catppuccin/tokyonight/gruvbox/nord), ascetic
* Spec+plan: Addendum B — lectio-web (HTMX UI, selectable themes)Łukasz2026-07-232-0/+118
| | | | | | | | | Third binary lectio-web: hledger-web-style local server, HTMX partial swaps, embedded templates/CSS/htmx (self-contained). Date/lectionary/ version/all controls + passage lookup, driving the shared readings+render core. Five embedded themes (light/dark/sepia/parchment/nord) switchable live, defaulted via config web_theme; web_port config. Builds after the CLI/TUI/README tasks.
* cli: subcommand dispatchLukasz Kasprzak2026-07-234-1/+556
|
* render: gather versions + compare + dedupLukasz Kasprzak2026-07-232-0/+303
|
* readings: lectionary router + part filteringLukasz Kasprzak2026-07-233-0/+179
|
* tradlit: missalemeum 1962 propers -> sectionsLukasz Kasprzak2026-07-233-0/+157
|
* config: TOML load + seedLukasz Kasprzak2026-07-235-0/+250
|
* liturgy: sigla harvest + offline loadLukasz Kasprzak2026-07-233-4/+233
|
* liturgy: fetch + HTML/JSON cacheLukasz Kasprzak2026-07-232-0/+186
|
* liturgy: Section type + HTML parse (fixtures)Lukasz Kasprzak2026-07-235-0/+5835
| | | | | | | | | | | | | | | | Ports parse_sections, html_to_lines, extract_reference from ewangelia.py. Parse(html) prefers the tabnowy0all lectionary tab (falls back to tabstary0all) and errors loudly if the tab is present-but-empty or absent. ExtractCitation(heading) pulls the parenthetical citation. Section gains a PartID field (Addendum A): set from the heading prefix (1. czytanie -> pierwsze_czytanie, a second same-day 1. czytanie -> drugie_czytanie, Psalm -> psalm, Aklamacja -> aklamacja, Ewangelia -> ewangelia; anything else -> ""). Adds testdata/2026-07-22.html (split-feast day, two 1. czytanie sections) and testdata/2026-06-22.html (normal day), copied from ~/.cache/daily-reading/.
* bible: Polish citation -> English ref (with psalm versification)Lukasz Kasprzak2026-07-232-0/+146
|
* bible: reference grammar + LookupLukasz Kasprzak2026-07-232-0/+109
|
* bible: embed corpora + chapter lookupLukasz Kasprzak2026-07-232-0/+90
|
* bible: canonical books + alias resolutionLukasz Kasprzak2026-07-232-0/+140
|
* psalter: port psalm versificationLukasz Kasprzak2026-07-232-0/+74
|
* chore: go mod tidy (brief step 4) — deps re-added when importedŁukasz2026-07-232-9/+0
|
* scaffold: module, mains, Makefile, embedded corporaLukasz Kasprzak2026-07-2312-0/+138492
|
* Spec+plan: traditional lectionary (missalemeum) + per-part configŁukasz2026-07-232-10/+236
| | | | | | | | | | | - config: lectionary=new|traditional, traditional_lang=pl|en, and commented-out [parts.new]/[parts.traditional] per-part toggles (parsed as a map: a part shows unless explicitly false). - traditional source: missalemeum API (en/pl only; no Latin) mapped to the shared []Section; scripture parts get the version-compare via their citation + embedded vul, prayers are vernacular-only. - new internal/tradlit package + Load router by lectionary; plan addendum A with the tradlit task and amendments to Section/config/Load/render/cli.
* Implementation plan: 14 TDD tasks for the lectio Go rewriteŁukasz2026-07-231-0/+1378
|
* Spec: add caching, sigla harvest + offline mode, offline configŁukasz2026-07-231-9/+82
| | | | | | | | | | - Two-layer cache (HTML + parsed JSON) for fast repeat same-day loads. - 'lectio update' harvests the site's published future sigla into a persistent TSV (~/.local/share/lectio/sigla.tsv). - Offline mode (config offline=true, --offline flag, or auto-fallback on network failure): reads from the harvest + embedded corpora, renders wuj/vul/grb/drb; pl is online-only so wuj takes the Polish role. - Config gains offline=false (seeded default).
* Design spec: lectio Go rewrite (CLI + colored TUI, self-contained)Łukasz2026-07-231-0/+269
Forked from the Python daily-reading tool. Two binaries (lectio, lectio-ui) over shared internal packages, modelled on bread-calc: Bubble Tea + Lipgloss TUI, go:embed for the four Bible corpora (self-contained, no external tools), subcommand CLI, TOML config, colored reader TUI, psalm versification ported as-is.