Giter Club home page Giter Club logo

trello-habitica's Introduction

Trello Integration with Habitica

This Power-Up(?) will keep your Trello cards in sync with Habitica. No coding is required; just fill in the form and you're all set!

How to use?

Each Power-Up is associated with a team. Once a Power-Up has been added to a team, it will be available to all of the boards that belong to that team. So create a team if you don't have one.

To add a new Power-Up to your team, navigate to the Power-Ups Administration page, choose your team and click Create a Power-Up.

Now it's time to fill in the form.

  1. First, name your Power-Up.
  2. To work properly this Power-Up requires some permissions. Make sure you've checked all of the following:
  • board-buttons
  • card-badges
  • card-detail-badges
  • list-actions
  1. Provide the URL to your Power-Up.
  • The easiest way is to use the url provided below. As a bonus you will receive all upcoming updates without any changes from your side.
    https://alexktzk.github.io/trello-habitica
  • Or you can fork this repository, publish gh-pages branch to GitHub Pages and use your own url.
  1. Now you can navigate to one of the boards of the team and activate your Power-Up! You will find it in the Custom section.
  2. To start the sync process, open any list menu (three dots) and select either "Mark list as Doing" or "Mark list as Done."

Developing Power Up

Clone the Git repo

$ git clone git://github.com/alexktzk/trello-habitica
$ cd trello-habitica

Install packages

$ npm install

Run

For quick start run

$ npm start

It builds the project and runs webpack-dev-server to watch and update when any of the files are changed.

Live testing

In order to test your code directly on a Trello board you should obtain a public url that points to your local web server. For this purpose install ngrok.

$ ngrok http 8080

This command generates 2 public urls, http and https.
Trello allows to serve Power-Ups only over https.

Once you've done just grab your public url and pass it to the Power-Up form as Iframe connector URL.

Deploy

$ npm run deploy

That's it, you're live. Try to check your repo's Github Pages url.

The script generates and pushes the dist folder to gh-pages. For this, it creates and switches branches under the hood. Therefore, if you have any uncommited changes it will fail to run.

trello-habitica's People

Contributors

alexktzk avatar dependabot[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

trello-habitica's Issues

Unable to sync Todos from Habitica to Trello

I'm unable to fetch my Todos from Habitica in Trello.

My current configuration for my power up is:
Im using https://alexktzk.github.io/trello-habitica as the iframe link.

I enabled all the capabalities:

  • board-buttons
  • card-badges
  • card-detail-badges
  • list-actions

I'm able to login just fine. However my Todos do not get imported I have attached a screenshot.

Screen Shot 2020-05-16 at 3 31 28

Transfer Trello Labels to Habitica Tags (feature request)

I don't know if the APIs allow this, but it would be useful to tag the tasks that are automatically created in Habitica with the tags I add to them in Trello. If it were even possible just to add a tag like "Trello" or something so that I could easily filter them in or out of my view, it would be enormously helpful to me.

BTW, I love this integration, and thank you so much for creating it. It makes it much easier for me to organize my work tasks and collaborate with co-workers, while still enjoying the motivation that Habitica provides.

Habitica Stats out of sync

If I make changes in Habitica (for example earn gold by clicking habits), the stats in Trello won't update until I move a task to "done" list. Is there an option to sync the stats on page load? Or maybe add a sync button in the settings?

New list actions not appearing

Hello all,

I was excited to find this power-up, but my installation is not working. It is probably user error, but maybe you can help. I followed the steps yet do not get the new list actions after activating the power-up on a board. I refreshed everything and checked that the permissions were set (and they were). Still nothing. Also, I don't see where to enter the user id and api key. I am entering the user id and api key on Trello or the other way around?

Thanks!

Mark List as Doing Does Not Add to Habitica To-Do List

I followed the 5-step instructions and selected "Mark List as Doing" for several tasks. However, they are not added to my list of to dos in Habitica when I check. Is this as intended? My understanding of the power up was it saved you the trouble of retyping all your to dos, but maybe I misunderstood.

Possible typo in setup

callback isn't an option in Trello as of 06/2019. Perhaps this is a typo for card-back?

Font change in Habitica

When a card is synced to Habitica, even if the "Add trello icon to a to-do title" is deselected, it still adds "### " to the Habitica to-do, changing the font. Is there a way to disable this, or if not, make it so that deselected the "Add trello icon to a to-do title" option makes it so no additional text is added to the Habitica to-do title?

Archive tasks in "doing" list

I think tasks that are archived in the "doing" list should be also deleted in Habitica to-dos.
For now, I use Butler powerup to automatically move archived tasks from "doing" list to another list and then archive them.

Habitica stats info

I had an idea to add the Habitca's hp ,exp & gold to Trello's header:
image

I already implemented it on my user using cjs chrome plugin, If you like it I can send a pull request.
(I never did a pull request to another project before, some guidance would be appreciated ๐Ÿ˜Š).

how to link to habitica account?

I feel like I missed something really obvious - I forked my own version, set up Trello, but how do I link it to my Habitica account?

Sync not working?

Has anyone successfully implemented this power-up lately? I checked the instructions several times. My trello board looks as pictured below. Nothing has happened in my Habitica lists.
Screen Shot 2023-01-22 at 6 30 05 PM

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.