Full self-hosted click track generator for cover bands. Core technical pieces implemented: - CTP (Click Track Protocol) TypeScript schema, Zod validator, and WAV renderer (44.1 kHz, 16-bit PCM, accented downbeats, ramp sections) - MusicBrainz API client with 1 req/s rate limiting - PostgreSQL schema (songs, tempo_maps, registry_sync_log) with triggers - Git registry sync logic (clone/pull → validate CTP → upsert DB) - Next.js 14 App Router: search page, track page, API routes (/api/songs, /api/tracks, /api/generate) - UI components: SearchBar, SongResult, TempoMapEditor, ClickTrackPlayer (Web Audio API in-browser playback + WAV download) - Docker Compose stack: app + postgres + redis + nginx + registry-sync - Multi-stage Dockerfile with standalone Next.js output - .env.example documenting all configuration variables - README with setup instructions, CTP format spec, and API reference Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
35 lines
805 B
JSON
35 lines
805 B
JSON
{
|
|
"name": "clicktrack",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "next dev",
|
|
"build": "next build",
|
|
"start": "next start",
|
|
"lint": "next lint",
|
|
"typecheck": "tsc --noEmit",
|
|
"db:migrate": "psql $DATABASE_URL -f lib/db/schema.sql"
|
|
},
|
|
"dependencies": {
|
|
"next": "14.2.3",
|
|
"react": "^18.3.1",
|
|
"react-dom": "^18.3.1",
|
|
"zod": "^3.23.8",
|
|
"pg": "^8.11.5",
|
|
"ioredis": "^5.3.2",
|
|
"node-fetch": "^3.3.2"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^20.12.7",
|
|
"@types/react": "^18.3.1",
|
|
"@types/react-dom": "^18.3.0",
|
|
"@types/pg": "^8.11.5",
|
|
"typescript": "^5.4.5",
|
|
"tailwindcss": "^3.4.3",
|
|
"autoprefixer": "^10.4.19",
|
|
"postcss": "^8.4.38",
|
|
"eslint": "^8.57.0",
|
|
"eslint-config-next": "14.2.3"
|
|
}
|
|
}
|