···2233tautuilli-notification-digest (TND) creates "digest" (timed summary) notifications of **Media Added** events for discord using [Tautulli's](https://tautulli.com/) discord [notification agent](https://github.com/Tautulli/Tautulli/wiki/Notification-Agents-Guide#discord).
4455+<!-- TOC -->
66+* [tautuilli-notification-digest](#tautuilli-notification-digest)
77+* [What Does It Do?](#what-does-it-do)
88+* [Install](#install)
99+ * [Docker](#docker)
1010+ * [Local (Node)](#local-node)
1111+* [Setup](#setup)
1212+ * [Tautulli](#tautulli)
1313+ * [Configuration](#configuration)
1414+ * [ENV](#env)
1515+ * [Docker](#docker-1)
1616+ * [Local](#local)
1717+ * [File](#file)
1818+ * [Docker](#docker-2)
1919+ * [Local](#local-1)
2020+* [Run](#run)
2121+ * [Docker](#docker-3)
2222+ * [Local](#local-2)
2323+* [Options](#options)
2424+ * [Embed Formats](#embed-formats)
2525+ * [Poster](#poster)
2626+ * [Thumbnail](#thumbnail)
2727+ * [Text](#text)
2828+ * [List](#list)
2929+ * [Embed Format Collapse](#embed-format-collapse)
3030+ * [Default Collapse Settings](#default-collapse-settings)
3131+ * [Overflow](#overflow)
3232+ * [Deduplication Behavior](#deduplication-behavior)
3333+* [API](#api)
3434+ * [Tautuilli Webhook](#tautuilli-webhook)
3535+ * [Run Pending Notifications](#run-pending-notifications)
3636+<!-- TOC -->
3737+538# What Does It Do?
639740Tautulli already provides an email "newsletter" that compiles triggered events (media added) from Plex and then sends it as one email at a set time.
···77110docker run -e DISCORD_WEBHOOK="https://discord.com/api/webhooks/606873513" -e CRON="0 17 * * *" ... ghcr.io/foxxmd/tautuilli-notification-digest
78111```
79112113113+**NOTE: You should still bind a folder into the container in order to persist your data!**
114114+115115+```shell
116116+docker run -v /host/path/to/data:/config -e DISCORD_WEBHOOK="https://discord.com/api/webhooks/606873513" -e CRON="0 17 * * *" ... ghcr.io/foxxmd/tautuilli-notification-digest
117117+```
118118+80119#### Local
8112082121Export your variables before the run command or use a [.env file](https://www.codementor.io/@parthibakumarmurugesan/what-is-env-how-to-set-up-and-run-a-env-file-in-node-1pnyxw9yxj)
···115154**Note:** When using a `bridge` network (docker default) make sure you map the correct server port (8078 by default) from the container to host.
116155117156```shell
118118-docker -e DISCORD_WEBHOOK="https://discord.com/api/webhooks/606873513" -e CRON="0 17 * * *" -p 8078:8078 ghcr.io/foxxmd/tautuilli-notification-digest
157157+docker run -e DISCORD_WEBHOOK="https://discord.com/api/webhooks/606873513" -e CRON="0 17 * * *" -p 8078:8078 ghcr.io/foxxmd/tautuilli-notification-digest
119158```
120159121160## Local