Add publisher dashboard routes
All checks were successful
buildbot/nix-eval Build done.
buildbot/nix-build Build done.
buildbot/nix-effects Build done.

This commit is contained in:
Abel Luck 2026-06-02 10:18:59 +02:00
parent 96551c2788
commit e4a5246ab3
31 changed files with 1603 additions and 516 deletions

View file

@ -17,7 +17,7 @@ The Republisher currently accepts the following source input types:
## Usage
Sync dependencies and start the admin UI:
Sync dependencies and start the web UI:
```sh
uv sync --all-groups
@ -50,13 +50,17 @@ In trusted-header mode, nginx must overwrite the `X-Republisher-*` identity head
Once the UI is running:
1. Open `http://127.0.0.1:8080/`.
1. Open `http://127.0.0.1:8080/admin` for the admin UI.
2. Create a source. Feed sources take a feed URL. Pangea sources take a domain plus category configuration.
3. Open `Settings` and set `Feed URL` to the public origin that serves mirrored feeds, for example `https://mirror.example`.
4. Configure the job schedule and any spider arguments.
5. Use `Run now` to trigger an immediate crawl, or leave the job enabled for scheduled runs.
6. Watch running jobs and logs live from the Runs pages.
Publisher-facing status is available at `http://127.0.0.1:8080/publisher`.
Set `REPUBLISHER_READER_APP_URL` or pass `--reader-app-url` to add a publisher
dashboard link to the AnyNews reader application that consumes the mirrored feeds.
Operational notes:
- The default database path is `republisher.db`. Set `REPUBLISHER_DB_PATH` to use a different SQLite file.