Skip to content

[MOVED] Fetch trello cards from a board and output their text in stdout. Notable use case: use it with conky ! New: trellomerge allow you to synchronize trello boards and cards

License

Notifications You must be signed in to change notification settings

GustavePate/trello2txt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 

Repository files navigation

Moved to a new repository

Check mergetrelloboards for update !

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

Trello utilities

Requirements

trello2txt use standard libray python module and the request module

On debian/ubuntu:

sudo apt-get install python-requests

or

[sudo] pip install requests

Installation

git clone https://github.com/GustavePate/trello2txt

Trellomerge

Trellomerge allows you to merge a master in a slave board.

Theses requirements will be applied in order to synchronize trello boards:

  • Lists from the master board will be created in the slave board
  • Cards from the master board will be created in the slave board
  • Cards from the slave board will be untouched
  • Lists from the slave board will be untouched
  • Cards coming from the master board are prefixed in the slave board.
  • Slave lists are reordered by labels (red first, green last)
  • You can specify to sort some slave board lists by due date

Use crontab to keep your trello boards synchronized.

Configuration

Run

vim /path/to/trello2txt/conf.py

Change the configuration, you will need:

  • a trello api developper key here.
  • a trello api developper token here.
  • your master and slave board id (see the url in your webbrowser when you're connected to trello)

Usage

python /path/to/trello2txt/trellomerge.py /path/to/trello2txt/conf.py

Trello2txt

Fetch trello cards from a board and output their text in stdout. Notable use case: use it with conky !

Context

While improving my workflow, I was searching to have my trello tasks quickly accessible. Then I lokk at my conky dashboard ;) All I needed was a trello2txt tool. Here it is !

Configuration

Run

vim /path/to/trello2txt/conf.py

Change the configuration, you will need:

  • a trello api developper key here.
  • a trello api developper token here.
  • your board id (see the url in your webbrowser when you're connected to trello)
  • the name of the lists you wan't to dump to text

Adjust the filters to your needs (by default only cards with orange and red labels will be display)

Usage

Just run:

python /path/to/trello2txt/trello2txt.py /path/to/trello2txt/conf.py -s

or to create a local file:

python /path/to/trello2txt/trello2txt.py /path/to/trello2txt/conf.py -s -d /tmp/trello.txt

Enjoy !

Use it with conky

First make sure you completed the installation section !

There is a conky template to display your trello list on your desktop. Edit it first, you'll have to change the path to the trello2txt.py, conf.py and to the stored todolist file.

I'm currently not happy with it's line by line implementation. I'll be glad if you send me an improvement !

Then:

conky -d -c /path/to/trello2txt/trelloconkyrc

Wait up to 10 minutes to ensure the list is updated.

Tada !

A screenshot of my desktop with trello2txt/conky:

screenshot of conky and trello2txt

About

[MOVED] Fetch trello cards from a board and output their text in stdout. Notable use case: use it with conky ! New: trellomerge allow you to synchronize trello boards and cards

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published