Skip to content

Exports Trello Board, Cards and attachments.

License

Notifications You must be signed in to change notification settings

Ben0it-T/trello-board-exporter

Repository files navigation

Trello Board Exporter

Exports Trello Board, Cards and attachments.

With a Trello 'free plan' we can only export a board or card to JSON... nothing else. For my personnal use, I wrote this python script to be able to easily extract boards, cards and attachments.

This script,

  • exports Board to XLSX document
  • exports all cards on the Board to DOCX or PDF documents
  • exports all attachments

Requirements

Install requirements

pip install -r requirements.txt

Configure

Get Trello api key and token

To revoke a token : https://trello.com/my/account

Create config.ini

config.ini is a basic configuration file containing:

  • [Dates]: time zone and date format
  • [TrelloApi]: api key, token, url
  • [Proxy]: proxy configuration
  • [Labels]: custom titles
  • [Template]: docx template (export as docx) / html template (export as pdf)

Copy the config-sample.ini to config.ini

  • add your api key and token
  • customize dates, proxies, labels and template document

Create your card template.

See templates in templates/

Usage

Simply run

python3 trello-export-board.py

Then select a board and enjoy !