A toolkit to better handle goodread books.
- Random book pick
- Shelves reorg
I suggest using direnv, this would work with nix seamlessly.
cabal test
# hlint
hlint src test app
# fourmolu check
ormolu --mode check $(find . -name '*.hs')
# fourmolu format
ormolu --mode inplace $(find . -name '*.hs')
Build the application binaries
nix-build
After a successful build, you can use the application from the command line:
result/bin/better-reads-cli --help
The port will be set to 8123
by default, the environment variable PORT
overrides the default port.
PORT=8080 result/bin/better-reads-web --help