58 lines
1.2 KiB
Markdown
58 lines
1.2 KiB
Markdown
# next-book
|
|
|
|
Checks the users Storygraph "to read" list and shows the highest rated in various catergories.
|
|
|
|

|
|
|
|
Note: This is likely to break as currently there is no Storygraph API and this relies on HTML parsing.
|
|
|
|
## Features
|
|
|
|
* Uses the users cookie to authenticate
|
|
* Shows the top rated book from the users "To read" list grouped into the following categories:
|
|
* Fiction
|
|
* Non-Fiction
|
|
* Comics
|
|
* Art
|
|
* Business
|
|
* Fantasy
|
|
* Health
|
|
* Sci-Fi
|
|
* Technology
|
|
* The next 5 highest rated in each category can be displayed in a modal popup
|
|
* The listings are refreshed hourly
|
|
|
|
## Running
|
|
|
|
You must first get the cookie for your Storygraph user account and setting it as the `COOKIE` environment variable.
|
|
|
|
```sh
|
|
go run .
|
|
```
|
|
|
|
## Building from source
|
|
|
|
With Docker:
|
|
|
|
```sh
|
|
make docker-build
|
|
```
|
|
|
|
Standalone:
|
|
|
|
```sh
|
|
make build
|
|
```
|
|
|
|
## Contributing
|
|
|
|
If you find a bug or have an idea for a new feature please [raise an issue](issues/new) to discuss it.
|
|
|
|
Pull requests are welcomed but please try and follow similar code style as the rest of the project and ensure all tests and code checkers are passing.
|
|
|
|
Thank you 💛
|
|
|
|
## License
|
|
|
|
See [LICENSE](LICENSE)
|