Skip to content

bxavaby/desassossego

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Desassossego is a minimal TUI designed to immerse readers in the fragmented world of O Livro do Desassossego (The Book of Disquiet).


Demo

Desassossego Demo
⊹ check out the suaveness ⊹


Features

  • 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.

Installation

  • Make sure Go is installed on your machine.
  1. Clone repo:
    git clone https://github.com/bxavaby/desassossego.git
    cd desassossego
  2. 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
    	)
  3. Build it:
    go build -o desassossego
  4. Move the binary:
    sudo mv desassossego /usr/local/bin/
  5. Run it:
    desassossego

Future Plans

  • 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.

About

"The Book of Disquiet", all 433 fragments of it (in Portuguese), a cli reader

Topics

Resources

License

Stars

Watchers

Forks

Languages