This a simple bot that posts new diary entries from your Letterboxd friends to your preferred Discord channel.
Use this handy link to add the bot. Or follow the instructions below on how to run it yourself.
/add
- Subscribes to a Letterboxd user’s new diary entries/remove
- Unsubscribe a Letterboxd user/list
- See a list of all the current users/channel
- Update which channel to post to. (Defaults to the system channel)Right now all this bot does is scrape RSS feeds. I’m hoping to get access to Letterboxd API to introduce new functionality.
Clone this repo to your computer.
git clone git@github.com:caseypugh/letterboxd-discord-bot.git
cd letterboxd-discord-bot
Make sure your have Node 16 installed. If you’re using nvm
…
nvm install 16
nvm use 16
Create an .env
from the sample file and input your Discord credentials and local Redis server URL
cp .env.sample .env
Data for this bot is stored in Postgresql and uses Prisma as the ORM. Make sure you have a Postgres server running and set the DATABASE_URL
in your env.
Install latest dependencies
yarn install
Run any pending database migrations
yarn db:migrate
And finally start the dev server
# Suports hot reloading
yarn dev