Repository navigation
Tauri port running on Windows and Android: would you consider it? #4782
junxiangzhan
started this conversation in
Ideas
Replies: 1 comment 1 reply
|
Thank you for putting so much effort into this PoC. However, my biggest concern with Tauri is its reliance on the system's native WebView. |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi! I've been porting Pear Desktop to Tauri v2 in my fork, and it now runs day to day on Windows and on Android. Before opening any large PR, I'd like to know whether you'd be interested, and in what form.
Branch: https://github.com/junxiangzhan/pear-desktop/tree/tauri-poc (everything new is under
tauri-poc/). Details, design notes and test results: tauri-poc/README-en.mdWhat it is
src/renderer.tsand each plugin's renderer, preload and menu parts) is built with Vite into one script and runs inside music.youtube.com.src/andvite-plugins/, about 700 lines, mostly loader options. The ones that also fix Electron bugs are already separate PRs: perf(performance-improvement): drive cpu-tamer's frame clock with requestAnimationFrame #4772, fix(crossfade): get a playable stream URL again #4774, fix(in-app-menu): keep the sidebar below the title bar #4778, fix(in-app-menu): keep submenus on screen in narrow windows #4779, fix(song-info): use the title YouTube Music shows in the queue #4780, fix(do-not-track): let the pruner pass non-objects through #4781.About the concerns in #3088 and #3573
document_start.Status
Tested on Windows 11 and on two Android 16 devices (Xiaomi tablet, POCO F7 Pro phone).
Ported: every plugin except touchbar.
/docand/swaggerare generated from the zod routes at build time), scrobbler, shortcuts, precise-volume, picture-in-picture, transparent-player, taskbar-mediacontrol, amuse, lumiastream, tuna-obs, auth-proxy-adapter, do-not-track (the blocklist mode uses Brave's adblock-rust)..m4aby default and encodes mp3 with LAME; "Custom" presets only support an mp3 bitrate.Not done:
The cost
Plugin backends would exist twice, in TypeScript and in Rust, so a backend change has to be ported to Rust as well. Renderer-side changes work without extra effort. YouTube Music changes can break both.
Possible ways forward
I can keep porting backend changes for a while, but I can't commit to being the long-term reviewer for it.
Most of the port was written with an AI coding assistant (Claude); I tested it on my own devices and reviewed the results.
Questions
Thanks for reading!
All reactions