Skip to content

Mastodon bot posting a movie from themoviedb every day.

License

Notifications You must be signed in to change notification settings

treipatru/movies-today-bot

Repository files navigation

Movies Today Bot

Node.js based Mastodon bot.

Each day, select a movie released this day from a previous year and post it on Mastodon.

About

  • Built in TypeScript, running on Node.js on an Alpine Linux image.
  • Using data from tmdb.org.
  • Running jobs via Bree.

APIs

You will need to set up an .env.production or .env.development file for this to work.

The required keys can be found in .env.example.

Run locally

The project is fully dockerized, no local dependencies required. Just clone and run:

docker compose --profile development up

Deploy

An image is built with every release and is available on hub.docker.com.

The prefered way to boot the project is via a compose file. Here is an example:

services:
  movies-today-bot:
    image: treipatru/movies-today-bot:latest
    container_name: movies-today-bot
    restart: always
    environment:
      - NODE_ENV=production
    env_file:
      - .env.production

License

Distributed under the MIT license. See LICENSE for more information.