/notion_bookcase

Use douban's rss source to sync book reading status to the database of notion, this is increasing update, the status includes reading and wanna read, read.

Primary LanguageTypeScriptMIT LicenseMIT

notion_bookcase

New Features ! !

  • 🥳 Support Sync Source from Goodreads
  • 🥳 Support Sync Source from Douban

Introduction

  • Use douban rss source to sync book reading status.
  • Use douban page crawler to sync book reading status.
  • Use goodreads page crawler to sync book reading status.

Showcase

BenMix's Bookcase

How to Use

1. Fork the repository.

  • git clone the respository or fork the repository
  • you can use github actions to create schedule task

2. Creating a Notion Intergretion.

  • create a notion integretion.
  • copy the notion integretion token.
  • Learn more

3. Duplicating the notion template

4. Connecting to Your Notion Database

  • add your created integretion to your notion's database.
  • Learn more

5. Getting Database id

  • copy the cloned template's database id.
  • please save it, we will use it soon.
  • Learn more

6. Getting User id From BookSource

  • Douban Source
    • goto your douban homepage, copy your douban's id,
    • please save it. we will use it soon.
  • GoodReads Source
    • goto your goodreads profile page, copy your goodreads's id,
    • please save it. we will use it soon.

7. Setting secrets for git actions.

  • add below secrets to your repository actions configuration.
  • add NOTION_TOKEN(STEP 2),
  • add NOTION_BOOK_DATABASE_ID(STEP 5)
  • add DOUBAN_USER_ID (STEP 6)
  • add GOODREADS_USER_ID (STEP 6)

8. Sync Data

  • first sync, you must run sync_full action to full sync your douban's book reading data.

9. Finally

  • set the schedule to execute the sync_rss action.
  • you can update the workflow configuration to modify the timing.

License

The Project is undering MIT License