datasette-kindle-highlights imports Kindle highlights and notes from Bookcision into a SQLite database. This project also leverages Simon Wilson's datasette project to export the resulting database as a website.
Download the pre-built binary from the Github Releases page.
Or, install with cargo:
cargo install --branch main --git https://github.com/rphillips/datasette-kindle-highlights
Create the database from a directory of JSON files, exported from Bookcision,
under a data
directory:
kindle_highlights --directory=data
Run the docker image:
docker run -p 8001:8001 -v $PWD/highlights.db:/data/highlights.db rphillips/datasette-kindle-highlights
Browse to http://localhost:8001/
Just is an awesome program to run specific commands.
Running just
in the project directory displays a bunch of convienient commands.
just build
will build a release version of kindlehighlights.
just run
will build kindlehighlights, generate a database, and run datasette
There are many more!
This project is just at the very beginning stages. I welcome anyone to help out. I would like to add the following features:
datasette-kindle-highlights is licensed under the Apache 2.0 license. For more information, please see the LICENSE-2.0 file.