{"id":34775139,"url":"https://github.com/paradox460/rubyreddit_bot","last_synced_at":"2026-03-27T01:56:07.594Z","repository":{"id":6957260,"uuid":"8209453","full_name":"paradox460/rubyreddit_bot","owner":"paradox460","description":"A stupidly simple ruby reddit moderation bot","archived":false,"fork":false,"pushed_at":"2013-11-04T18:49:32.000Z","size":144,"stargazers_count":4,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-12-26T19:47:53.205Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/paradox460.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-02-14T22:55:07.000Z","updated_at":"2015-02-21T11:18:38.000Z","dependencies_parsed_at":"2022-07-29T01:18:24.224Z","dependency_job_id":null,"html_url":"https://github.com/paradox460/rubyreddit_bot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/paradox460/rubyreddit_bot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paradox460%2Frubyreddit_bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paradox460%2Frubyreddit_bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paradox460%2Frubyreddit_bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paradox460%2Frubyreddit_bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/paradox460","download_url":"https://codeload.github.com/paradox460/rubyreddit_bot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paradox460%2Frubyreddit_bot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31008455,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-27T01:50:43.500Z","status":"ssl_error","status_checked_at":"2026-03-27T01:50:41.231Z","response_time":114,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":"2025-12-25T08:14:49.175Z","updated_at":"2026-03-27T01:56:07.570Z","avatar_url":"https://github.com/paradox460.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"This is the stupidly simple reddit moderation bot. Its designed to be no-frills, but just work. It has very few dependencies (the snoo gem, and highline for the `reddit_auth.rb` scriptlet), doesn't use SQL or any web UI, and is run out of a config file.\n\n# Background\nThis bot started out largely as a proof of concept of usage of the [snoo](/paradox460/snoo) gem, and then grew from there. It has grown organically to suit my needs across a few large subreddits, but the goal was always simplicity. I wanted something I could run with CRON, edit with vim, and check on via modlogs. This satisfies all three requirements\n\n# Setup\nThis assumes you have a cursory knowledge of how ruby works, how the terminal works, and how cron works. If not, I would read up on all three until you are comfortable with them. You do not have to know ruby to make the bot run. You do have to know how to run a ruby script.\n\n1. Clone the repo to your server. You can run this on a desktop machine, but it wont work as a bot very well\n2. Install dependencies by running the `bundle` command.\n3. Configure the `rubyreddit.yml` file to your liking. It is well commented, and controls the entire function of the bot\n  + To get your modhash/cookie pair, use the `reddit_auth.rb` script included. Run this via `ruby reddit_auth.rb`, and follow the prompts\n4. Run the bot once to make sure it works right. `ruby rubyreddit.rb`. You will get an interactive log, regardless of how you configured yaml.\n5. Add the bot to your cron tab, running say, once every 5 minutes\n6. Sit back and enjoy\n\n# License\n```\nCopyright (c) 2013 Jeff Sandberg\n\nMIT License\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of\nthis software and associated documentation files (the \"Software\"), to deal in\nthe Software without restriction, including without limitation the rights to\nuse, copy, modify, merge, publish, distribute, sublicense, and/or sell copies\nof the Software, and to permit persons to whom the Software is furnished to do\nso, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparadox460%2Frubyreddit_bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fparadox460%2Frubyreddit_bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparadox460%2Frubyreddit_bot/lists"}