{"id":18250325,"url":"https://github.com/wallacyyy/hubot-coffeepoll","last_synced_at":"2025-04-04T16:31:14.409Z","repository":{"id":57268788,"uuid":"43112176","full_name":"wallacyyy/hubot-coffeepoll","owner":"wallacyyy","description":"A functional Hubot plugin to help your team to choose where to drink a coffee ! :coffee:","archived":false,"fork":false,"pushed_at":"2017-06-05T20:51:51.000Z","size":62,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-20T15:12:19.851Z","etag":null,"topics":["coffee","drink","foursquare","fp","functional","functional-programming","hubot","poll","ramda","voting"],"latest_commit_sha":null,"homepage":"","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/wallacyyy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-09-25T05:51:11.000Z","updated_at":"2018-08-26T21:46:53.000Z","dependencies_parsed_at":"2022-09-02T02:02:03.822Z","dependency_job_id":null,"html_url":"https://github.com/wallacyyy/hubot-coffeepoll","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wallacyyy%2Fhubot-coffeepoll","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wallacyyy%2Fhubot-coffeepoll/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wallacyyy%2Fhubot-coffeepoll/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wallacyyy%2Fhubot-coffeepoll/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wallacyyy","download_url":"https://codeload.github.com/wallacyyy/hubot-coffeepoll/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247209335,"owners_count":20901754,"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":["coffee","drink","foursquare","fp","functional","functional-programming","hubot","poll","ramda","voting"],"created_at":"2024-11-05T09:44:22.730Z","updated_at":"2025-04-04T16:31:14.080Z","avatar_url":"https://github.com/wallacyyy.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hubot-coffeepoll\n[![Build Status](https://travis-ci.org/wallacyyy/hubot-coffeepoll.svg)](https://travis-ci.org/wallacyyy/hubot-coffeepoll) [![npm version](https://badge.fury.io/js/hubot-coffeepoll.svg)](http://badge.fury.io/js/hubot-coffeepoll) \n\nHubot-coffeepoll is a Hubot plugin that helps your team to decide where to drink a coffee.\nThe hubot will search for coffee shops nearby and show options to people in the chat vote.\n\n## Configuration\n\n### Foursquare\n\nYou need to register at [Foursquare](https://developer.foursquare.com/) and set your credentials on this environment variables:\n\n```\nFOURSQUARE_CLIENT_ID = xxx\nFOURSQUARE_CLIENT_SECRET = xxx\n```\n\n### Install\n\nInstall the plugin:\n\n```\nnpm install hubot-coffeepoll --save\n```\n\nAnd add it to your ```external-scripts.json``` file:\n\n```\n[\n  ...\n  \"hubot-coffeepoll\"\n  ...\n]\n```\n\n## Usage \n\n### Configuring the place for next polls\n```\nhubot coffeepoll near \u003ctext\u003e\n```\nExamples:\n```\nhubot coffeepoll near Champs-Elysées\nhubot coffeepoll near my street\n```\n![](http://ditrospecta.com/images/2015-10-03-hubot-plugin/plugin-near-gif.gif)\n```\nhubot coffeepoll radius \u003cnumber\u003e\n```\nExample:\n```\nhubot coffeepoll radius 500\n```\n### Starting the poll\n```\nhubot coffeepoll start \n```\n![](http://ditrospecta.com/images/2015-10-03-hubot-plugin/plugin-start-gif.gif)\n### Voting\n```\nhubot coffeepoll vote \u003cnumber\u003e\n```\n![](http://ditrospecta.com/images/2015-10-03-hubot-plugin/plugin-vote-gif.gif)\n### Showing the partial results\n```\nhubot coffeepoll partial\n```\n![](http://ditrospecta.com/images/2015-10-03-hubot-plugin/plugin-partial-gif.gif)\n### Finishing the poll and announcing the winner\n```\nhubot coffeepoll finish\n```\n![](http://ditrospecta.com/images/2015-10-03-hubot-plugin/plugin-finish-gif.gif)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwallacyyy%2Fhubot-coffeepoll","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwallacyyy%2Fhubot-coffeepoll","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwallacyyy%2Fhubot-coffeepoll/lists"}