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
7
Commits
-
feat(web): support downloads in the static export
Main's download routes are server-only like the other API routes. They take the session from a `token` parameter, the options POST is allowed cross-origin, and the client fetches songs and covers from the picked server. The service worker matches downloaded covers from any origin, and skips offline page caching in exports since they are served locally. pnpm 12 fails on ignored build scripts, so electron-winstaller's is denied explicitly. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

joshuafhigginsandClaude Opus 5.5
2026-11-20 00:19:18 -05:00 -
feat(desktop): ship the web UI as a static export
The static export now works away from the oTunes server. It picks a server at /server (saved in localStorage), connects Convex to it, and loads covers, avatars and streams from it. Streams and avatars pass the session token as a `token` query parameter, which the song and avatar routes accept alongside the cookie. The server allows any origin on /api. Electron serves that export from 127.0.0.1:47836 and drops the bundled Next.js server, the media gateway, symlink materializing and Sharp pruning. The same export can ship in a Tauri app. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

joshuafhigginsandClaude Opus 5.5
2026-11-20 00:15:35 -05:00 -
fix(web): point the 404 Home button at /
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

joshuafhigginsandClaude Opus 5.5
2026-11-20 00:15:10 -05:00 -
feat(web): build the UI as a Next.js static export
In-app links move to /album?id=, /artist?id= and /playlist?id= so every page can prerender. Server-only files use a .server.ts(x) suffix that `pnpm build:export` leaves out: route handlers, the proxy, the desktop server picker, and the /album/<id> share pages with link-preview metadata. Exports use client-only Convex Auth and redirect in the browser. Sign-up now checks the setting in the browser. The sign-in link always shows, and a disabled server replaces the sign-up form with a notice. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

joshuafhigginsandClaude Opus 5.5
2026-11-20 00:15:10 -05:00 -
feat(desktop): ship stock Electron for Windows and Linux
Drop the custom EAC-3 Chromium build and macOS packaging. Windows NSIS installers and Flatpaks for x64 and ARM64 now build in one Linux container image. Packaged installers previously lost the bundled Next.js dependencies: electron-builder drops the pnpm store and NSIS cannot carry symlinks. The bundle now replaces pnpm links with nested real copies. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

joshuafhigginsandClaude Opus 5.5
2026-11-20 00:14:47 -05:00 -
fix(desktop): proxy avatars and cross-compile per OS
Avatar requests now go to the selected server, since the bundled UI strips sharp. Windows and Linux runners build both architectures, so three machines cover all five targets. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

joshuafhigginsandClaude Opus 5.5
2026-11-20 00:14:36 -05:00 -
joshuafhiggins
2026-11-20 00:14:36 -05:00