Initial commit: AeroFetch — yt-dlp/YouTube downloader for Windows
Electron + React (Fluent UI) desktop frontend for yt-dlp: - Download queue with live progress, concurrency cap, cancel/retry - Format/quality picker via yt-dlp probe; audio extraction to MP3 - Settings + history persistence (electron-store / JSON) - Clipboard link auto-detect; persisted light/dark theme - NSIS + portable packaging (binaries bundled at build time, not in git) UI: "Studio" sidebar layout with a toffee-brown theme (light + neutral dark). Dropdowns use a native <select> and tooltips a CSS-only Hint, to avoid a dev-machine GPU overlay flicker/blank issue. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
import { resolve } from 'path'
|
||||
import { defineConfig } from 'vite'
|
||||
import react from '@vitejs/plugin-react'
|
||||
|
||||
/**
|
||||
* Standalone Vite server for fast UI iteration in a browser — no Electron window.
|
||||
* Run with `npm run ui`. Since there's no preload here, `window.api` is stubbed in
|
||||
* dev (see src/renderer/src/main.tsx) so the UI stays interactive for design work.
|
||||
*
|
||||
* The full app still runs via `npm run dev` (electron-vite); this is purely for UI.
|
||||
*/
|
||||
export default defineConfig({
|
||||
root: resolve('src/renderer'),
|
||||
base: './',
|
||||
resolve: {
|
||||
alias: {
|
||||
'@renderer': resolve('src/renderer/src'),
|
||||
'@shared': resolve('src/shared')
|
||||
}
|
||||
},
|
||||
plugins: [react()],
|
||||
server: {
|
||||
port: 5174,
|
||||
open: false
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user