Files
RSSFeed/docker-compose.yml
TMCandClaude Opus 5.5 1cc99df9bb
Release / build (push) Successful in 1m25s
Build RSSFeed: self-hosted Croatian news feed with a local LLM
Merges RSS/Atom/JSON sources into one feed. A local OpenAI-compatible
LLM filters articles against plain-language negatives, groups reports
of the same event into stories, and writes a one-sentence Croatian
title and a description of at most two sentences for each story.
Original articles are only ever linked as published.

- Pipeline: fetch, dedupe, Readability extraction, keyword + AI triage
  with exceptions and learned corrections, embedding clustering with an
  LLM same-event check, summary with format check and Croatian
  language guard, regeneration for developing stories
- Neutral importance scoring with coverage boost and manual override
- Feed controls: Live or Editions, daily/category/source limits,
  breaking bypass, 7-day preview; daily digest with offline fallback
- Circuit breaker that pauses and resumes the queue on LLM outages
- Express 5 + node:sqlite server, React 19 + Vite web UI (dark, PWA)
- Feeds under /feeds/ for a single Pangolin rule; optional feed token
- Dockerfile runs typecheck and the full test suite before building;
  Gitea workflow builds, scans and pushes the image

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 10:58:32 +01:00

47 lines
2.1 KiB
YAML

# RSSFeed — Docker Compose
#
# Login: docker login git.mariosem.es (once — the image lives in a private registry)
# Run: docker compose pull && docker compose up -d
# Open: http://<host>:34500 (web UI)
# http://<host>:34500/feeds/all.xml (the merged RSS feed)
# http://<host>:34500/feeds/all.json (JSON Feed)
# http://<host>:34500/feeds/digest.xml (daily digest only)
#
# Outside access goes through Pangolin, which handles authentication and TLS. RSS reader
# apps cannot complete a browser login, so give the /feeds/ path its own Pangolin rule
# (optionally together with RSSFEED_FEED_TOKEN below for a secret feed path).
services:
rssfeed:
# Published by .gitea/workflows/release.yml. Pin to :<short-sha> for a fixed version.
image: git.mariosem.es/msemes/rssfeed:latest
pull_policy: always
# …or build locally from source instead of pulling (then drop image/pull_policy above):
# build:
# context: .
container_name: rssfeed
restart: unless-stopped
environment:
# Timezone for the digest, editions, daily limits and displayed times.
- TZ=Europe/Zagreb
# Initial LLM endpoint (any OpenAI-compatible server); editable later in Settings → LLM.
# - RSSFEED_LLM_BASE_URL=http://192.168.1.50:1234/v1
# - RSSFEED_LLM_API_KEY=
# Public base URL as reached through Pangolin, used for the feeds' self links.
# Unset = derived from the proxy's forwarded headers.
# - RSSFEED_PUBLIC_URL=https://rss.example.com
# Secret path segment: feeds are then served only at /feeds/<token>/all.xml etc.
# - RSSFEED_FEED_TOKEN=change-me-to-a-long-random-string
# Allow source URLs on private/LAN addresses (blocked by default against SSRF).
# - RSSFEED_ALLOW_PRIVATE_URLS=1
ports:
# Only needs to be reachable by Pangolin; never publish it straight to the internet.
- "34500:34500"
volumes:
- rssfeed-data:/data
# …or bind-mount a host folder instead:
# - ./data:/data
volumes:
rssfeed-data: