A simple expressjs application to consume webhook events from plex and post alerts for new content to discord
- nodejs
- Clone the repo
git clone https://github.com/TylerEisenhauer/plexannouncer.git
- Install NPM packages
npm install
- Create a
.env
file at the project root and add yourWEBHOOK_ID
andWEBHOOK_TOKEN
from discordWEBHOOK_ID=YOUR_WEBHOOK_ID WEBHOOK_TOKEN=YOUR_WEBHOOK_TOKEN
-
Start the project, it will be listening for an event at
http://localhost:3030/hook
npm start
-
Add the local ip address of the machine running the project to the plex webhook page.
- Upon adding movies and tv shows/episodes you will now receive alerts via your discord webhook
Distributed under the MIT License.