feat(desktop): add Electron app and desktop builds #84
Open
joshuafhiggins
wants to merge 7 commits from
t3/electron-eac3-atmos-support into main
pull from: t3/electron-eac3-atmos-support
merge into: joshuafhiggins:main
joshuafhiggins:main
joshuafhiggins:t3/mobile-lyrics-fill
joshuafhiggins:t3/remove-player-color-separator
joshuafhiggins:t3/block-android-dolby-atmos-downloads
joshuafhiggins:t3/low-quality-downloads
joshuafhiggins:t3/mobile-build-workflows
joshuafhiggins:t3/mobile-settings-redesign
joshuafhiggins:t3/ios-background-downloads
joshuafhiggins:t3/fix-medium-download-transcode
joshuafhiggins:t3/fuzzy-song-lyrics-search-1
joshuafhiggins:t3/match-mobile-button-styling
joshuafhiggins:t3/fix-library-album-navigation
joshuafhiggins:t3/lyrics-line-sweep
joshuafhiggins:t3/lyrics-fill-timing
joshuafhiggins:t3/revert-ios-inline-titles
joshuafhiggins:t3/lyrics-blur-fill
joshuafhiggins:t3/ios-inline-profile-button-main
joshuafhiggins:t3/ios-header-title-style
joshuafhiggins:t3/ios-inline-profile-button
joshuafhiggins:t3/fix-unfavorite-menu
joshuafhiggins:t3/queue-history-current-menu
joshuafhiggins:t3/queue-context-menu
joshuafhiggins:t3/mobile-playlist-buttons
joshuafhiggins:t3/fix-mobile-profile-photos
joshuafhiggins:t3/lyrics-search-display
joshuafhiggins:t3/reposition-mobile-download-icon
joshuafhiggins:t3/move-downloads-under-songs
joshuafhiggins:t3/popup-screen
joshuafhiggins:t3/remove-action-menu-counts
joshuafhiggins:t3/match-mobile-queue-sidebar
joshuafhiggins:t3/offline-connection-screen
joshuafhiggins:t3/fix-uitab-availability
joshuafhiggins:t3/playlist-search-top-right
joshuafhiggins:t3/music-download-quality
joshuafhiggins:t3/playlist-cover-artwork
joshuafhiggins:fix/docker-pnpm-workspace
joshuafhiggins:t3/static-android-tab-ripple
joshuafhiggins:t3/fix-catalyst-handoff
joshuafhiggins:t3/favorites-off-users-document
joshuafhiggins:fix/duplicate-ionicons-import
joshuafhiggins:t3/simplify-android-transitions
joshuafhiggins:t3/review-prs-102-91
joshuafhiggins:t3/ios-playlist-song-removal
joshuafhiggins:t3/reduce-player-rerenders
joshuafhiggins:t3/share-duplicated-logic
joshuafhiggins:t3/incremental-siri-catalog
joshuafhiggins:t3/split-users-document
joshuafhiggins:t3/auth-song-queries
joshuafhiggins:t3/virtualize-web-song-lists
joshuafhiggins:t3/consolidate-web-track-rows
joshuafhiggins:t3/split-mobile-playback
joshuafhiggins:t3/general-cleanup
joshuafhiggins:t3/system-color-menu-button
joshuafhiggins:t3/clean-up-loading-skeletons
joshuafhiggins:t3/activate-audio-on-play
joshuafhiggins:t3/scale-scanner-and-search
joshuafhiggins:t3/fix-streaming-leaks
joshuafhiggins:t3/harden-docker
joshuafhiggins:t3/fix-scanner-file-paths
joshuafhiggins:t3/song-swipe-queue-action
joshuafhiggins:t3/pause-after-queue-end
joshuafhiggins:t3/align-player-context-action-order
joshuafhiggins:t3/ios-context-menu-previews
joshuafhiggins:t3/mobile-player-artist-menu
joshuafhiggins:t3/prevent-swiped-song-play
joshuafhiggins:t3/fix-song-sharing-interactions
joshuafhiggins:t3/ipad-sidebar-layout
joshuafhiggins:t3/match-album-color-algorithm
joshuafhiggins:t3/local-settings-toggle
joshuafhiggins:t3/add-macos-catalyst-support
joshuafhiggins:feat/native-apple-handoff
joshuafhiggins:t3/ios-zoom-album-playlist
joshuafhiggins:t3/fix-android-page-transitions
joshuafhiggins:t3/restart-collection-playback
joshuafhiggins:t3/fix-android-tab-tap-flash
joshuafhiggins:t3/fix-android-separator-width
joshuafhiggins:fix/mobile-icon-build-names
joshuafhiggins:t3/compact-web-player
joshuafhiggins:t3/web-playlist-search
joshuafhiggins:t3/open-app-mobile-only
joshuafhiggins:t3/mobile-playlist-search
joshuafhiggins:t3/mobile-deep-links-share-art
joshuafhiggins:t3/fix-mobile-skeleton-bounds
joshuafhiggins:t3/shuffle-album-playlist-selection
joshuafhiggins:t3/web-player-light-mode
joshuafhiggins:t3/preserve-scroll-back-navigation
joshuafhiggins:t3/album-audio-format-icons
joshuafhiggins:t3/remove-mobile-pagination
joshuafhiggins:t3/disable-android-atmos
joshuafhiggins:t3/mobile-sidebar-toggle
joshuafhiggins:t3/fix-context-menu-system-colors
joshuafhiggins:t3/restore-paused-audio-session
joshuafhiggins:t3/fix-airplay-picker-taps
joshuafhiggins:t3/fix-android-native-player-scrubbing
joshuafhiggins:t3/fix-player-menu-navigation
joshuafhiggins:t3/profile-app-identity
joshuafhiggins:t3/keep-airplay-button-style
joshuafhiggins:t3/mobile-admin-account-creation
joshuafhiggins:t3/fix-player-swipe-black-screen
joshuafhiggins:t3/animate-volume-controls
joshuafhiggins:t3/ios-alac-android-atmos
joshuafhiggins:t3/mobile-system-volume-control
joshuafhiggins:t3/android-layout-and-colors
joshuafhiggins:t3/mobile-native-airplay-cast-ui
joshuafhiggins:t3/create-station-context-menu
joshuafhiggins:t3/remove-mobile-splash-fix-server-navigation
joshuafhiggins:t3/fix-mobile-content-disappearing
joshuafhiggins:t3/fix-expo-audio-docker-builds
joshuafhiggins:t3/update-expo-packages-audio-patches
joshuafhiggins:t3/remove-mobile-toasts
joshuafhiggins:t3/apple-music-now-playing-view
joshuafhiggins:t3/center-wrapped-artists
joshuafhiggins:t3/fix-screen-padding-1
joshuafhiggins:t3/hide-profile-subviews
joshuafhiggins:t3/mobile-track-layout-discs
joshuafhiggins:t3/ios-native-swipe-remove
joshuafhiggins:t3code/apple-music-cover-colors
joshuafhiggins:t3code/fix-carousel-buttons
joshuafhiggins:t3code/admin-create-users
joshuafhiggins:t3code/reduce-docker-image-size
joshuafhiggins:t3code/client-first-playback-caching
joshuafhiggins:t3code/fix-auth-pages-convex-url
joshuafhiggins:t3code/docker-self-hosted-convex
joshuafhiggins:t3code/server-side-auth-pages
joshuafhiggins:t3code/hide-profile-nonprimary-pages
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
oTunes needs a desktop client for Windows and Linux, and later macOS.
The web UI now also builds as a Next.js static export (
pnpm --filter @otunes/web build:export). In-app links use?id=routes; share links keep/album/<id>and their link previews on the server build. Server-only files (route handlers, the proxy, share pages) use a.server.ts(x)suffix that exports leave out.The export picks its server at
/server, keeps the session in localStorage (per server, like mobile), and loads covers, avatars, streams and downloads from the selected server. Stream and download requests pass the session token as atokenquery parameter, since<audio>and native HLS cannot send headers. The song and download routes accept it alongside the cookie, and/apiresponses allow any origin. The downloads service worker matches downloaded covers from any origin, and exports skip its offline page caching since they are served locally.Electron serves the export from
127.0.0.1:47836, with no bundled Node.js server or media gateway. A manual/tag-triggered Gitea workflow builds Windows NSIS installers and Linux Flatpaks for x64 and ARM64 inelectronuserland/builder:wine. The same export is ready to ship in a macOS Tauri app.Sign-up now checks the account-creation setting in the browser and shows a notice when it is disabled.
Verified locally: both web builds; the Electron file server (routes, host check, path traversal); in headless Chrome against the test server, server selection, sign-in, home with remote covers, album navigation and reload, and stream URLs carrying the token. Not verified: actual playback and downloads, because the test server needs this branch deployed for the token parameter and CORS; installed apps; the ARM64 Flatpak. The Linux job needs privileged containers on the runner.
Created with GPT-6.1 Sol in T3 Code through the Codex harness. Follow-ups by Claude Opus 5.5 in T3 Code through the Claude Code harness.
🤖 Generated with Claude Code
52b896dc21toa6751f586d7c37174e4bto37d1195955View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.