Add UIPlugin — embedded web UI for Fetcharr#18
Open
ParadauxIO wants to merge 1 commit intoegg82:mainfrom
Open
Conversation
Adds a new Maven module (UIPlugin) that serves a live web dashboard on
port 8080 (configurable) using only the JDK's built-in HttpServer and
pure HTML/CSS/JS with no external frontend dependencies.
How it works:
- Starts an embedded com.sun.net.httpserver.HttpServer on startup
- Subscribes to all FetcharrEvents and stores them in a capped circular
buffer (default 500 entries)
- Serves a single-page dashboard at http://localhost:{port}/
- Pushes live updates to the browser via Server-Sent Events (/api/stream)
with 25-second heartbeat keepalive to maintain the connection
- REST endpoints: /api/status (updaters + plugins JSON) and /api/events
UI features:
- Updaters panel — each *arr instance with type, URL, search amount,
interval, missing status, monitored-only and cutoff flags
- Plugins panel — all loaded plugins with version and description
- Live activity log — newest-first, color-coded by service
(Radarr=blue, Sonarr=green, Lidarr=orange, Whisparr=pink), with
skipped/cancelled events visually dimmed
- Per-service filter buttons, full-text search, and clear log
- Dry Run badge in the header when fetcharr is in dry-run mode
- Status panel auto-refreshes every 15 seconds
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a new Maven module (UIPlugin) that serves a live web dashboard on port 8080 (configurable) using only the JDK's built-in HttpServer and pure HTML/CSS/JS with no external frontend dependencies.
How it works:
UI features:
This was vibecoded and used ~ 22,000 tokens
I hope it annoys reddit if you merge it