Repository navigation
Youwee Operon Edition: port the downloader core to the operon language - #2
Merged
Merged
Conversation
added 2 commits
October 6, 2026 20:20
A real native desktop app (egui window) whose entire decision logic is an operon program embedded via the language's own lib target (VM lane, capability sandbox). No localhost server, no browser, no Python. Ported Youwee features, all decided in op/app.op: - audio extraction with codec choice (mp3/m4a/opus) - subtitles: sidecar download and/or embed into the file - SponsorBlock removal (sponsor/intro/outro/selfpromo) - bandwidth limit via aria2 --max-overall-download-limit - playlist mode (drops --no-playlist on the download argv) - download library (history.json), settings persistence (settings.json) - six-theme accent system (name persisted operon-side) - deduped resolution-sorted format menu, [download] x% progress parsing Carried-over contract: aria2 is the ONLY bundled tool (embedded, extracted on first run); yt-dlp/ffmpeg come from the user's PATH (green/red dots); 30 MB size gate in CI; long children supervised by the host (operon run() containment caps children at 5 min by design) while every progress line still flows through the operon state machine. Gates: 6 unit tests (incl. youwee_options_shape_the_download_argv and defaults_stay_clean), cross-platform end-to-end flow regression with a fake yt-dlp, --smoke headless boot of the shipped exe, size gate. Pins operon-lang-dev @ c578b04 (main: P4 MapStore + P2 merge sort + P3 lazy range + P5 string-builder waves).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Adds
desktop-operon/: the Youwee downloader core ported to operon — a real native desktop window (egui) whose entire decision logic is an operon program. The Tauri application is untouched; this is a separate lane so upstream syncs stay trivial.Youwee features ported (all decided in operon, op/app.op)
Contract carried over
Gates