Link in, card, download, send, in private chats and groups. - cmd/core with an embedded download worker - Telegram front end on telego v1.13.0 (Bot API 10.4): link card with thumbnail and format buttons, one live status message, /dl /audio /thumb /info /queue /cancel, group support with requester-only buttons - Database backed queue: paid and free lanes, leases with heartbeats, one automatic retry, cancel, queue position and wait estimate - yt-dlp and ffprobe behind a Runner interface with classified, redacted errors mapped to friendly messages - SQLite via modernc with goose migrations, portable schema - Local file storage behind a Storage interface - go-i18n with an English catalog, no literal text in handlers - Free tier limits enforced before queueing and again on the real file - Bot token and webhook secret are stripped from all log output - Tests: URL parsing, job lifecycle, worker, yt-dlp wrapper, and end to end flows against a fake Bot API server; opt-in test with the real yt-dlp Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
42 lines
1.5 KiB
AMPL
42 lines
1.5 KiB
AMPL
module github.com/noderunners/dlbot
|
|
|
|
go 1.26.11
|
|
|
|
require (
|
|
github.com/BurntSushi/toml v1.6.0
|
|
github.com/mymmrac/telego v1.13.0
|
|
github.com/nicksnyder/go-i18n/v2 v2.7.0
|
|
github.com/pressly/goose/v3 v3.30.1
|
|
golang.org/x/text v0.44.0
|
|
modernc.org/sqlite v1.62.0
|
|
)
|
|
|
|
require (
|
|
github.com/bytedance/gopkg v0.1.3 // indirect
|
|
github.com/bytedance/sonic v1.15.5 // indirect
|
|
github.com/bytedance/sonic/loader v0.5.3 // indirect
|
|
github.com/cloudwego/base64x v0.1.6 // indirect
|
|
github.com/dustin/go-humanize v1.1.0 // indirect
|
|
github.com/goccy/go-json v0.12.0 // indirect
|
|
github.com/google/uuid v1.6.0 // indirect
|
|
github.com/klauspost/compress v1.20.4 // indirect
|
|
github.com/klauspost/cpuid/v2 v2.2.9 // indirect
|
|
github.com/mattn/go-isatty v0.0.24 // indirect
|
|
github.com/mfridman/interpolate v0.2.0 // indirect
|
|
github.com/molecule-man/go-brrr v1.3.1 // indirect
|
|
github.com/ncruces/go-strftime v1.1.0 // indirect
|
|
github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec // indirect
|
|
github.com/sethvargo/go-retry v0.5.0 // indirect
|
|
github.com/twitchyliquid64/golang-asm v0.15.1 // indirect
|
|
github.com/valyala/bytebufferpool v1.0.0 // indirect
|
|
github.com/valyala/fasthttp v1.78.0 // indirect
|
|
github.com/valyala/fastjson v1.6.10 // indirect
|
|
go.uber.org/multierr v1.11.0 // indirect
|
|
golang.org/x/arch v0.0.0-20210923205945-b76863e36670 // indirect
|
|
golang.org/x/sync v0.25.0 // indirect
|
|
golang.org/x/sys v0.50.0 // indirect
|
|
modernc.org/libc v1.80.2 // indirect
|
|
modernc.org/mathutil v1.7.1 // indirect
|
|
modernc.org/memory v1.12.1 // indirect
|
|
)
|