https://github.com/luludotdev/dreddit
Periodically posts reddit images to a Discord webhook
https://github.com/luludotdev/dreddit
Last synced: about 1 year ago
JSON representation
Periodically posts reddit images to a Discord webhook
- Host: GitHub
- URL: https://github.com/luludotdev/dreddit
- Owner: luludotdev
- License: isc
- Created: 2019-04-11T06:13:24.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2023-12-16T00:37:18.000Z (over 2 years ago)
- Last Synced: 2025-02-06T21:32:02.663Z (over 1 year ago)
- Language: TypeScript
- Homepage:
- Size: 6.58 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 🔥 Dreddit [](https://github.com/luludotdev/dreddit/actions/workflows/ci.yml)
> Periodically posts reddit images to a Discord webhook
## 🚀 Running in Production
This project uses GitHub Actions to run automated docker builds, you can find them in this repo's [Package Registry](https://github.com/luludotdev/dreddit/packages). A sample Docker Compose file has been provided for you to use as a reference.
### 📝 Configuration
Dreddit is configured with a `config.json` file located in the `config` directory. A [JSON schema](https://github.com/luludotdev/dreddit/blob/master/config/config.schema.json) for IDE integration can be located in the same directory.
Dreddit also requires a Redis database for persistence between restarts. This is configured using environment variables. Refer to `.env.example` for documentation.
Finally, to parse Imgur URLs an Imgur Application Client ID is required. You can generate one in the [Imgur Account Settings](https://imgur.com/account/settings/apps). This is also passed as an environment variable, again refer to `.env.example` for more information.