Giter Site home page Giter Site logo

mmm-trello's Introduction

Module: Trello

The Trello module displays all cards in a specific Trello list, in a style similar to the Newsfeed (showing one card at a time). Applications can be: displaying a TODO list, showing notes, or important information which needs to be shared between roommates.

Installation

1. Execute the following commands from your MagicMirror/modules folder:

git clone https://github.com/Jopyth/MMM-Trello.git # clone this repository
cd MMM-Trello # navigate into the folder
npm install # install dependencies

2. Add the module to your config/config.js file (see below for details).

Using the module

To use this module you will need a trello API Key, an access token, and your list identifier.

Get your required API Key and Token here, or see 'Configuration Options' for more details. Also find your list id as described here below Finding a List ID.

Then, add it to the modules array in the config/config.js file:

modules: [
    {
        module: 'MMM-Trello',
        position: 'bottom_center', // This can be any of the regions, best results in center regions.
        config: {
            // See 'Configuration options' for more information.
            api_key: "INSERT_YOUR_API_KEY",
            token: "INSERT_YOUR_TOKEN",
            list: "INSERT_YOUR_LIST_ID"
        }
    }
]

Configuration options

The following properties can be configured:

Option Description
api_key Your trello API key, get it here.

This value is REQUIRED
token Your trello token, get it via this link (replace API_KEY with your API key!): https://trello.com/1/authorize?expiration=never&scope=read&response_type=token&name=Server%20Token&key=API_KEY.

This value is REQUIRED
list The id of the list you want to display, check out Finding a List ID here.

This value is REQUIRED
reloadInterval How often does the content need to be fetched (in ms)?

Possible values: any int or float
Default value: 5 * 60 * 1000 (every 10 minutes)
updateInterval How long should a card be displayed, before switching to the next one (in ms)?

Possible values: any int or float
Default value: 10 * 1000 (every 10 seconds)
animationSpeed Duration of the fade in and fade out effect in ms.

Possible values: any int or float
Default value: 2.5 * 1000 (2.5 seconds)
showTitle Whether to show the title of the card.

Possible values: true or false
Default value: true
showLineBreaks Display line breaks in the description? Needs more space if true.

Possible values: true or false
Default value: false
showDueDate Whether to show the due date of cards, if they have one.

Possible values: true or false
Default value: true
showChecklists Whether to show checklists of cards.

Possible values: true or false
Default value: true
showChecklistTitle Whether to show the title of each checklist before the actual check list.

Possible values: true or false
Default value: false

The MIT License (MIT)

Copyright © 2016 Joseph Bethge

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

The software is provided “as is”, without warranty of any kind, express or implied, including but not limited to the warranties of merchantability, fitness for a particular purpose and noninfringement. In no event shall the authors or copyright holders be liable for any claim, damages or other liability, whether in an action of contract, tort or otherwise, arising from, out of or in connection with the software or the use or other dealings in the software.

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.