Skip to content

daifdaifdaif/sickbotsocial

Repository files navigation

sickbotsocial

it girl bot ///////// / 
underground literatin / kunstfigur ///////// ///////// 
virtual art performance ///////// 

www.dieyungenhuren.hiv

twitter | instagram

searchable archive of generated tweets and images: images | tweets


twitter bot that generates tweets in the style of Jessica Jurassica and crossposts user-curated tweets to instagram, remixing existing instagram-content by Jessica Jurassica. it's designed to slowly replace Jessica Jurassica on social media.

it generates tweets based on all of Jessica Jurassicas tweets and all of its own, previously generated tweets as well. therefore, after ~10k tweets, it started to emancipate itself from its influence and recursively became its own inspiration. twitter-users, who interact with the tweets of this bot, act as curators: if any tweet gets a predifined amount of "attention", it will get crossposted to instagram. the previous instagram-posts of Jessica Jurassica serve as an image library, which gets transformed and remixed, and then used as backgrounds for the tweets.


text generation based on markov chains. image remixing done with pillow. twitter-access via tweepy. instagram-access via instagram-private-api.


the implementation of the instagram API in this repository is broken. the bot locally runs using instagram-private-API now. I suggest taking a look at instagram-private-api, if you want to copy this project. text- or twitter-only implementation is still possible with this repository, image generation as well.


executable modules:

  • jj-quote.py - main
  • print_quote.py - overlays quote on image file

executable scripts:

  • tw_favs_to_insta.py - checks for twitter interaction & triggers image generation

helper modules:

  • clean_tweet.py - regex clean up, removes mentions, "RT" etc

config & usage:

multiple parameters can be edited in config.py. online functionality (reading new tweets, tweeting, crossposting to instagram) is disabled per default (set first three variables in config.py to change this). twitter API keys and an instagram account are necessary for these features. the supplied corpus file isn't up to date (27.11.18), please pull all the newer Jessica Jurassica tweets by yourself or use twitter API key and let tw_favs_to_insta.py pull the tweets for you.

  1. clone github repo
  2. run install: python setup.py install
  3. setup config.py file (add path to font file font_file="")
  4. add .jpg images to folder insta-pics/ (optional)
  5. run python sickbotsocial/jj-quote.py

if online functionality is disabled, quotes are directly output in the terminal window. created image files are found in the output directory.


python requirements:

runs on python 2.7

additional tools:

  • instaloader (used to update library of instagram pics)

written by DAIF & Jessica Jurassica, 2019-2021. #dieyungenhurendothiv