https://github.com/arkan/broonie
Automatically downloads photos and videos from Telegram Group chats and save them on a filesystem.
https://github.com/arkan/broonie
telegram telegram-bot
Last synced: over 1 year ago
JSON representation
Automatically downloads photos and videos from Telegram Group chats and save them on a filesystem.
- Host: GitHub
- URL: https://github.com/arkan/broonie
- Owner: arkan
- License: mit
- Created: 2020-12-13T13:42:18.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-11-12T18:03:25.000Z (over 4 years ago)
- Last Synced: 2025-01-29T19:23:46.666Z (over 1 year ago)
- Topics: telegram, telegram-bot
- Language: Go
- Homepage:
- Size: 10.7 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Broonie
Broonie([why this name?](https://en.wikipedia.org/wiki/Brownie_(folklore))) is a Telegram bots that automatically downloads photos and videos in real-time from conversations where the bot has been added to.
This makes it very convenient to save all the memories from family Telegram groups and expose them on Plex for example.
## Usage
You first need to create [a bot on Telegram](https://t.me/botfather) to retrieve a token.
Then, you need to create your configuration file:
```bash
$> cp config.json.sample config.json
```
Configure it with your own values. You can only run one instance of the bot in parallel.
So if you want to handle multiple Telegram groups, you have to define several entries in the config file.
Then run the application:
```
$> go run cmd/broonie/main.go
```
You should expect to see no error. Enjoy!
### Docker
A Docker image is also available:
```
docker run -v config.json:/app/config.json:ro arkan/broonie:latest
```
## Copyright
See the [LICENSE](./LICENSE) (MIT) file for more details.