Architecture of vanloctech/youwee
vanloctech/youwee is 506 source files holding 4,021 symbols across 6 modules, written mainly in TypeScript, Rust, JavaScript. The largest module is src, with 344 files, and 20 files are entry points into the dependency graph.
How youwee fits together
The interface is in src, a TypeScript module of 344 files, where src/contexts/DownloadContext.tsx provides the download context and src/pages/SettingsPage.tsx holds the settings screen. The native side is in src-tauri, a Rust module of 87 files, with src-tauri/src/lib.rs and src-tauri/src/main.rs as its entry points. src-tauri/src/services/plugin.rs handles plugins, which the README describes as signed .ywp packages for post-download workflows. The JavaScript SDK starts at sdk-js/src/index.ts, and scripts in extensions/youwee-webext/scripts build and package the browser extension. Downloads start from URLs entered in the app or sent from the browser extension, and post-processing then embeds metadata, thumbnails and subtitles into the output files when enabled.
Largest modules
- src: 344 files and 86,389 lines of code
- src-tauri: 87 files and 32,620 lines of code
- root: 15 files and 1,156 lines of code
- sdk-js: 15 files and 4,230 lines of code
- tests: 15 files and 1,821 lines of code
- docs: 13 files and 1,376 lines of code
- extensions: 10 files and 2,022 lines of code
- .github: 5 files and 896 lines of code
Languages
By file count: TypeScript 253 files, Rust 84 files, JavaScript 7 files.
Documentation
Repowise documents youwee in 559 pages generated from the source.
More on youwee: summary and FAQ, codebase overview, code health.
Related guide: Best dependency graph tools for monorepos