Today we are releasing telluride-rs, build 49: the new Rust version of Telluride, the engine FrostWire uses to find the video and audio behind the links you paste into the app. It replaces the Python program we have shipped until now. It is a lot smaller, it starts instantly, and it is now an open source Rust crate that anyone can use in their own projects.
Telluride build 49 is published on GitHub and the FrostWire downloads page already points to it. It will be inside the next FrostWire releases (Desktop 7.2.0 and Android 3.3.0). The numbers below are measured, not estimates.
What Telluride does
Give Telluride the address of a page and it finds the media on it, tells FrostWire about every available format as JSON, or downloads it. FrostWire Desktop runs it as a program, and FrostWire for Android loads it as a library. Until now that meant a copy of Python plus yt-dlp, packed into every installer.
The numbers
| Python (build 48) | Rust (build 49) | |
|---|---|---|
| Program size (macOS arm64) | about 17 MB | about 4 MB |
| Start-up | an interpreter unpacking itself | instant |
| YouTube metadata, warm | 1.3 to 1.6 s | 0.4 to 1.0 s |
| Needs at runtime | Python, yt-dlp, a PyInstaller bundle | nothing else (a JavaScript engine is built in) |
| Android app size | embedded Python runtime | about 38 MB smaller |
Measured on macOS arm64. The first YouTube request after YouTube ships a new player takes about 4 seconds while Telluride solves it; the answer is then cached on disk.
Faster in FrostWire
- Desktop: there is no interpreter to unpack or warm up, so a pasted link starts working right away. Independent requests of a page, and the items of a playlist, are fetched at the same time, and the SoundCloud client id is kept on disk.
- Android: Telluride is now a native library (about 4.5 MB for 64-bit ARM) loaded straight into the app instead of a Python runtime started on first use. A YouTube link resolves in about a second, with much less memory.
- Safer: certificates of the sites it downloads from are checked by default.
Smaller installers
The Python runtime was the single biggest piece of Telluride. Replacing it with one small native program makes the FrostWire Desktop installers lighter (on macOS the program alone goes from 17 MB to 4 MB) and the Android app about 38 MB smaller. Our next installers will carry that saving, on every platform we ship.
More sites, handled natively
The extractors are ports of yt-dlp’s, and the upstream commit each one was ported from is recorded in the repository, so we can keep them current with its fixes. Telluride understands YouTube, Facebook, Instagram, Threads, X, TikTok, Twitch, Bluesky, Pinterest, Rumble, Bandcamp, Mixcloud, SoundCloud, Audius, PeerTube instances and many more, plus a generic fallback for any page with a plain media link, an og:video tag or a video element. It downloads HLS and DASH streams itself, with progress, resume and merging, and it tests the direct links it finds so FrostWire only offers the ones the site actually answers. Thank you to the yt-dlp project: Telluride would not exist without its years of work.
Now a Rust crate
Telluride is also a library. It is published on crates.io as telluride-rs with documented API and runnable examples, and the repository is a classic Cargo project:
cargo install telluride-rs # the `telluride` commandcargo add telluride-rs # the library
All network traffic goes through one trait, so you can run the whole pipeline over canned pages in your own tests. It is open source under the Apache 2.0 license, with an architecture guide and a ledger of every site we ported. Source: github.com/frostwire/telluride.
What is in build 49
- The whole program is rewritten in Rust: about 4 MB instead of 17 MB, no Python, no yt-dlp at runtime, and certificates are checked by default.
- It downloads HLS and DASH streams itself (progress, resume, merging with ffmpeg) and tests the direct links it finds, offering only those the site answers.
- A bot-check page (Cloudflare) is now reported as such, with the name of the site, instead of “nothing found”. The Android library answers with the reason as an error object.
- Independent requests of a page run in parallel and the SoundCloud client id is kept on disk, so slow sites answer sooner. On Android the YouTube player solver warms up in the background.
- Bluesky links of the form
at://did:plc:.../app.bsky.feed.post/IDand Streamable links with www. in front are recognized. OK.ru no longer lists an RTMP link that nothing could download. Audius tries its next server when the first is down. - Links with percent-escapes in them are looked up as written, and a download size just under a unit boundary is shown in the smaller unit so FrostWire always understands the progress line (found by our nightly fuzz run).
- The README now explains step by step how to use the library in an Android app and from a desktop Java program, where we recommend running the command-line program.
Download it
- macOS:
telluride_macos.arm64(Apple Silicon) andtelluride_macos.x86_64(Intel), signed and notarized. - Windows:
telluride.exe, signed. - Linux:
telluride_linux.x86_64andtelluride_linux.arm64. - Android:
libtelluride-android.zipwith the library for arm64-v8a and x86_64. SHA256SUMS.txtlists the checksum of every file.
Everything is on the build 49 release page.
How we keep it honest
The Rust code is checked on every change with unit and integration tests (over 90% line coverage is enforced), a JNI smoke test inside a real JVM for Android, fuzzing of the parsers, and a daily health check that runs real links on real sites. A nightly fuzz run already found a rounding bug in the way download sizes are printed; it is fixed and has a regression test.
What comes next
Telluride build 49 is available now. FrostWire Desktop 7.2.0 and FrostWire for Android 3.3.0 will carry it, with the smaller installers that come with it. Keep an eye on this blog and the downloads page for those releases.
