Python + Textual, unter tui/. Liest EPUBs aus einem Bibliotheksordner, zeigt Kapitel als Fließtext, j/k/Pfeiltasten zum Scrollen, n/p für Kapitelwechsel. Fortschritt wird lokal (progress.json via platformdirs) nach demselben "furthest wins"-Prinzip wie diora's Web-Reader gespeichert, damit ein Sync-Layer gegen die künftige diora-API später ohne Rewrite andocken kann. Vorerst rein lokal, kein Server-Kontakt, keine Verschlüsselung.
21 lines
495 B
TOML
21 lines
495 B
TOML
[project]
|
|
name = "diora-tui"
|
|
version = "0.1.0"
|
|
description = "Lokaler EPUB-Reader als Vorstufe eines diora-TUI-Clients; synct später Fortschritt über die diora-API."
|
|
requires-python = ">=3.9"
|
|
dependencies = [
|
|
"textual>=0.60",
|
|
"ebooklib>=0.18",
|
|
"beautifulsoup4>=4.12",
|
|
"platformdirs>=4.0",
|
|
]
|
|
|
|
[project.scripts]
|
|
diora-tui = "diora_tui.app:main"
|
|
|
|
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["diora_tui"]
|