{"id":24333626,"url":"https://github.com/graysonchen/twhg","last_synced_at":"2025-06-14T06:04:01.120Z","repository":{"id":145575638,"uuid":"45600560","full_name":"graysonchen/twhg","owner":"graysonchen","description":"automatically move the card from the \"doing\" to the \"reviewing\" list using the GitHub webhook and Trello API.","archived":false,"fork":false,"pushed_at":"2015-11-18T14:27:27.000Z","size":343,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-11T13:49:00.567Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://twhg.growcn.com/","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/graysonchen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-11-05T09:20:00.000Z","updated_at":"2021-09-15T11:27:40.000Z","dependencies_parsed_at":"2023-04-13T04:00:16.319Z","dependency_job_id":null,"html_url":"https://github.com/graysonchen/twhg","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/graysonchen/twhg","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graysonchen%2Ftwhg","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graysonchen%2Ftwhg/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graysonchen%2Ftwhg/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graysonchen%2Ftwhg/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/graysonchen","download_url":"https://codeload.github.com/graysonchen/twhg/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/graysonchen%2Ftwhg/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259768509,"owners_count":22908228,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-01-18T03:18:06.407Z","updated_at":"2025-06-14T06:04:01.101Z","avatar_url":"https://github.com/graysonchen.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TWHG(Trello Webhook Github)\n\n## Overview\n\nWhen a user creates a pull request with the trello card link, automatically move the card from the \"doing\" to the \"reviewing\" list using the GitHub webhook and Trello API.\n\n## Installation\n\n*Requirement*\n\n* Ruby2+\n* MySQL\n* Redis\n\n## Usage\n\n*Demo*\n\n```\ntrello: https://trello.com/b/8ocOWx6F/interview-q\nRepository: git@github.com:cgg5207/trello_card_test.git\nhost: http://twhg.growcn.com/github_webhooks\n```\n\n*Github webhook config*\n\n![github webhook config](https://raw.github.com/cgg5207/twhg/master/doc/github-webhook-config.jpg)\n\n\n*Create pull request example*\n\n![pull-request](https://raw.github.com/cgg5207/twhg/master/doc/pull-request-relation-trello-card-link.jpg)\n\n*Automatically move to reviewing*\n\n![doing-move-reviewing](https://raw.github.com/cgg5207/twhg/master/doc/doing-move-reviewing.jpg)\n\n*Pull request is accepted*\n\n![pull-request-is-accepted](https://raw.github.com/cgg5207/twhg/master/doc/pull-request-is-accepted.jpg)\n\n*Automatically move to released*\n\n![move-released](https://raw.github.com/cgg5207/twhg/master/doc/move-released.png)\n\n\n## Deployment\n\n```\ncap production deploy\ncap production sidekiq:start\ncap production db:pull\n\n```\n\n\n## Todo\n* github oauth\n* trello token\n\n## Ref\n* https://developers.trello.com/sandbox\n* https://trello.com/app-key\n* https://github.com/zanker/github-trello\n* https://larry-price.com/blog/2014/03/20/using-the-trello-api-in-ruby\n* http://www.sitepoint.com/customizing-trello-ruby/\n* https://github.com/jeremytregunna/ruby-trello\n* https://github.com/ssaunier/github_webhook\n\n\n## Bug reports\n\n[issues](https://github.com/cgg5207/twhg/issues)\n\n[![issues](http://i.imgur.com/K8vsw.gif)](https://github.com/cgg5207/twhg/issues)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgraysonchen%2Ftwhg","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgraysonchen%2Ftwhg","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgraysonchen%2Ftwhg/lists"}