{"id":15543222,"url":"https://github.com/collinstatang/rubycapstonebot","last_synced_at":"2025-06-10T21:35:25.583Z","repository":{"id":53621633,"uuid":"348574051","full_name":"CollinsTatang/RubyCapstoneBot","owner":"CollinsTatang","description":"This is a Twitter Bot built with Ruby that tweets some information about the user and sends a random retweet and quote.","archived":false,"fork":false,"pushed_at":"2021-03-20T10:33:37.000Z","size":189,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"development","last_synced_at":"2024-10-03T12:28:31.406Z","etag":null,"topics":["ruby"],"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/CollinsTatang.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":"2021-03-17T03:59:49.000Z","updated_at":"2023-05-09T13:56:26.000Z","dependencies_parsed_at":"2022-09-19T05:41:06.026Z","dependency_job_id":null,"html_url":"https://github.com/CollinsTatang/RubyCapstoneBot","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/CollinsTatang%2FRubyCapstoneBot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CollinsTatang%2FRubyCapstoneBot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CollinsTatang%2FRubyCapstoneBot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CollinsTatang%2FRubyCapstoneBot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CollinsTatang","download_url":"https://codeload.github.com/CollinsTatang/RubyCapstoneBot/tar.gz/refs/heads/development","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250477858,"owners_count":21437056,"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":["ruby"],"created_at":"2024-10-02T12:26:18.413Z","updated_at":"2025-04-23T17:21:40.562Z","avatar_url":"https://github.com/CollinsTatang.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RubyCapstoneBot-\n![](https://img.shields.io/badge/Microverse-blueviolet)\n\n# Ruby Capstone - Twitter Bot\n\nThis is a twitter bot, it tweet and retweet on twitter.\nI made this bot cause I use twitter a lot, so it was only logical. Also the Twitter API is very well documented and made it easy to implement on the project.\nIt has been made using ruby with some classes to take the load from the main script. \nI corrected the errors using Rubocop and used RSpec to do the testing.\n\n## Screenshot\n\n![Screenshot](images/botshot.png)\n\n## Built With\n\n- Ruby\n- Rubocop\n- RSpec\n- Linter\n\n## Getting Started\n\nFirst ensure that you have ruby installed on your local machine.\n\nTo get a local copy up and running follow these simple example steps.\n\n## Prequisites\n\nRuby installed on your local machine.\nTerminal or similar to execute the program.\n\n### Twitter API\n\nYou need to sign up to the developer program in Twitter to get access to their API keys. \nAfter that, open the api.rb file in the lib folder and edit it so that it contains the following: \n\n```\nconfig.consumer_key = 'API-Key'\nconfig.consumer_secret = 'API-Key secret'\nconfig.access_token = 'Access Token'\nconfig.access_token_secret = 'Access Token Secret'\n\n```\n\n### Gem libraries used\n- twitter\n- open-uri\n\nTo install those libraries, simply use terminal like so ```sudo gem install [library name]```\n\n## Install\n\nDownload a copy of the repository\n\n## Usage\n\nIn terminal, cd to the folder ```cd RubyCapstoneBot```\nExecute in terminal like so ```ruby bin/bot.rb```\n\n## Testing\nIn this project the testing was done using RSpec to test all game logic methods.\n\n### Install\n- In a terminal window type gem install rspec\n- Once rspec install has finished, type rspec --init\n- You will see a folder spec and a file .rspec\n- Inside spec folder you'll see a spec_helper.rb file.\n\n### Run\nI have already created test_spec.rb file.\n- go to the folder inside your terminal type rspec test_spec.rb\n- If all test pass you will see:\n `1 examples, 0 failures`\n\n\n## Authors\n\n👤 **Makungong Collins Tatang**\n\n- GitHub: [@CollinsTatang](https://github.com/CollinsTatang)\n- Twitter: [@CollinsTatang1](https://twitter.com/CollinsTatang1)\n- LinkedIn: [makungong-collins](https://www.linkedin.com/in/makungong-collins-b43260190/)\n\n## 🤝 Contributing\n\nContributions, issues, and feature requests are welcome!\n\nFeel free to check the [issues page](https://github.com/CollinsTatang/RubyCapstoneBot/issues).\n\n## Show your support\n\nGive a ⭐️ if you like this project!\n\n## 📝 License\n\nThis project is [MIT](LICENSE) licensed.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcollinstatang%2Frubycapstonebot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcollinstatang%2Frubycapstonebot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcollinstatang%2Frubycapstonebot/lists"}