{"id":20722008,"url":"https://github.com/babolivier/matrix-poll-bot","last_synced_at":"2025-07-26T10:39:29.234Z","repository":{"id":57657655,"uuid":"193966716","full_name":"babolivier/matrix-poll-bot","owner":"babolivier","description":"Matrix bot to do polls","archived":false,"fork":false,"pushed_at":"2020-12-06T15:28:40.000Z","size":26,"stargazers_count":46,"open_issues_count":12,"forks_count":10,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-07-15T01:34:23.183Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/babolivier.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":"2019-06-26T19:37:09.000Z","updated_at":"2024-04-07T15:52:28.000Z","dependencies_parsed_at":"2022-08-26T05:22:09.092Z","dependency_job_id":null,"html_url":"https://github.com/babolivier/matrix-poll-bot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/babolivier/matrix-poll-bot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/babolivier%2Fmatrix-poll-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/babolivier%2Fmatrix-poll-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/babolivier%2Fmatrix-poll-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/babolivier%2Fmatrix-poll-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/babolivier","download_url":"https://codeload.github.com/babolivier/matrix-poll-bot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/babolivier%2Fmatrix-poll-bot/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267150498,"owners_count":24043478,"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","status":"online","status_checked_at":"2025-07-26T02:00:08.937Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":"2024-11-17T03:33:57.090Z","updated_at":"2025-07-26T10:39:29.212Z","avatar_url":"https://github.com/babolivier.png","language":"Go","funding_links":[],"categories":["[✨ inspiration](https://github.com/stars/ketsapiwiq/lists/inspiration)"],"sub_categories":[],"readme":"# Poll Bot\n\nMatrix bot to do polls. What more do you need?\n\n![image](https://user-images.githubusercontent.com/5547783/60209177-029b8e80-9852-11e9-8aee-c91d7ccaaec1.png)\n\nNote that this bot is a proof of concept and it's unlikely I'll do any work on it in the future. I'm happy to review and merge PRs though.\n\n## Build\n\n```bash\ngit clone https://github.com/babolivier/matrix-poll-bot.git\ncd matrix-poll-bot\ngo build\n```\n\n## Run\n\n```\n./matrix-poll-bot --config /path/to/config.yaml\n```\n\n## Configure\n\nSee [config.sample.yaml](/config.sample.yaml).\n\n## Docker\n\n```bash\ngit clone https://github.com/babolivier/matrix-poll-bot.git\ncd matrix-poll-bot\ndocker build -t matrix-poll-bot .\n# Add a file named 'config.yaml' to /path/to/config/dir\ndocker run -v /path/to/config/dir:/data matrix-poll-bot\n# For an automatic start on system boot, use this:\ndocker run --restart=always --name=matrix-poll-bot -d -v /path/to/config/dir:/data matrix-poll-bot\n```\n\n## Usage\n\n1. Create a user for PollBot - a non-admin user is sufficient\n```\n/usr/local/bin/matrix-synapse-register-user \u003cpollbot-user\u003e \u003cpollbot-password\u003e 0\nSending registration request...\nSuccess!\n```\n\n2. Create an access token for the PollBot\n```\ncurl --data '{\"identifier\": {\"type\": \"m.id.user\", \"user\": \"\u003cpollbot-user\u003e\" }, \"password\": \"\u003cpollbot-password\u003e\", \"type\": \"m.login.password\", \"device_id\": \"PollBot\", \"initial_device_display_name\": \"PollBot\"}' https://matrix.\u003cyour-matrix-server\u003e/_matrix/client/r0/login\n{\n    \"access_token\": \"\",\n    \"device_id\": \"PollBot\",\n    \"home_server\": \"\u003cyour-matrix-server\u003e\",\n    \"user_id\": \"@\u003cpollbot-user\u003e:\u003cyour-domain\u003e\",\n    \"well_known\": {\n        \"m.homeserver\": {\n            \"base_url\": \"https://matrix.\u003cyour-domain\u003e/\"\n        }\n    }\n}\n```\n\n3. Invite PollBot in the room you want to create polls\n```\n/invite @pollbot:\u003cyour-domain\u003e\n```\n\n4. Create a poll\n```\n!poll \u003cyour-question\u003e\n\u003cemoji-1\u003e Answer 1\n\u003cemoji-2\u003e Answer 2\n\u003cemoji-3\u003e Answer 3\n\u003c...\u003e\n```\n\n### End-to-end encryption\n\nThis bot doesn't have native E2EE support. If you want to use it in encrypted rooms, the easiest option is probably to run it through [pantalaimon](https://github.com/matrix-org/pantalaimon).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbabolivier%2Fmatrix-poll-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbabolivier%2Fmatrix-poll-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbabolivier%2Fmatrix-poll-bot/lists"}