/zotero2notion

Import zotero library to notion database

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

zotero2notion

Import Zotero library to Notion

Install

  1. Clone or download repo
  2. Install conda, then run the following code,
conda env create -f environment.yml
conda activate zotero2notion
pip install notion-client

Usage

  1. Create an integration and find the token

  2. Create a new database with following properties and property type; Remove all rows; Copy the database id

  3. Obtain your zotero library id and api key

  4. Modify config.ini.sample file, rename it to config.ini or make a copy

  5. Run command,

# Add most recent 100 papers to notion
./script/zotero2notion.py -c config.ini -n 100

TODO

  • Add configuration file
  • Automatic update (every one hour)
  • Clean code
  • Automatic update (when there is new records in zotero)