Something went wrong. Try again.
BookOrbit plugin that syncs reading progress to Goodreads, StoryGraph and BookHive
Something went wrong. Try again.
Files
- TypeScript 100%
- Docker <1%
- JavaScript <1%
README.md
performative-male #
Copies reading data from a self-hosted BookOrbit to Goodreads and BookHive, one way. It sends status, start and finish dates, rating, review, and the progress of each finished sitting. A sitting is one continuous period of reading one book. BookOrbit syncs StoryGraph itself, so StoryGraph is not a target here.
Commands #
performative-male run [--dry-run] [--post-progress]
performative-male goodreads-auth
performative-male link <bookorbit-book-id> <goodreads|bookhive> <target-id>
performative-male status
runsyncs every 5 minutes.--dry-runprints the writes of one cycle and changes nothing. On the first run, progress is posted only with--post-progress.goodreads-authauthorizes your Goodreads account once.linkreplaces the match of a book on a target.statuslists books with no match and the last errors.
Deploy beside BookOrbit #
The service joins BookOrbit's Docker network, bookorbit_default, and reads the BookOrbit login from /srv/bookorbit/credentials.txt.
- Copy
.env.exampleto.envand fill it in.RUN_AS_UIDandRUN_AS_GIDare the owner of the credentials file. - Create the state folder as that user:
mkdir data. - Authorize Goodreads:
docker compose run --rm -it sync goodreads-auth. - Check the writes:
docker compose run --rm sync run --dry-run. - Start the service:
docker compose up -d --build.
Development #
npm test
npm run typecheck