{"id":23815730,"url":"https://github.com/arpan-206/hashpoll-cli","last_synced_at":"2025-02-21T20:41:29.848Z","repository":{"id":62593034,"uuid":"540430068","full_name":"Arpan-206/hashpoll-cli","owner":"Arpan-206","description":null,"archived":false,"fork":false,"pushed_at":"2022-10-17T11:08:54.000Z","size":786,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-02T04:30:13.996Z","etag":null,"topics":["cli","command-line-tool","hacktoberfest","hashnode"],"latest_commit_sha":null,"homepage":"https://hashpoll.hackersreboot.tech/cli","language":"Python","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/Arpan-206.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":["Arpan-206"],"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":null}},"created_at":"2022-09-23T12:29:55.000Z","updated_at":"2023-02-13T18:06:29.000Z","dependencies_parsed_at":"2022-11-03T23:10:16.873Z","dependency_job_id":null,"html_url":"https://github.com/Arpan-206/hashpoll-cli","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/Arpan-206%2Fhashpoll-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Arpan-206%2Fhashpoll-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Arpan-206%2Fhashpoll-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Arpan-206%2Fhashpoll-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Arpan-206","download_url":"https://codeload.github.com/Arpan-206/hashpoll-cli/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240085992,"owners_count":19745817,"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":["cli","command-line-tool","hacktoberfest","hashnode"],"created_at":"2025-01-02T04:27:56.748Z","updated_at":"2025-02-21T20:41:29.818Z","avatar_url":"https://github.com/Arpan-206.png","language":"Python","readme":"# Hashpoll (CLI)\n\n![Hashpoll Banner](assets/Hashpoll.png)\n\nHashpoll is a hashnode widget that enables seamless polls on any post. It is a lightweight tool that generates code for you to put in hashnode's widget field to create polls that just blend in with the rest of your content. You can use it directly from the command line or through the Web interface, and manage your poll as needed.\n\nHashpoll CLI is a handy tool to extend and supplement Hashpoll. It allows you to seamlessly create polls from the command line. The tool automatically gives you the code to place in the widgets section of Hashnode. \n\n## Installation\n\nInstall hashpoll-cli with pip\n\n```bash\n  pip install hashpoll-cli\n```\n    \n# Hashnode Widgets\n\nYou can learn how to use hashnode widget over [here](https://townhall.hashnode.com/hashnode-widgets).\n## Commands\n\n### Create\nThis is the command to create polls from the CLI.  \n\n```bash\nhashpoll create [question] --option1 [option1] --option2 [option2] --option3 [option3] --option4 [option4]\n```\nor\n```bash\npython -m hashpoll create [question] --option1 [option1] --option2 [option2] --option3 [option3] --option4 [option4]\n```\n\n[![asciicast](https://asciinema.org/a/pZfU2ZIyot72RmtSD6yzfSioz.svg)](https://asciinema.org/a/pZfU2ZIyot72RmtSD6yzfSioz)\n\n#### Tips\n1. Put the question or options (if multiple words) in quotes to avoid the terminal registering this as multiple arguments.\n2. If you miss adding one of the options, the program will prompt you for entering them.\n\n### View\nThis is a command for viewing all details of a particular poll.\n\n```bash\nhashpoll view [Poll ID]\n```\n\nor \n\n```bash\npython -m hashpoll view [Poll ID]\n```\n\n[![asciicast](https://asciinema.org/a/LHrMNStGjVkRMP4hbGu5otF0L.svg)](https://asciinema.org/a/LHrMNStGjVkRMP4hbGu5otF0L)\n\n### Vote\nThis is a command to vote on a specific poll.\n\n```bash\nhashpoll vote [Poll ID] [Option Number]\n```\n\nor\n\n```bash\npython -m hashpoll vote [Poll ID] [Option Number]\n```\n\n[![asciicast](https://asciinema.org/a/1FDpi9gaVHZqeaLuxKAnjXecg.svg)](https://asciinema.org/a/1FDpi9gaVHZqeaLuxKAnjXecg)\n\n### Open-poll\nThis is a simple command to open a poll in the default browser.\n\n```bash\nhashpoll open-poll [Poll ID]\n```\n\nor\n\n```bash\npython -m hashpoll open-poll [Poll ID]\n```\n\n[![asciicast](https://asciinema.org/a/wA9D9Smrwx3H1dVkiaXZ1FzWC.svg)](https://asciinema.org/a/wA9D9Smrwx3H1dVkiaXZ1FzWC)\n\n### Results\nThis is a command to fetch the current data from poll responses.\n\n```bash\nhashpoll results [Poll ID]\n```\n\nor\n\n```bash\npython -m hashpoll results [Poll ID]\n```\n\n[![asciicast](https://asciinema.org/a/p455OvYTuy6e7Q9bECDWWDkbT.svg)](https://asciinema.org/a/p455OvYTuy6e7Q9bECDWWDkbT)\n\n### Code\nThis is handy commad to generate the Hashnode Widget Code for a particular poll.\n\n```bash\nhashpoll code [Poll ID]\n```\n\nor \n\n```bash\npython -m hashpoll code [Poll ID]\n```\n\n[![asciicast](https://asciinema.org/a/0R0xeOpRnSphSxKHOvVNcq2uR.svg)](https://asciinema.org/a/0R0xeOpRnSphSxKHOvVNcq2uR)\n## Features\n\n- Lightweight\n- CLI and Web Based\n- Seamless\n- Easy-to-integrate\n\n\n## Authors\n\n- [@Arpan-206](https://github.com/Arpan-206)\n\n\n## Tech Stack\n\n**Client:** AWS Amplify, Svelte, Typer, Rich, PicoCSS\n\n**Server:** Node, AWS Amplify, FastAPI\n\n## Roadmap\n\n- Password Protection\n\n- In-depth analytics\n\n- Authentication\n\n- Ability to modify a poll\n\n\n## License\n\n[MIT](https://choosealicense.com/licenses/mit/)\n\n\n## Acknowledgements\n\nHashpoll would like to thank the teams behind the following projects as they played a crucial part in enabling Hahpoll.\n\n - [AWS Amplify](https://aws.amazon.com/amplify/)\n - [Hashnode](https://hashnode.com/)\n - [FastAPI](https://fastapi.tiangolo.com/)\n - [Typer](https://typer.tiangolo.com/)\n - [PicoCSS](https://picocss.com/)\n\n\n## Feedback\n\nIf you have any feedback, please reach out to us at [arpan@hackersreboot.tech](mailto:arpan@hackersreboot.tech).\n\n\n## Contributing\n\nContributions are always welcome!\n\nSee `contributing.md` for ways to get started.\n\nPlease adhere to this project's `code of conduct`.\n","funding_links":["https://github.com/sponsors/Arpan-206"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farpan-206%2Fhashpoll-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farpan-206%2Fhashpoll-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farpan-206%2Fhashpoll-cli/lists"}