Project

trello-fs

0.0
No commit activity in last 3 years
No release in over 3 years
A utility for archiving Trello boards into Git repositories.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.6
>= 0
~> 3.0
 Project Readme

TrelloFs

Dumps the contents of Trello boards into a folder structure. The generated files can be then pushed to Github or a Bitbucket Wiki.

Example

See the demo boards, which were generated from these Trello boards: https://trello.com/b/23HXX6Gr/trellofs-demo-board https://trello.com/b/bkskcUIO/welcome-board

Features

  • compatible with Github and Bitbucket Wiki
  • supports attachments
  • shows image attachments directly in the card view
  • label files that contain references to cards with the labels
  • supports updating the repository
  • downloads the same attachments only once
  • replaces links to cards in the exported boards with local links

Installation

  1. Install the gem
gem install trello-fs
  1. Create a file like this one:
require 'trello-fs'

TrelloFs.build({
  title: 'Some Title',
  description: 'Some Description',
  path: 'PATH_TO_THE_TARGET_FOLDER',
  developer_public_key: 'DEVELOPER_PUBLIC_KEY',
  member_token: 'MEMBER_TOKEN',
  board_ids: ['BOARD_ID']
})
  1. Replace the placeholder keys in the file above
  1. Run ruby NAME_OF_YOUR_FILE.rb
  2. Integrate with a CRON job that will run the script and push the changes to Github (or don't, I don't care)