{"id":13517022,"url":"https://github.com/hfreire/pollmommy","last_synced_at":"2026-01-29T04:50:13.356Z","repository":{"id":16699888,"uuid":"83591447","full_name":"hfreire/pollmommy","owner":"hfreire","description":"⭐️ Hack your 🙈 vote out of 📈 Polldaddy surveys - used by 💰 BBC, Microsoft, Forbes, Pfizer, IBM","archived":false,"fork":false,"pushed_at":"2023-01-27T04:07:22.000Z","size":7912,"stargazers_count":38,"open_issues_count":26,"forks_count":11,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-15T18:38:15.571Z","etag":null,"topics":["github-actions","hack","hacking","nightmarejs","poll","poll-website","polldaddy","polldaddy-surveys","vote-application","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/hfreire.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":"hfreire","custom":"https://paypal.me/hfreire"}},"created_at":"2017-03-01T19:15:16.000Z","updated_at":"2024-12-06T05:58:11.000Z","dependencies_parsed_at":"2023-02-14T04:31:51.318Z","dependency_job_id":null,"html_url":"https://github.com/hfreire/pollmommy","commit_stats":null,"previous_names":[],"tags_count":98,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hfreire%2Fpollmommy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hfreire%2Fpollmommy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hfreire%2Fpollmommy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hfreire%2Fpollmommy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hfreire","download_url":"https://codeload.github.com/hfreire/pollmommy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240416579,"owners_count":19797840,"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":["github-actions","hack","hacking","nightmarejs","poll","poll-website","polldaddy","polldaddy-surveys","vote-application","voting"],"created_at":"2024-08-01T05:01:28.648Z","updated_at":"2026-01-29T04:50:08.330Z","avatar_url":"https://github.com/hfreire.png","language":"JavaScript","funding_links":["https://github.com/sponsors/hfreire","https://paypal.me/hfreire","https://paypal.me/hfreire/5"],"categories":["JavaScript"],"sub_categories":[],"readme":"# :star: Hack your :see_no_evil: vote out of :chart_with_upwards_trend: Polldaddy surveys - used by :moneybag: BBC, Microsoft, Forbes, Pfizer, IBM\n\n[![](https://github.com/hfreire/pollmommy/workflows/ci/badge.svg)](https://github.com/hfreire/pollmommy/actions?workflow=ci)\n[![Coverage Status](https://coveralls.io/repos/github/hfreire/pollmommy/badge.svg?branch=master)](https://coveralls.io/github/hfreire/pollmommy?branch=master)\n[![Known Vulnerabilities](https://snyk.io/test/github/hfreire/pollmommy/badge.svg)](https://snyk.io/test/github/hfreire/pollmommy)\n[![](https://img.shields.io/github/release/hfreire/pollmommy.svg)](https://github.com/hfreire/pollmommy/releases)\n[![Version](https://img.shields.io/npm/v/pollmommy.svg)](https://www.npmjs.com/package/pollmommy)\n[![Downloads](https://img.shields.io/npm/dt/pollmommy.svg)](https://www.npmjs.com/package/pollmommy)\n\n\u003e Uses a headless browser to visit a poll website and inject JavaScript code to perform the desired poll voting.\n\n\u003cp align=\"center\"\u003e\u003cimg src=\"https://raw.githubusercontent.com/hfreire/pollmommy/master/share/github/voting-screencapture.gif\" width=\"640\"\u003e\u003c/p\u003e\n\n### Features\n* Uses [Nightmare](http://www.nightmarejs.org/) :scream: to generate legit traffic on the poll website :white_check_mark:\n* Supports [Bluebird](https://github.com/petkaantonov/bluebird) :bird: promises :white_check_mark:\n\n### How to install\n```\nnpm install pollmommy -g\n```\n\n### How to use\n\n#### Fetch the required parameters\nParameter | Description | How to get it\n:---:|:---:|:---:\nPoll URL | The poll's website URL. | Polldaddy's poll website or the embedded poll website.\nPoll id | The Polldaddy's poll identifier. | Inspect the website HTML code and search for this pattern PDI_container`NUMBER` - `NUMBER` will be the id.\nPoll option id | The Polldaddy's poll option identifier. | Pick the desired option and inspect the website HTML code and search for this pattern PDI_answer`NUMBER` - `NUMBER` will be the id.\n\n\n#### Use it in your terminal\n```\npollmommy -u http://bbc.co.uk/should-trump-be-fired.html -i 324345 -o 12939\n```\n\n#### Use it in your app\nCreate a pollmommy instance and vote to get Trump fired\n```javascript\nconst Pollmommy = require('pollmommy')\nconst pollmommy = new Pollmommy()\n\npollmommy.vote('http://bbc.co.uk/should-trump-be-fired.html', 324345, 12939)\n  .then(() =\u003e console.log('Voted successfully!'))\n  .catch((error) =\u003e console.error(error.message))\n```\n\n### How to contribute\nYou can contribute either with code (e.g., new features, bug fixes and documentation) or by [donating 5 EUR](https://paypal.me/hfreire/5). You can read the [contributing guidelines](CONTRIBUTING.md) for instructions on how to contribute with code.\n\nAll donation proceedings will go to the [Sverige för UNHCR](https://sverigeforunhcr.se), a swedish partner of the [UNHCR - The UN Refugee Agency](http://www.unhcr.org), a global organisation dedicated to saving lives, protecting rights and building a better future for refugees, forcibly displaced communities and stateless people.\n\n### Used by\n* [make-porto-win-european-best-destination-2017](https://github.com/hfreire/make-porto-win-european-best-destination-2017) - Let's make :city_sunrise: Porto :trophy: win the :euro: European Best Destination :tada: 2017\n\n### License\nRead the [license](./LICENSE.md) for permissions and limitations.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhfreire%2Fpollmommy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhfreire%2Fpollmommy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhfreire%2Fpollmommy/lists"}