Skip to content

A Twitter bot that likes Tweets with #Photography occasionally and tweets an image every 3 hours, assigns it its author and tags it with a word and the respective guess confidence percentage using APIs

Notifications You must be signed in to change notification settings

jjasferreira/kuvbot-py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Logo kuvbot-py

Follow @kuvbot

Tweet to @kuvrep

Kuv is a Twitter bot written in Python 3.10.5 that scrapes images from across the web, edits them, credits them to their author, tags them with a word and a corresponding confidence percentage using A.I. techniques, and finally tweets them.

Image

It is currently using the Unsplash API as an image source, the Imagga API for image recognition and the Twitter API for programmatic access to Twitter in advanced ways.

Image scraping is guaranteed by the Requests HTTP library. To edit them, the used module is Pillow, the Python Imaging Library fork. To easily access the Twitter API from Python, Tweepy has been used.

In order to keep consistency in this project, black has been used as a code formatter for Python files.

If you'd like to contribute, feel free to open a pull request and if proven helpful, I will credit you! 😄

About

A Twitter bot that likes Tweets with #Photography occasionally and tweets an image every 3 hours, assigns it its author and tags it with a word and the respective guess confidence percentage using APIs

Topics

Resources

Stars

Watchers

Forks

Languages