Skip to content

Latest commit

 

History

History
51 lines (35 loc) · 1.46 KB

readme.md

File metadata and controls

51 lines (35 loc) · 1.46 KB

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.