https://github.com/far4599/telegram-lossless-media-bot
Telegram bot that converts video/photo files into video/photo messages with the original quality
https://github.com/far4599/telegram-lossless-media-bot
go golang gotd telegram telegram-bot
Last synced: 5 months ago
JSON representation
Telegram bot that converts video/photo files into video/photo messages with the original quality
- Host: GitHub
- URL: https://github.com/far4599/telegram-lossless-media-bot
- Owner: far4599
- License: mit
- Created: 2021-12-27T08:51:20.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-10-11T23:23:07.000Z (over 2 years ago)
- Last Synced: 2025-11-22T18:02:46.589Z (6 months ago)
- Topics: go, golang, gotd, telegram, telegram-bot
- Language: Go
- Homepage:
- Size: 38.1 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Lossless media bot for Telegram
### Demo: [@lossless_media_bot](https://t.me/lossless_media_bot)
If you've used Telegram mobile client to upload photos or videos, you know it compresses media so that it looks creepy and video quality is very low. This bot will help you to upload videos and photos in the original quality.
This bot uses Telegram user_api to download and upload files bigger than 50mb.
## How to run own copy of the bot
To run your own bot it is required:
1. to create dev api via my.telegram.org
2. to create a bot via [@BotFather](https://t.me/BotFather)
3. to have got a linux server with docker (and docker-compose) installed.
When you have all requirements, do the following:
1. Copy docker-compose.yml and .env.example to any folder
2. Update credentials in .env.example and rename it to .env
3. Run bot via ```docker-compose up -d```
## How to use
### Via dialog
1. Send video or photo as a file to the bot
2. The bot will convert it into a video/photo message and send it back to you
### Via channel
1. Add bot to the channel
2. Send video or photo as a file to the channel
3. The bot will convert it into a video/photo message and send it back to the channel