Commit Graph

12 Commits

Author SHA1 Message Date
fspecii f9e4601792 Fix double model loading: use ACE-Step REST API when available
- Check if ACE-Step API is running at startup (GET /health)
- If API available: use REST endpoints (POST /release_task, POST /query_result, GET /v1/audio)
  - Model is already loaded by the API server, no double initialization
- If API not available: fall back to Python spawn (existing behavior)
  - Model loads once via Python script

This prevents the issue where running `acestep-api --port 8001` loads the model,
then the UI spawns Python which loads it again, consuming double VRAM.

API response is cached for the session to avoid repeated health checks.
2026-02-04 14:38:19 +02:00
fspecii 02fa32bc53 Add always-visible player, play button on sidebar thumbnail, and GitHub link
- Player: Show minimal placeholder when no song is playing instead of hiding
- RightSidebar: Add play button overlay on cover art thumbnail
  - Hover to reveal play/pause button
  - Click anywhere on cover to play
  - Shows pause icon when song is currently playing
- SettingsModal: Add GitHub repo link for issues and feature requests
2026-02-04 13:43:25 +02:00
fspecii e616713ec1 Fix delete song, CORS, and cleanup for local-first SQLite setup
- Fix delete song route: remove reference to non-existent audio_files table,
  use audio_url directly from songs table instead
- Fix CORS: allow 127.0.0.1 in addition to localhost in development mode
- Fix cleanup service: remove audio_files reference, use SQLite datetime syntax
2026-02-04 13:39:30 +02:00
fspecii 645c88ca0a Add Windows and portable installation support for Python path resolution
- Add resolvePythonPath() function that handles:
  - PYTHON_PATH env var override (highest priority)
  - Portable installations (python_embeded/python.exe)
  - Standard venv with correct paths per OS:
    - Windows: .venv/Scripts/python.exe
    - Unix: .venv/bin/python
- Remove hardcoded Unix paths from acestep.ts and generate.ts
- Remove hardcoded /home/ambsd default path

Fixes "ENOENT" errors on Windows when spawning Python processes.
2026-02-04 04:51:58 +02:00
fspecii 3ff4e3e0a9 Update README paths to reference ACE-Step-1.5 directory
Match the actual repository name from https://github.com/ace-step/ACE-Step-1.5
2026-02-04 04:40:56 +02:00
fspecii 3cb11726ce Fix database initialization: run migrations on server startup
Users on Windows were getting "no such table: users" errors because
migrations were never executed. The migrate.ts file existed but was
not imported by the server entry point.
2026-02-04 04:34:25 +02:00
fspecii 606d87f510 Move Demo section first, add YouTube demo video link 2026-02-04 04:03:44 +02:00
fspecii 596a57ddc9 Fix ACE-Step links to correct repo: ACE-Step-1.5 2026-02-04 03:28:30 +02:00
fspecii df3f91593a Add Windows support: setup.bat and start.bat for Windows users 2026-02-04 03:20:03 +02:00
fspecii 256edbdf67 SEO optimization: Add Suno alternative keywords, social links, and contribution encouragement 2026-02-04 03:17:01 +02:00
fspecii fc67e97504 Update README with professional styling and demo gif 2026-02-04 03:12:34 +02:00
fspecii 44f7563014 Initial commit: ACE-Step UI - Open source music generation interface 2026-02-04 03:09:38 +02:00