{"id":16761790,"url":"https://github.com/angristan/twitter-pic-bot","last_synced_at":"2025-03-16T10:14:34.666Z","repository":{"id":153244805,"uuid":"159887320","full_name":"angristan/twitter-pic-bot","owner":"angristan","description":"A very simple Ruby bot that tweets random pictures from a directory","archived":false,"fork":false,"pushed_at":"2021-05-23T20:36:54.000Z","size":2,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-15T15:45:03.279Z","etag":null,"topics":["bot","ruby","twitter"],"latest_commit_sha":null,"homepage":"","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/angristan.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":"2018-11-30T22:53:48.000Z","updated_at":"2022-08-06T09:12:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"8ad1e91a-57e5-4965-937c-edf08aa19fe4","html_url":"https://github.com/angristan/twitter-pic-bot","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/angristan%2Ftwitter-pic-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/angristan%2Ftwitter-pic-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/angristan%2Ftwitter-pic-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/angristan%2Ftwitter-pic-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/angristan","download_url":"https://codeload.github.com/angristan/twitter-pic-bot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243852504,"owners_count":20358272,"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":["bot","ruby","twitter"],"created_at":"2024-10-13T04:43:28.439Z","updated_at":"2025-03-16T10:14:34.627Z","avatar_url":"https://github.com/angristan.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Twitter Picture Bot\n\nA very simple bot that tweets random pictures from a directory\n\n## Installation\n\n```sh\n$ git clone https://github.com/angristan/twitter-pic-bot\n$ cd twitter-pic-bot\n$ bundle install\n```\n\n## Configuration\n\nCreate an app on [app.twitter.con](https://apps.twitter.com/) and get your credentials.\n\nCopy `.config-sample.rb` to `.config.rb` and fill it with these credentials.\n\n## Usage\n\n```sh\n$ ruby bot.rb\n```\n\nIt will tweet a random picture (`{jpg,jpeg,png,gif}`) from the `./media/` folder.\n\nYou can put this in a cron or modify the script to use [sleep()](https://ruby-doc.org/core-2.5.0/Kernel.html#method-i-sleep) in an infinite loop.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fangristan%2Ftwitter-pic-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fangristan%2Ftwitter-pic-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fangristan%2Ftwitter-pic-bot/lists"}