{"id":20844125,"url":"https://github.com/shivan-s/twitter-optom-bot","last_synced_at":"2025-07-29T19:34:57.554Z","repository":{"id":55398927,"uuid":"326066707","full_name":"shivan-s/twitter-optom-bot","owner":"shivan-s","description":"A bot on Twitter to retweet optometry and ophthalmology related material.","archived":false,"fork":false,"pushed_at":"2021-11-27T10:46:30.000Z","size":41,"stargazers_count":0,"open_issues_count":4,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-07-24T07:34:26.583Z","etag":null,"topics":["bot","docker","opthalmology","optometry","python","twitter"],"latest_commit_sha":null,"homepage":"https://twitter.com/optombot","language":"Python","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/shivan-s.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":"2021-01-01T22:30:26.000Z","updated_at":"2021-11-27T11:06:20.000Z","dependencies_parsed_at":"2022-08-14T23:20:59.207Z","dependency_job_id":null,"html_url":"https://github.com/shivan-s/twitter-optom-bot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/shivan-s/twitter-optom-bot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shivan-s%2Ftwitter-optom-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shivan-s%2Ftwitter-optom-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shivan-s%2Ftwitter-optom-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shivan-s%2Ftwitter-optom-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shivan-s","download_url":"https://codeload.github.com/shivan-s/twitter-optom-bot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shivan-s%2Ftwitter-optom-bot/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267744237,"owners_count":24137773,"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","status":"online","status_checked_at":"2025-07-29T02:00:12.549Z","response_time":2574,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["bot","docker","opthalmology","optometry","python","twitter"],"created_at":"2024-11-18T02:08:34.603Z","updated_at":"2025-07-29T19:34:57.464Z","avatar_url":"https://github.com/shivan-s.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OptomBot - A Twitter Bot\n[![Build](https://github.com/ShivanS93/twitter-optom-bot/actions/workflows/main.yml/badge.svg)](https://github.com/ShivanS93/twitter-optom-bot/actions/workflows/main.yml)\n*Made by Shivan Sivakumaran*\n\n## Introduction\n\nThis is a fun little project for me to get acquainted with twitter API through use of `tweepy`. In addition to this, I gain experience in deployment using Docker ~~and Amazon EC2 instance~~ and a Digital Ocean droplet.\n\nThe objective is to create a bot that favourites and retweets Optometry related posts on twitter.\n\n[Here is a blog post related to motivation and inception of the bot](https://shivansivakumaran.com/coding/how-i-created-a-twitter-bot-to-help-my-career-as-an-optometrist/). Though this blog is slightly outdated.\n\n## Running it yourself\n\nThis requires creating your own requirement `.env` file and authenticated access for a bot account through https://dev.twitter.com.\n\nThe `.env` file is used to contain the environment variables, which will house the API keys and tokens. The file is structured as follows:\n```\nAPIkey=\u003cAPI Key\u003e\nAPISecretKey=\u003cAPI Secret Key\u003e\nBearerToken=\u003cBearer Token\u003e\nAccessToken=\u003cAccess Token\u003e\nAccessTokenSecret=\u003cAccess Token Secret\u003e\n```\n\n## Some more pre-requistes\n\nThis requires\n- `pipenv`\n- `docker`and `docker-compose`\n- Any python 3.8.10\n\n## Link to the bot\n\n[Here is the bot on twitter](https://twitter.com/OptomBot).\n\n## Feedback\n\nIf you have any feedback, [please get in touch with me](https://shivansivakumaran/contact).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshivan-s%2Ftwitter-optom-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshivan-s%2Ftwitter-optom-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshivan-s%2Ftwitter-optom-bot/lists"}