{"id":15483571,"url":"https://github.com/coolprobn/ruby-twitter-bot","last_synced_at":"2026-02-05T03:32:43.027Z","repository":{"id":41767291,"uuid":"308875163","full_name":"coolprobn/ruby-twitter-bot","owner":"coolprobn","description":"Twitter bot which retweets #rails and #ruby hashtags (case insensitive). Developed with Ruby.","archived":false,"fork":false,"pushed_at":"2022-07-01T07:39:24.000Z","size":18,"stargazers_count":8,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-07-13T01:34:03.373Z","etag":null,"topics":["ruby","twitter-bot"],"latest_commit_sha":null,"homepage":"https://twitter.com/ruby_rails_bot","language":"Ruby","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/coolprobn.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":"2020-10-31T12:19:05.000Z","updated_at":"2025-04-26T15:36:18.000Z","dependencies_parsed_at":"2022-08-11T16:02:32.610Z","dependency_job_id":null,"html_url":"https://github.com/coolprobn/ruby-twitter-bot","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/coolprobn/ruby-twitter-bot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coolprobn%2Fruby-twitter-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coolprobn%2Fruby-twitter-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coolprobn%2Fruby-twitter-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coolprobn%2Fruby-twitter-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/coolprobn","download_url":"https://codeload.github.com/coolprobn/ruby-twitter-bot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coolprobn%2Fruby-twitter-bot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29109299,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-05T03:27:05.906Z","status":"ssl_error","status_checked_at":"2026-02-05T03:26:43.416Z","response_time":65,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["ruby","twitter-bot"],"created_at":"2024-10-02T05:18:45.120Z","updated_at":"2026-02-05T03:32:43.003Z","avatar_url":"https://github.com/coolprobn.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ruby-twitter-bot\nTwitter bot which retweets #rails and #ruby hashtags (case insensitive). Developed with Ruby.\n\n# Run the bot\n\n1. Install dependencies\n\n   `bundle install`\n\n2. Copy `config/application.yml` from `config/application.yml.sample` and add all required values that you get from Twitter Api configs\n\n3. Run the bot from project root\n\n   `ruby app/services/twitter/re_tweet_service.rb`\n\n4. You can change the hashtags you want the bot to retweet from inside `app/services/twitter/re_tweet_service.rb`\n\n   - Update constant `HASHTAGS_TO_WATCH`\n\n5. Run bot in background\n\n   ```\n    # Create a new shell\n    $ screen -S twitter-bot\n\n    # Run the twitter bot (you should be inside project root)\n    $ ruby app/services/twitter/re_tweet_service.rb \n    \n    # Detach ruby bot and move to original screen\n    $ CTRL + a + d\n    \n    # Return to the screen where bot is running\n    $ screen -r twitter-bot\n   ```\n   \n   Ref: [Run Ruby script in the background](https://stackoverflow.com/a/6391255/9359123)\n\n   **NOTE:** If you have deployed bot to remote server, you need to restart the bot after server restart because it kills the script running in background \n\n# TODO\n\n1. Allow to update the hashtags from `application.yml`.\n2. Create initializer file and add gem require and figaro config to it.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoolprobn%2Fruby-twitter-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcoolprobn%2Fruby-twitter-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoolprobn%2Fruby-twitter-bot/lists"}