A utility to create cards in a reading board in Trello out of new items saved to Pinboard.
This is based on the OrBin/Pocket-To-Trello project, which I already modified with mschuett/Pocket-To-Trello. Now I "only" replaced the Pocket part with Pinboard. The functions stay the same:
- I use a specific tag
reblog
in Pocket, - I want Pinboard-To-Trello to copy those items to Trello,
- After an item is copied it is deleted from Pinboard.
Differences to the Pocket version:
- Pinboard does not have an 'archive' function, so items are immediately deleted from your pinboard list after they are copied,
- Pinboard does not have images in bookmarks, so there are no images/thumbnails imported to Trello either.
pip install -r requirements.txt
Visit Trello to get your Trello API key and save it for later use.
Visit Pinboard to get your Pinboard API key and save it for later use.
A configuration file config.json
should be placed in the same directory as the code files.
Here is an example of how the initial configuration file should look:
{
"authentication": {
"pinboard_api_token": "YOUR-PINBOARD-API-TOKEN",
"trello_api_key": "YOUR-TRELLO-API-KEY",
},
"trello_list_id": "YOUR-TRELLO-LIST-ID",
"pinboard_tag": "reblog"
}
Authorize with Trello:
python authorize_trello.py
python3 main.py