RSS/Atom -> ntfy bridge with web UI, OPML import/export and RU/EN localization

Web-managed fork of nurefexc/rss-bridge-ntfy: Flask UI + REST API, background
sync engine (SQLite dedup, quiet hours, filters, flood protection, images),
OPML import/export and switchable interface/notification language.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-06-06 19:34:53 +08:00
commit 3f9b108482
15 changed files with 2076 additions and 0 deletions
+32
View File
@@ -0,0 +1,32 @@
FROM python:3.12-slim
LABEL org.opencontainers.image.title="rss-bridge-ntfy-web"
LABEL org.opencontainers.image.description="RSS/Atom -> ntfy bridge with a web UI"
ENV PYTHONDONTWRITEBYTECODE=1 \
PYTHONUNBUFFERED=1 \
DATA_DIR=/data \
PORT=8080 \
TZ=UTC
WORKDIR /app
# Install dependencies first to leverage layer caching.
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Application code.
COPY main.py engine.py store.py webapp.py opml.py ./
COPY templates ./templates
COPY static ./static
# Persistent data (settings, feeds, history db, logs) lives here.
RUN mkdir -p /data
VOLUME ["/data"]
EXPOSE 8080
HEALTHCHECK --interval=30s --timeout=5s --start-period=10s --retries=3 \
CMD python -c "import urllib.request,os; urllib.request.urlopen('http://127.0.0.1:'+os.environ.get('PORT','8080')+'/api/health')" || exit 1
CMD ["python", "main.py"]