{"id":19309896,"url":"https://github.com/fletchto99/hn-bot-docker","last_synced_at":"2026-07-04T04:30:19.282Z","repository":{"id":150769376,"uuid":"229511298","full_name":"fletchto99/hn-bot-docker","owner":"fletchto99","description":"A docker container to run qznc/hn_bot","archived":false,"fork":false,"pushed_at":"2019-12-23T19:40:20.000Z","size":15,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-06T01:44:23.508Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://reddit.com/r/hackernews","language":"Shell","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/fletchto99.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-12-22T03:05:56.000Z","updated_at":"2024-12-30T07:15:56.000Z","dependencies_parsed_at":"2023-05-20T20:45:39.713Z","dependency_job_id":null,"html_url":"https://github.com/fletchto99/hn-bot-docker","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/fletchto99%2Fhn-bot-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fletchto99%2Fhn-bot-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fletchto99%2Fhn-bot-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fletchto99%2Fhn-bot-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fletchto99","download_url":"https://codeload.github.com/fletchto99/hn-bot-docker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240410592,"owners_count":19796922,"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":[],"created_at":"2024-11-10T00:21:25.208Z","updated_at":"2026-07-04T04:30:19.237Z","avatar_url":"https://github.com/fletchto99.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HN Bot\n\nThis is a containerized version of the qznc's [hackernews bot](https://github.com/qznc/hn_bot) used to post to [/r/hackernews](https://reddit.com/r/hackernews). The bot runs in a cron job every hour.\n\n## Usage\n\n```\ndocker run \\\n  --name=hn_bot \\\n  -v \u003cpath to data\u003e:\u003cpath inside container\u003e \\\n  -e praw_client_id=\u003cclient id\u003e \\\n  -e praw_client_secret=\u003cclient secret\u003e \\\n  -e praw_username=\u003cusername\u003e \\\n  -e praw_password=\u003cpassword\u003e \\\n  -e database_file=\u003cpath\u003e \\\n  fletchto99/hn-bot\n```\n\n## Parameters\n* `-v \u003cpath to data\u003e:\u003cpath inside container\u003e`\n* `-e praw_client_id` - The bot's client ID\n* `-e praw_client_secret` - The bot's client ID\n* `-e praw_username` - The bot's username on reddit\n* `-e praw_password` - The bot's password\n\nFor more information see the [praw documentation](https://praw.readthedocs.io/en/latest/getting_started/configuration/options.html#configuration-options).\n\n## Optional Parameters\n* `-e databsase_file` - The path to the databse file (preferably mounted on a persistent volume)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffletchto99%2Fhn-bot-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffletchto99%2Fhn-bot-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffletchto99%2Fhn-bot-docker/lists"}