Skip to content

Your little sister is listening to Taylor Swift's You Belong With Me, but it's distorted because you're hiding in another room.

Notifications You must be signed in to change notification settings

kalilsn/another-room-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Another Room Bot

Setup

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
  • ffmpeg – Video utility
    • Mac: brew install ffmpeg
    • Ubuntu: sudo apt-get install ffmpeg
  • jq - Command line JSON processor
    • Mac: brew install jq

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=

Usage

To post a tweet, run python3 bot.py.

Song Corpus

About

Your little sister is listening to Taylor Swift's You Belong With Me, but it's distorted because you're hiding in another room.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published