Skip to content

Migrate a Trello Board to Obsidian Kansan using Trello's API and Python

License

Notifications You must be signed in to change notification settings

julianmateu/trello-2-obsidian

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Trello to Obsidian

Simple script to query the Trello REST API to get all lists and cards from a board and replicate it as an Obsidian note to be used with the Obsidian Kanban plugin.

Getting started

  1. You'll need an API key and token, follow the steps in the official guide.

  2. Store them in environment variables APIKey and APIToken. If you place those in a .env file, it will be loaded automatically by the script.

  3. Customize the trello_board_to_obsidian.py script to define the BOARD_ID (you can get it from the url), and any mappings of labels to tags in LABELS_TO_TAGS (keys should be in lowercase).

  4. Create a virtual environment, source it, and install the dependencies:

    python -m venv env
    . env/bin/activate
    pip install -r requirements.txt
  5. Run the script:

    python trello_board_to_obsidian.py

About

Migrate a Trello Board to Obsidian Kansan using Trello's API and Python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages