all repos — bibel @ d229be0e52779e06632c53ce0a1115b2c2249c25

Unnamed repository; edit this file 'description' to name the repository.

d229be0e
refactor: correct README and if/else to max
Maxwell Jensen 85795372+maxwelljens@users.noreply.github.com
Thu, 16 Apr 2026 20:09:32 +0200
0be549fc
feat: add interactive TUI with bubbletea and lipgloss

- Add TUI framework using `bubbletea` v0.24.0 for interactive terminal
interface
  - New `internal/tui/model.go` with bubbletea model and lipgloss
styling
  - Styled output with rounded borders, adaptive colours (light/dark
terminal)
  - Show "Press q to quit..." message below verse box
- Add smart TTY detection in `cmd/bibel.go`
  - Launch interactive TUI when stdout is a terminal
  - Fall back to formatted ANSI output in non‑interactive environments
  - Preserve `-p/--plain` flag to output plain verse text only
- Update dependencies: add `bubbletea` and `lipgloss`, remove indirect
`go-toml`
- Revise `README.md` to document TUI features, controls, and multiple
output modes
- Update `CHANGELOG.md` with version 1.2.0 and detailed changes
- Clean up formatting and add missing newlines at EOF in several
internal files
Maxwell Jensen 85795372+maxwelljens@users.noreply.github.com
Thu, 16 Apr 2026 19:34:18 +0200
8c9758c2
feat: add argument parsing and plain output flag

- Add command-line argument parsing using `go-arg` library
  - Define `Args` struct with `Plain` flag (`-p/--plain`)
  - Implement `Description()` method for program help text
  - Parse arguments in `main()` before loading Bible data
- Add `-p/--plain` flag to output plain text without chapter name or
verse numbers
  - Conditionally skip header formatting when flag is set
- Update `.gitignore` to exclude `bibel` binary
- Remove obsolete `bibel_date` binary and `bookmark.toml` file
- Update `CHANGELOG.md` with version 1.1.0 entry documenting new
features
- Add `github.com/alexflint/go-arg` and `go-scalar` dependencies to
`go.mod` and `go.sum`
Maxwell Jensen 85795372+maxwelljens@users.noreply.github.com
Thu, 16 Apr 2026 17:08:38 +0200
9696757c
feat: replace bookmark-based progression with date-based daily verses

- Remove bookmark persistence system and TOML dependency
  - Delete `internal/bookmark.go` and all bookmark manager logic
  - Remove `github.com/pelletier/go-toml/v2` from `go.mod`
  - Delete `test/bookmark.toml` and `invalid_bookmark.toml`
- Add date-based progression (`internal/dateprogression.go`)
  - Calculate reading position from day of year (12 verses per day)
  - Wrap yearly through all four Gospels (3779 total verses)
  - Apply lookahead rule when fewer than 12 verses remain in chapter
- Update `cmd/bibel.go` to use `DateProgression` instead of
`BookmarkManager`
  - Display today's verses without reading or writing any bookmark file
  - Support test dates via `GOOSE_TEST_DATE` environment variable
- Revise `README.md` to document date-based algorithm and usage
- Add `CHANGELOG.md` with version 1.0.0 and complete migration notes
- Clean up `.gitignore` (remove editor/IDE and old_code.ml entries)
- Keep `old_code.ml` as reference for original OCaml implementation
Maxwell Jensen 85795372+maxwelljens@users.noreply.github.com
Thu, 16 Apr 2026 16:36:42 +0200
963a6d5d
First commit
Maxwell Jensen 85795372+maxwelljens@users.noreply.github.com
Thu, 16 Apr 2026 15:27:15 +0200