A telegram user bot which replaces reddit links in messages with the actual media file from the reddit post (video, gif, image).
For instance, when sending a link to a reddit post with a video, the bot will download the video, upload it to telegram, and replace the reddit link message with the actual video file.
- Support for messages shared via BaconReader
- Support for other meme source links:
- Imgur
- Youtube
- Gfycat
- Giphy
This bot is developed for Linux.
Dependencies:
poetry
to manage and install dependencies.
-
Clone the repository:
git clone git@github.com:nukesor/reddit-media-bot redditbot && cd redditbot
-
Execute
just setup
to install all dependencies. -
Run
just run
to create a default config~/.config/archivebot.toml
-
Adjust the configuration
-
Start the bot via
just run
The following are example urls that can be used to debug all possible medias.