book-box
π β¨ For more pinned-gist projects like this one, check out: https://github.com/matchai/awesome-pinned-gists
Setup
book-box is a GitHub Action that is designed to work using the schedule
event.
Prepare work
- Create a new public GitHub Gist (https://gist.github.com/)
- Create a token with the
gist
scope and copy it. (https://github.com/settings/tokens/new) - Login with the Google Books (https://books.google.co.jp/books)
- In my library page, retrieve the user ID which contains
uid
URL parameter:https://books.google.com/books?
uid=11122233344455566778
&source=gbs_lp_bookshelf_list
Project setup
-
Fork this repo
-
Edit the environment variable in
.github/workflows/schedule.yml
:- GIST_ID: The ID portion from your gist url:
https://gist.github.com/kentaro-m/
7943c292ae2caec7b4198319d1446b90
.
- GIST_ID: The ID portion from your gist url:
-
Go to the repo Settings > Secrets
-
Add the following environment variables:
- GH_TOKEN: The GitHub token generated above.
- USER_ID: The user ID for your Google Books account.
Licence
MIT