项目作者: syntaxi

项目描述 :
GCI <--> Trello task syncer
高级语言: JavaScript
项目地址: git://github.com/syntaxi/TaskSyncer.git
创建时间: 2018-10-15T00:39:54Z
项目社区:https://github.com/syntaxi/TaskSyncer

开源协议:

下载


Task Syncer

Syncs tasks between Trello and Google.

Usage

You will need request, request-promise and bluebird all of which are included in the package.json
Make a json file called tokens.json in the root directory with the following structure:

  1. {
  2. "googleToken": "google api token",
  3. "trelloKey": "trello api key",
  4. "trelloToken": "trello oauth2 api token"
  5. }

next, make a file called config.json and fill it out as below

  1. {
  2. "boardId": <Trello ID here>,
  3. "categoryLists": {
  4. "1": <Trello ID here>,
  5. "2": <Trello ID here>,
  6. "3": <Trello ID here>,
  7. "4": <Trello ID here>,
  8. "5": <Trello ID here>
  9. },
  10. "customFields": {
  11. "isBeginner": <Trello ID here>,
  12. "days": <Trello ID here>,
  13. "tags": <Trello ID here>,
  14. "instances": <Trello ID here>,
  15. "googleId": <Trello ID here>,
  16. "isCode": <Trello ID here>,
  17. "isDesign": <Trello ID here>,
  18. "isDocs": <Trello ID here>,
  19. "isQa": <Trello ID here>,
  20. "isOutResearch": <Trello ID here>
  21. },
  22. "callbackUrl": <Trello ID here>,
  23. "botMemberId": <Trello ID here>,
  24. "defaults": {
  25. "days": 3,
  26. "isBeg": false,
  27. "maxInst": 1
  28. }
  29. }

then simply run. You can edit the methods in app.js to change where the tasks are read from and where they are written to.

At the moment they are read from GCI, then overwritten with Trello and finally written back to GCI