Skip to content

Commit 9cd020d

Browse files
committed
feat: package the setup studio UI
Adapt the local setup overhaul onto the merged runtime so the guided setup page uses packaged assets, richer configuration defaults, and subpath-safe routes without leaking secrets.
1 parent bc857c1 commit 9cd020d

12 files changed

Lines changed: 1245 additions & 654 deletions

File tree

PROJECT_STRUCTURE.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ The app now uses a packaged runtime architecture in `video_rss_aggregator/`, wit
2222
/__init__.py
2323
/api.py
2424
/bootstrap.py
25+
/config.py
26+
/gui.py
2527
/rss.py
2628
/storage.py
2729
/application/
@@ -46,6 +48,11 @@ The app now uses a packaged runtime architecture in `video_rss_aggregator/`, wit
4648
/runtime_adapters.py
4749
/sqlite_repositories.py
4850
/summarizer.py
51+
/static/
52+
/setup.css
53+
/setup.js
54+
/templates/
55+
/setup.html
4956
/tests/
5057
/adapters/
5158
/test_api_app.py

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ This project has been rebuilt around Qwen 3.5 multimodal models and a strict loc
1414
- `video_rss_aggregator/application/` holds use-case orchestration and ports.
1515
- `video_rss_aggregator/domain/` defines the core models and outcome types.
1616
- `video_rss_aggregator/infrastructure/` contains SQLite, RSS, media, summarization, and runtime adapters.
17+
- `video_rss_aggregator/gui.py` plus packaged `video_rss_aggregator/templates/` and `video_rss_aggregator/static/` drive the setup studio UI.
1718
- Root modules such as `adapter_api.py`, `adapter_rss.py`, `adapter_storage.py`, and `cli.py` remain as compatibility and entry-point surfaces around the packaged runtime.
1819

1920
## Design Goals
@@ -53,7 +54,7 @@ python -m vra serve --bind 127.0.0.1:8080
5354
```
5455

5556
Then open `http://127.0.0.1:8080/` for the guided installation + configuration GUI.
56-
The setup page includes one-click diagnostics for Python, FFmpeg/FFprobe, yt-dlp, and Ollama reachability.
57+
The setup page includes one-click diagnostics for Python, FFmpeg/FFprobe, yt-dlp, and Ollama reachability, plus a packaged HTML/CSS/JS studio for generating the full `.env` block.
5758

5859
## 4-bit Model Defaults
5960

@@ -130,4 +131,5 @@ show latency and output-shape differences.
130131
## Notes
131132

132133
- GUI setup/configuration workspace is available at `/` when the server is running.
134+
- The setup studio assets are served from packaged `/static/setup.css` and `/static/setup.js` resources.
133135
- This version is optimized for local, Windows-native operation first.

0 commit comments

Comments
 (0)