Desassossego is a minimal TUI designed to immerse readers in the fragmented world of O Livro do Desassossego (The Book of Disquiet).
- Fragment Navigation: Enter a fragment number (1-433) to read any part of the book.
- Keyboard Shortcuts:
n: Next fragment.p: Previous fragment.b: Back to fragment picker.q: Quit program.
- Local JSON Storage: The fragments are stored in
frags/ldd.json, for quick access.
- Make sure Go is installed on your machine.
- Clone repo:
git clone https://github.com/bxavaby/desassossego.git cd desassossego - Edit the absolute path to ldd.json in senon.go if you plan to run the program from a different directory:
fragments, err := ui.LoadFragments( "frags/ldd.json", // relative "~/frags/ldd.json", // replace with your absolute path )
- Build it:
go build -o desassossego
- Move the binary:
sudo mv desassossego /usr/local/bin/
- Run it:
desassossego
- SSH book server: Transform "Desassossego" into an SSH-accessible book server.
- Expand catalogue: Use it as a template for other suitable books.
Inspired by O Livro do Desassossego (The Book of Disquiet), Fernando Pessoa. This project is licensed under the MIT License.
