christi3k / trello-board-exporter

Exports Trello Board, Cards and attachments.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 !

About

Exports Trello Board, Cards and attachments.

License:MIT License


Languages

Language:Python 85.7%Language:HTML 14.3%