/tweetshot

Tweet screenshot maker built with flask and selenium.

Primary LanguagePython

TweetShot

Screenshot 2021-07-18 at 19-50-18 TweetShot

A simple, heroku-compatible Twitter tweets screenshot generator. A sample project I made while learning Python, Flask, and Selenium.

How to run

  1. install pipenv if you don't have it already, then run pipenv install, followed by pipenv shell

  2. provide your own Chromedriver executable path:

    export CHROMEDRIVER_PATH=/path/to/chromedriver
    

    and Chrom(e/ium):

    export GOOGLE_CHROME_BIN=/path/to/chrome-browser
    
  3. start the server by running gunicorn main:app