Another room bot is built for Python 3.7 and uses pipenv to manage python dependencies. To install these dependencies, run pipenv install
. In addition to the python dependencies, there are a few os-level dependencies:
- sox – Audio processing utility
- Mac:
brew install sox --with-lame
- Ubuntu:
sudo apt-get install sox libsox-fmt-all
- Mac:
- ffmpeg – Video utility
- Mac:
brew install ffmpeg
- Ubuntu:
sudo apt-get install ffmpeg
- Mac:
- jq - Command line JSON processor
- Mac:
brew install jq
- Mac:
The bot requires twitter credentials and a youtube api key. It expects them to be available via the following environment variables:
TWITTER_CONSUMER_KEY=
TWITTER_CONSUMER_SECRET=
TWITTER_ACCESS_TOKEN=
TWITTER_ACCESS_TOKEN_SECRET=
YOUTUBE_API_KEY=
To post a tweet, run python3 bot.py
.
- angrbrd's top500-playlist
- Bea's top 2017 and 2018 Spotify playlists