Skip to content

albertodvp/better-reads

Repository files navigation

better-reads

GitHub CI MIT license

A toolkit to better handle goodread books.

  • Random book pick
  • Shelves reorg

Development

I suggest using direnv, this would work with nix seamlessly.

Run tests

cabal test

Run checks

# hlint
hlint src test app

# fourmolu check
ormolu --mode check $(find . -name '*.hs')

# fourmolu format
ormolu --mode inplace $(find . -name '*.hs')

Run the applications

Build the application binaries

nix-build

Run the cli application

After a successful build, you can use the application from the command line:

result/bin/better-reads-cli --help

Run the web application

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

About

A toolkit to better handle goodread books

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published