Optional Firecrawl scraping of the full featured article
smoke / hello (push) Successful in 2s
build-and-publish / publish (push) Successful in 14s

Add FIRECRAWL_API_URL / FIRECRAWL_API_KEY env config. When the URL is
set, the featured-article page is scraped through Firecrawl (main
content only) and the richer text replaces the short feed extract,
still capped at 4000 chars. Unset URL or any scrape failure falls
back to the original REST-feed extract behaviour automatically.

Also wire SLOW_RETRY_MINUTES through docker-compose (was missing).
This commit is contained in:
hermes committed 2026-10-11 09:40:16 +00:00
1 parent dc6057fda6
commit 913759918b
5 files changed
+117 -10

No files matched your search

+8
View File
@@ -23,3 +23,11 @@ WIKIPEDIA_LANG=en
# Optional: require ?token=<value> (or header trmnl-token: <value>) on
# /trmnl.json so only your TRMNL device can poll it. Empty = open (public jokes).
TRMNL_TOKEN=
# Optional: scrape the full featured-article page through Firecrawl for
# richer joke material. Leave FIRECRAWL_API_URL empty (or unset) to keep
# the default behaviour (short extract from the Wikipedia REST feed).
# If Firecrawl is configured but fails, the app falls back to the feed
# extract automatically.
FIRECRAWL_API_URL=https://firecrawl.obahan.xyz
FIRECRAWL_API_KEY=