karan / Slashgif
Licence: apache-2.0
Post GIFs to Twitter by doing "@slashgif coffee break"
Stars: ✭ 53
Programming Languages
python
139335 projects - #7 most used programming language
slashgif
The missing GIF Twitter bot. Simply tag @slashgif in your tweet with a search term.
Where is this bot running?
Currently I'm running this bot on a 1GB DigitalOcean instance (yes, that's an affiliate link. Use that to get a free VPS for 2 months). The bot is not resource-intensive and uses a couple dozen MBs of RAM.
Running
Requirements
- Python 3.4
- pip3
- sqlite3
Instructions
Create a file called config.py
that looks like config_example.py
. Fill in the necessary values.
For Twitter config:
- Register your app
- Get your app's key and secret.
- Create token and get the token and secret.
- Get a Giphy API key.
Then, to run the bot:
$ pip3 install -r requirements.txt
$ python3 bot.py
License
Apache 2.0
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].