No description
Find a file
stefanodvx 3faede7b1c Init
2025-04-14 13:05:43 +02:00
bot Init 2025-04-14 13:05:43 +02:00
cookies Init 2025-04-14 13:05:43 +02:00
database Init 2025-04-14 13:05:43 +02:00
enums Init 2025-04-14 13:05:43 +02:00
ext Init 2025-04-14 13:05:43 +02:00
models Init 2025-04-14 13:05:43 +02:00
plugins Init 2025-04-14 13:05:43 +02:00
util Init 2025-04-14 13:05:43 +02:00
.env.example Init 2025-04-14 13:05:43 +02:00
.gitignore Init 2025-04-14 13:05:43 +02:00
build.sh Init 2025-04-14 13:05:43 +02:00
go.mod Init 2025-04-14 13:05:43 +02:00
go.sum Init 2025-04-14 13:05:43 +02:00
LICENSE Init 2025-04-14 13:05:43 +02:00
main.go Init 2025-04-14 13:05:43 +02:00
README.md Init 2025-04-14 13:05:43 +02:00

govd

a telegram bot for downloading media from various platforms

this project was born after the discontinuation of a highly popular bot known as UVD, and draws significant inspiration from yt-dlp

features

  • download media from various platforms
  • download videos, photos, and audio
  • inline mode support
  • group chat support with customizable settings
  • media caption support

dependencies

  • ffmpeg >= 6.1.1
  • libheif >= 1.19.7
  • pkg-config
  • mysql db

botapi

to avoid limits on files, you should host your own telegram botapi. public bot instance is currently running under a botapi fork, tdlight-telegram-bot-api

installation

git clone https://github.com/govdbot/govd.git
cd govd
# edit .env file with your bot token and database credentials
sh build.sh

cookies

some extractors require cookies for download. to add your cookies, just insert a txt file in cookies folder (netscape format)

todo

  • add more extractors
  • switch to sonic json parser
  • switch to native libav
  • add tests
  • add dockerfile and compose
  • improve error handling
  • add support for telegram wehbhooks
  • switch to pgsql (?)
  • better API (?)