Commit Graph
2 Commits
Author SHA1 Message Date
mozempkandClaude Sonnet 4.6 471b8b71f1 Fix production migration: replace drizzle-kit with drizzle-orm migrator
drizzle-kit is a devDependency and is pruned from the production image.
Replaced npm run db:migrate with a plain Node CJS script that uses
drizzle-orm/better-sqlite3/migrator directly. Auto-detects migrations
path (drizzle/migrations in prod, src/lib/server/db/migrations in dev).
Simplified entrypoint.sh — no more fallback needed.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-15 16:10:38 +02:00
mozempkandClaude Sonnet 4.6 c78f63d43a Initial implementation: self-hosted yt-dlp PWA
SvelteKit 5 + adapter-node PWA with:
- JWT auth (HS256, OIDC-ready interface) with auto-seeded admin
- Web Share Target (POST /share) for fire-and-forget URL sharing
- yt-dlp queue with p-limit concurrency (MAX_CONCURRENT=2)
- SSE progress streaming from yt-dlp --newline output
- Web Push notifications (VAPID) on complete/fail
- Per-extractor cookies store (AES-256-GCM encrypted at rest)
- 14-day retention cleanup with orphan sweep
- Local Playwright cookie generator script (scripts/generate-cookies.ts)
- Docker single-container (Alpine + ffmpeg + yt-dlp via pip)
- NPM proxy-network deployment (npm_network external)
- Drizzle ORM + better-sqlite3 (WAL mode)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-14 01:58:51 +02:00