republisher/demo/repub.toml

30 lines
1 KiB
TOML
Raw Normal View History

2026-03-29 13:52:23 +02:00
out_dir = "out"
[[feeds]]
name = "Guardian Project Podcast"
slug = "gp-pod"
2026-03-29 13:52:23 +02:00
url = "https://guardianproject.info/podcast/podcast.xml"
[[feeds]]
name = "NASA Breaking News"
slug = "nasa"
2026-03-29 13:52:23 +02:00
url = "https://www.nasa.gov/rss/dyn/breaking_news.rss"
[scrapy.settings]
LOG_LEVEL = "INFO"
DOWNLOAD_TIMEOUT = 30
2026-03-31 12:14:47 +02:00
REPUBLISHER_FEED_URL = "https://mirror.example"
2026-05-27 10:13:06 +02:00
# Image mirroring is profile-driven. REPUBLISHER_IMAGE controls full-size
# variants, and its first profile is the canonical image URL written into feeds.
# REPUBLISHER_IMAGE_THUMBNAILS controls named thumbnails for explicit item
# image media. Defaults live in repub/settings.py and generate WebP + JPEG full
# images plus JPEG thumbnails.
# REPUBLISHER_IMAGE_NORMALIZE_ENABLED = true
# REPUBLISHER_IMAGE_THUMBNAILS_ENABLED = true
2026-05-27 13:04:47 +02:00
# Media cleanup can use this config:
# uv run repub cleanup-media --config demo/repub.toml --dry-run
# It scans out_dir/feeds, honors REPUBLISHER_*_DIR overrides, and defaults to a
# 25-day retention window for old media not referenced by the latest feed.rss.