Refactor frontend components and remove FlareSolverr service from Docker setup

- Removed FlareSolverr service from docker-compose.yml and its related environment variables.
- Refactored App.svelte to utilize new components for header, login form, and title management.
- Introduced new components: AppHeader, LoginForm, AddTitleForm, ChapterList, TitleCard, TitleList, JobsStrip, and ErrorBanner for better modularity and maintainability.
- Updated API handling in App.svelte to streamline authentication and title addition processes.
- Enhanced user interface with improved error handling and loading states across components.
This commit is contained in:
2026-08-03 08:14:15 +07:00
parent 704394169a
commit b08c5acd89
11 changed files with 501 additions and 280 deletions
-11
View File
@@ -1,12 +1,4 @@
services:
flaresolverr:
image: ghcr.io/flaresolverr/flaresolverr:latest
environment:
LOG_LEVEL: info
ports:
- "8191:8191"
restart: unless-stopped
cxyz:
build: .
ports:
@@ -18,7 +10,6 @@ services:
WATCH_CRON: "0 * * * *"
# Each title is eligible again after this many hours (daily).
WATCH_TITLE_INTERVAL_HOURS: "24"
FLARESOLVERR_URL: http://flaresolverr:8191/v1
# Shared login (optional). When AUTH_PASSWORD is set, the UI and /api require a session.
# AUTH_USERNAME: admin
# AUTH_PASSWORD: change-me
@@ -26,6 +17,4 @@ services:
# SESSION_TTL_HOURS: "168"
volumes:
- ./data:/app/data
depends_on:
- flaresolverr
restart: unless-stopped