finds.dev

iawia002/lux

👾 Fast and simple video download library and CLI tool written in Go

View on GitHub

★ 31,815GoMITupdated Mar 2026

// the take

Lux is a Go CLI and library for downloading video, image, and audio content from a long list of mostly Chinese and a few Western platforms (bilibili, YouTube, Douyin, Instagram, Twitter, and dozens more). It's aimed at developers who want a scriptable yt-dlp alternative in Go, or who want to embed extraction logic into their own Go tools.

Each site has its own extractor package with a matching GitHub Actions workflow that runs against the live site, so breakage from a site's upstream changes gets caught per-extractor rather than silently rotting the whole binary. Multi-thread/multi-fragment downloading with resume support is built in rather than bolted on. The output is structured (stream list with format IDs, JSON extraction via -j) so it's usable as a library, not just a CLI you shell out to and scrape stdout from.

Site extractors for platforms like bilibili, youku, and douyin depend on signing/token logic (sign.js, ccode/ckey constants) that these platforms change unannounced, so a given site stops working with no warning until someone patches it — the youku ccode issue is called out directly in the README as recurring. Several extractors require fresh cookies with short expiry (ixigua/toutiao), which makes unattended or scheduled downloads unreliable. No rate limiting or backoff strategy is evident beyond a fixed retry count, so hitting these sites hard risks IP bans, which matters if you're running this in a pipeline rather than one-off on a desktop. Because every extractor is reverse-engineering a private API, the project's health is really ~40 independent maintenance burdens, and the long tail of less-popular sites (pixivision, tangdou, udn) likely gets far less attention than the big names when things break.

We read the README, the directory tree and a key source file in October 2026. Nobody pays to be listed. How we judge →

// at a glance

Stars
31,815
Forks
3,327
Language
Go
License
MIT
Last commit
29 Mar 2026

// nearby

If lux isn't quite it.

All repos →