| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| |
|
|
|
|
|
| |
6 TDD tasks: sidecars+meta parser, user-dir discovery+override registry,
reading_lang/reading_version config+resolver, --corpus-check validator,
wire resolver into rendering + surface user corpora, scripts+Makefile.
Code verified against internal/ini ([]Section) and configPath() helper.
|
| |
|
|
|
|
|
| |
psalm_system becomes stored+validated metadata only; per-corpus psalm
numbering application is deferred to the future psalm-readings work (offline
lectionary has no psalm parts yet, so wiring now would be dead code). Testing
updated for reading_lang + the deferred psalter.
|
| |
|
|
|
|
| |
reading_lang (any language code) drives corpus auto-selection; empty follows
ui_language. Resolver: reading_version > reading_lang match > ui_language match
> Latin vul. traditional_lang dropped from selection entirely (scraper-only).
|
| |
|
|
|
|
|
|
|
| |
A corpus = <code>.tsv (6-col verse text) + <code>.ini (metadata) pair,
serving both compile-in (glob go:embed + Makefile validate/embed) and
runtime drop-in (~/.config/lectio/corpora/, overrides built-ins). Offline
reading selection becomes config-driven (reading_version > lang-auto > Latin
fallback); traditional_lang stays deprecated/scraper-only. Adds
lectio --corpus-check validator with a coverage report vs the Latin vul.
|
| | |
|
| |
|
|
|
|
|
|
| |
Form-aware single engine (sel.Form 'old' -> EF): shared Computus/merge/INI/
result + custom layers; new temporalEF (1962 seasons incl. Time after
Pentecost, Septuagesima, octaves), precedenceEF (1960 rubrics, I-IV class),
embedded 1962 sanctoral. Rank int enum -> unified string token. Validated vs
the missalemeum per-date API. EF day-identity now; propers later.
|
| | |
|
| |
|
|
|
|
|
|
| |
12 TDD tasks: internal/ini reader, calendar types+Computus, DateSpec,
temporal cycle, layer merge, Universal-Norms precedence, Compute, caldata
(embedded owned Roman calendar), TOML->INI config migration, regression
oracle vs calapi 2020-2040, 'lectio calendar' command, version bump.
Engine is pure stdlib; oracle is the correctness gate.
|
| |
|
|
|
|
|
|
|
| |
Offline, pure-Go, stdlib-only engine computing the Ordinary Form liturgical
day (season/rank/colour/observed + inline propers) from Computus + embedded
General Roman Calendar + Universal Norms precedence, replacing the scrape.
Locks the epic's formats (INI config + INI-section celebration records,
TSV corpora, JSON/iCal API) and six-layer architecture; 25-50yr longevity
mandate. Part of the self-contained-calendar epic.
|
| | |
|
| |
|
|
| |
drops pl + all=readings-only
|
| | |
|
| |
|
|
| |
top-bar 'mono')
|
| | |
|
| | |
|
| |
|
|
| |
monospace)
|
| |
|
|
| |
pentecost -> red/white/gold; darker franciscans
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Adds a display-layout option to lectio-web alongside the existing colour
themes:
- config: WebDisplay field (toml web_display), default "horizontal",
normalized on load via the new exported config.NormalizeDisplay
(unknown -> "horizontal", same lenient style as the other web_* fields).
- render: extracts the citation/ToEnglishRef resolution shared by
GatherVersion into an unexported resolveRef helper (GatherVersion's
signature/behavior unchanged) and adds GatherVerses(version, sec,
lectionary) returning raw bible.Verse structs plus a versified flag, for
column/interlinear alignment.
- web/render: RenderReadings gains a display parameter. "horizontal" is
the original stacked layout, byte-for-byte the same code path as
before. "vertical" reuses the same per-version column data in a
.display-vertical/.vcol grid (the CLI compare view, browser-side).
"interlinear" maps versions through render.OfflineVersions' pl->wuj
substitution (pl has no verse numbers), gathers GatherVerses per
version, and interleaves them by chapter:verse into .ilverse/.illine
blocks (ordered union of keys, first versified version's order first).
- server: adds a display <select> to the top bar wired into the existing
#controls HTMX form; a resolveQuery(cfg, r) helper replaces the
duplicated date/lectionary/all/versions(+now display) resolution in
indexHandler and readingsHandler.
- fold-in from the B2 review: indexHandler now populates indexData.Lookup
via a shared renderLookup(ref, versions) helper (also used by
lookupHandler), so a bookmarked "/?ref=...&v=..." link shows its
lookup result instead of an empty pane.
- base.css: layout-only rules for the two new modes (no colours; themes
stay colour-only).
go test ./..., go vet ./..., gofmt clean; go build ./cmd/lectio-web ok.
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
| |
dracula/solarized/everforest/rosepine/onedark)
|
| |
|
|
| |
catppuccin/tokyonight/gruvbox/nord), ascetic
|
| |
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
| |
- 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.
|
| | |
|
| |
|
|
|
|
|
|
|
|
| |
- 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).
|
|
|
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.
|