GithubHelp home page GithubHelp logo

pablojimeno / trello-exporter Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jacalata/trello-exporter

0.0 1.0 0.0 9 KB

A command line Trello backup tool that outputs friendly and readable files

Shell 100.00%

trello-exporter's Introduction

////////////////////////////////////////////////////////////////

trello-exporter - the simple future-proof Trello backup tool

////////////////////////////////////////////////////////////////

"trello-exporter" will turn an entire Trello board into a directory of simple, plain, text-formatted files, each file corresponding to a card, with metadata, description and comments, all files organized in a nested tree directory corresponding to the lists of the board, including special directories for archived items.

It is written in fish[0] and, to run it, you will need curl[0] and jq[1], besides fish itself, to be installed in your system.

INSTALL
-------

As soon as you have the three dependencies above (install them globally, they are useful for many other things) and a Linux system (I don't know if this will run on MAC or BSD, it seems we use a "date" tool that is different in its GNU version than other versions, patches accepted to remove this dependency), just download the file: https://github.com/websitesfortrello/trello-exporter/blob/master/trello-exporter.fish

RUN
---

Even if you don't use fish as your primary shell, you can just run

fish ./trello-exporter.fish <board-id> <trello-api-key> <trello-token>

You can run this from anywhere. Or you can put it in your PATH. Do what you want.

To get a valid trello-api-key and trello-token, visit https://trello.com/app-key while logged into your account. The board id doesn't need to be the id, it can be the "shortLink", that random string that identifies the board in the URL, right after "/b/".

The script will create a subdirectory named '_data' wherever you run it and place all the subdirectories and files inside.

It fetches and saves the following information for each list:

- name

And for each card:

- name
- members
- labels
- creation date
- url
- id
- description
- checklists (with all checkitems and "checked" states)
- attachments (with URL and name)
- comments (with username of author, posted date and text)

Currently it doesn't download attachments, but this feature will be added in the feature.

See an example of how each card file look after the export: https://github.com/websitesfortrello/trello-exporter/blob/master/example.md

---

[0]: https://fishshell.com/
[1]: https://curl.haxx.se/download.html
[2]: https://stedolan.github.io/jq/download/

trello-exporter's People

Contributors

fiatjaf avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.