{"id":13801910,"url":"https://github.com/evenchange4/gh-polls-bot","last_synced_at":"2025-05-12T14:54:22.871Z","repository":{"id":46151415,"uuid":"109235469","full_name":"evenchange4/gh-polls-bot","owner":"evenchange4","description":"Automatically create polls in GitHub issues.","archived":false,"fork":false,"pushed_at":"2021-11-11T01:07:55.000Z","size":9410,"stargazers_count":213,"open_issues_count":13,"forks_count":10,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-10-29T21:10:35.614Z","etag":null,"topics":["bot","gh-polls","github-app","polls","probot","probot-app","probot-plugin","votes","voting"],"latest_commit_sha":null,"homepage":"https://github.com/apps/polls","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/evenchange4.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-11-02T08:07:52.000Z","updated_at":"2024-07-22T21:12:59.000Z","dependencies_parsed_at":"2022-09-14T13:20:57.641Z","dependency_job_id":null,"html_url":"https://github.com/evenchange4/gh-polls-bot","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evenchange4%2Fgh-polls-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evenchange4%2Fgh-polls-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evenchange4%2Fgh-polls-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evenchange4%2Fgh-polls-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/evenchange4","download_url":"https://codeload.github.com/evenchange4/gh-polls-bot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253759428,"owners_count":21959766,"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":["bot","gh-polls","github-app","polls","probot","probot-app","probot-plugin","votes","voting"],"created_at":"2024-08-04T00:01:30.024Z","updated_at":"2025-05-12T14:54:22.830Z","avatar_url":"https://github.com/evenchange4.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"\u003cp align=\"center\" \u003e\n  \u003ca href=\"https://github.com/apps/polls\"\u003e\n    \u003cimg height=\"65\" src=\"./docs/logo.png\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n# GitHub Polls Bot\n\n\u003e A GitHub App built with [Probot](https://github.com/probot/probot) that automatically creates [gh-polls](https://github.com/apex/gh-polls) in GitHub issues.\n\n[![Travis][travis-badge]][travis]\n[![Codecov Status][codecov-badge]][codecov]\n[![Dependency Status][dependency-badge]][dependency]\n[![devDependency Status][devDependency-badge]][devDependency]\n[![peerDependency Status][peerDependency-badge]][peerDependency]\n[![Greenkeeper badge][greenkeeper-badge]][greenkeeper]\n[![prettier][prettier-badge]][prettier]\n[![license][license-badge]][license]\n\n## Usage\n\n1. Configure the GitHub App: [github.com/apps/polls](https://github.com/apps/polls)\n2. Add command to issue:\n\n```md\n/polls Option1 'Option 2' \"Option 3\"\n\n# Automatically replace with the following markdown =\u003e\n[![](https://api.gh-polls.com/poll/01BY7ECS60GG8F9AR1VMR8745S/Option1)](https://api.gh-polls.com/poll/01BY7ECS60GG8F9AR1VMR8745S/Option1/vote)\n[![](https://api.gh-polls.com/poll/01BY7ECS60GG8F9AR1VMR8745S/Option%202)](https://api.gh-polls.com/poll/01BY7ECS60GG8F9AR1VMR8745S/Option%202/vote)\n[![](https://api.gh-polls.com/poll/01BY7ECS60GG8F9AR1VMR8745S/Option%203)](https://api.gh-polls.com/poll/01BY7ECS60GG8F9AR1VMR8745S/Option%203/vote)\n```\n\n| **Screenshot** | [![](./docs/screenshot.png)](https://github.com/evenchange4/gh-polls-bot/issues/2)  |\n| -------------- | -------- |\n| **Demo** | ![](./docs/demo.gif) |\n\n## Developer Guide\n\n### Environments\n\n- Create a `.env` file from `.env.example`.\n- Download the `private-key.pem` from GitHub and move it to your project’s directory.\n\n\u003e Note: Please follow the [Developing an App](https://probot.github.io/docs/development/) section of Probot documents.\n\n### Requirements\n\n-   node \u003e= 9.0.0\n-   yarn \u003e= 1.3.2\n\n```\n$ git clone https://github.com/evenchange4/gh-polls-bot\n$ yarn install --pure-lockfile\n\n$ yarn run dev # dev server\n$ yarn start   # prod server\n```\n\n### Test\n\n```\n$ yarn run format\n$ yarn run eslint\n$ yarn run test:watch\n$ yarn run flow\n$ yarn run flow-coverage\n```\n\n### Deploy to Now.sh\n\nAny git commits push to master branch.\n\n```cmd\n$ npm version patch\n$ yarn run changelog\n```\n\n\u003e Note: PRIVATE_KEY pem workaround: [first-timers-bot #89](https://github.com/hoodiehq/first-timers-bot/pull/89)\n\n### Technology Stacks\n\n- [Create-Probot-App](https://github.com/probot/create-probot-app)\n- Travis - CI\n- [Zeit Now.sh](https://zeit.co/now)\n\n## Inspiration\n\n- https://github.com/probot/commands\n- https://github.com/srph/gh-polls-web\n\n## Misc\n\n- Redirect to github.com for private repos. [\\[apex/gh-polls#3\\]](https://github.com/apex/gh-polls/issues/3#issuecomment-312964372)\n- PEM format doesn't play nicely with now.sh secrets/env vars. [\\[probot/friction#17\\]](https://github.com/probot/friction/issues/17)\n- Links related to GH polls:\n  - [Web App](https://app.gh-polls.com/) – GH polls web app\n  - [apex/gh-polls](https://github.com/apex/gh-polls) – Polls for user feedback in GitHub issues [gh-polls.com](https://gh-polls.com/)\n  - [bukinoshita/gh-polls](https://github.com/bukinoshita/gh-polls) – node module to create gh-polls\n\n## CONTRIBUTING\n\n*   ⇄ Pull requests and ★ Stars are always welcome.\n*   For bugs and feature requests, please create an issue.\n*   Pull requests must be accompanied by passing automated tests (`$ yarn run test`).\n\n## [CHANGELOG](CHANGELOG.md)\n\n## [LICENSE](LICENSE)\n\nMIT: [http://michaelhsu.mit-license.org](http://michaelhsu.mit-license.org)\n\n[travis-badge]: https://img.shields.io/travis/evenchange4/gh-polls-bot/master.svg?style=flat-square\n[travis]: https://travis-ci.org/evenchange4/gh-polls-bot\n[codecov-badge]: https://img.shields.io/codecov/c/github/evenchange4/gh-polls-bot.svg?style=flat-square\n[codecov]: https://codecov.io/github/evenchange4/gh-polls-bot?branch=master\n[dependency-badge]: https://david-dm.org/evenchange4/gh-polls-bot.svg?style=flat-square\n[dependency]: https://david-dm.org/evenchange4/gh-polls-bot\n[devDependency-badge]: https://david-dm.org/evenchange4/gh-polls-bot/dev-status.svg?style=flat-square\n[devDependency]: https://david-dm.org/evenchange4/gh-polls-bot#info=devDependencies\n[peerDependency-badge]: https://david-dm.org/evenchange4/gh-polls-bot/peer-status.svg?style=flat-square\n[peerDependency]: https://david-dm.org/evenchange4/gh-polls-bot#info=peerDependencies\n[license-badge]: https://img.shields.io/github/license/evenchange4/gh-polls-bot.svg?style=flat-square\n[license]: http://michaelhsu.mit-license.org/\n[greenkeeper-badge]: https://badges.greenkeeper.io/evenchange4/gh-polls-bot.svg\n[greenkeeper]: https://greenkeeper.io/\n[prettier-badge]: https://img.shields.io/badge/styled_with-prettier-ff69b4.svg?style=flat-square\n[prettier]: https://github.com/prettier/prettier\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fevenchange4%2Fgh-polls-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fevenchange4%2Fgh-polls-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fevenchange4%2Fgh-polls-bot/lists"}