https://github.com/shivan-s/twitter-optom-bot
A bot on Twitter to retweet optometry and ophthalmology related material.
https://github.com/shivan-s/twitter-optom-bot
bot docker opthalmology optometry python twitter
Last synced: 11 months ago
JSON representation
A bot on Twitter to retweet optometry and ophthalmology related material.
- Host: GitHub
- URL: https://github.com/shivan-s/twitter-optom-bot
- Owner: shivan-s
- License: mit
- Created: 2021-01-01T22:30:26.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-11-27T10:46:30.000Z (over 4 years ago)
- Last Synced: 2025-07-24T07:34:26.583Z (11 months ago)
- Topics: bot, docker, opthalmology, optometry, python, twitter
- Language: Python
- Homepage: https://twitter.com/optombot
- Size: 40 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.MD
- License: LICENSE
Awesome Lists containing this project
README
# OptomBot - A Twitter Bot
[](https://github.com/ShivanS93/twitter-optom-bot/actions/workflows/main.yml)
*Made by Shivan Sivakumaran*
## Introduction
This 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.
The objective is to create a bot that favourites and retweets Optometry related posts on twitter.
[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.
## Running it yourself
This requires creating your own requirement `.env` file and authenticated access for a bot account through https://dev.twitter.com.
The `.env` file is used to contain the environment variables, which will house the API keys and tokens. The file is structured as follows:
```
APIkey=
APISecretKey=
BearerToken=
AccessToken=
AccessTokenSecret=
```
## Some more pre-requistes
This requires
- `pipenv`
- `docker`and `docker-compose`
- Any python 3.8.10
## Link to the bot
[Here is the bot on twitter](https://twitter.com/OptomBot).
## Feedback
If you have any feedback, [please get in touch with me](https://shivansivakumaran/contact).