Electron, It's done bro
说明与用途
作者将重量级 Electron 应用替换为 Sonora,一款基于 Rust/GPUI 的原生音乐播放器,支持 Spotify Connect 和自定义主题,解决了 MacBook Air M3 的内存不足问题。
问题
The author’s MacBook Air M3 with 8 GB RAM quickly ran out of memory when running Electron‑based apps like VS Code and Spotify, prompting a search for a lightweight native music player that supports Spotify Connect and custom themes.
结果
Sonora provided a lightweight, native music player that supports Spotify Connect, custom themes, and lyrics, resolving the author’s memory‑usage problem on a MacBook Air M3.
工作流
- 1. Identified memory issue with Electron apps on MacBook Air M3.
- 2. Replaced VS Code with Zed and explored native music players (Spotube, Spicetify).
- 3. Discovered Sonora on GitHub and examined its architecture.
- 4. Reviewed PR #895 for Spotify Connect support.
- 5. Built Sonora from source using cargo run --release or downloaded GitHub Actions artifact.
- 6. Verified Spotify Connect functionality and custom theme support.
证据
I own a base Macbook Air M3 with a crisp 8 gigs of RAM which literally burns away in a matter of seconds when I fire up my development environment with VS Code, Spotify and just a few browser tabs.
I wanted to be able to use my custom themes and lyrics on a native app, but none of the native apps supported this.
Sonora is a free, open‑source native music player built by @sonorahq using Rust and GPUI.
PR #895: feat(music): show sonora as a spotify connect device opened by contributor Tu2525.
Instead of waiting weeks for a new release, open source allows you to either grab the automated build artifact from GitHub Actions or simply clone the repo and run cargo run --release to enjoy the feature today.
- 记录日期: 2026-10-26T13:11:19.239Z