/MovieWordCloud

Primary LanguagePythonMIT LicenseMIT

MovieWordCloud

A Twitter bot that tweets word clouds based on movies scripts.

How to use

  1. Clone this repo
$ git clone https://github.com/Bgeninatti/MovieWordCloud.git
  1. Fill your database, TMDB and twitter credentials in the auth.env file:

  2. Run the docker container

docker compose up -d

The command will hang forever. This means the container is running and waiting for commands.

The following commands needs to be ran in a separated shell

  1. Download movies data
$ docker compose exec mwc mwc sync-tmdb
  1. Download subtitles for the movies
$ docker compose exec mwc mwc download-missing-subtitles
  1. Tweet a random movie
$ docker compose exec mwc mwc tweet-movie