Repository navigation
FeedCourier v0.1.0
Added
- Guarded Feed Ingest & Ephemeral Storage Pipeline:
- RSS, Atom, and JSON Feed polling (
feed-rs) with conditional HTTP caching (ETagandLast-Modified), keyword/regex route filters, and OPML 2.0 import/export. - Optional per-feed Readability full-text extraction (
dom_smoothie) behind bounded concurrency semaphores with graceful fallback to feed summaries. - Permanent 4-tier anti-drift SHA-256 deduplication (native entry ID, canonicalized permalink stripped of tracking parameters, explicit published timestamp + title, and sanitized plain-text prefix).
- Silent initialization (
silent_init) for newly added and OPML-imported feeds, zero-refcountNOT EXISTSpayload garbage collection (RETENTION_HOURS), and onlineVACUUM INTOSQLite backups.
- RSS, Atom, and JSON Feed polling (
- Lease-Based SQLite WAL Outbox & Scheduler:
- Split SQLite WAL connection architecture pairing a serialized single-writer pool (
max_connections = 1) with a concurrentquery_only = ONread pool. - Atomic
lease_untiltask claiming and crash-safecheckpoint_jsonstate reconciliation without startup scan races (queued,delivering,retrying,deferred,delivered,dead_letter). - Shared-credential anti-spam pacing with configurable minimum interval, random jitter,
429 Retry-Aftercooldowns, and rolling hourly/daily quota guardrails.
- Split SQLite WAL connection architecture pairing a serialized single-writer pool (
- SMTP Newsletter Delivery Channel:
- Responsive inline-CSS single-column HTML emails (
minijinja) withmultipart/alternativeplain-text fallback (html2text) sized below Gmail's102 KBclipping threshold. - SPF/DKIM/DMARC-safe
Force-Fromsender alignment,Auto-Submitted: auto-generatedand per-feedList-Idheaders, and deterministic fingerprint-derivedMessage-IDheaders for client-side deduplication.
- Responsive inline-CSS single-column HTML emails (
- Telegram Bot API 10.4 Delivery Channel:
rich_messagemode powered bytelegram-rich(sendRichMessageRich HTML normalization, block-boundary truncation within Bot API 10.4 limits, runtime capability probing, and automatic fallback to Compact Card on older Local Bot API Servers).compact_cardmode (sendMessagedigest within4,096chars with route-levellink_previewcontrol).media_modewith<enclosure>,media:content, and inline media extraction, Unicode-segmented 3-line captions, zero-disk anti-hotlink multipart streaming fallback, and checkpointed 10-itemsendMediaGroupbatch recovery.
- Notion
2026-03-11Delivery Channel:- Zero-friction 7-column database auto-provisioning via
initial_data_source.properties(Title,Link,Source,Published,State,Tag,FC-ID) or binding/patching of an existingdata_source_id. - HTML-to-Markdown v2 normalizer (
htmd) with dynamic outer code-fence expansion,5,000-block boundary truncation,allow_async: truebackground task polling (/v1/async_tasks/{id}), andFC-IDquery reconciliation for effective-once crash recovery.
- Zero-friction 7-column database auto-provisioning via
- Embedded React 19 WebUI & REST API:
- Single-binary embedded React 19 + TypeScript + Vite management console (
rust-embed) and/api/v1/*REST API for feeds, encrypted channels, routes, outbox diagnostics, dead-letter retries, selective HTTP/SOCKS5 proxy routing (OUTBOUND_PROXY), and database backups.
- Single-binary embedded React 19 + TypeScript + Vite management console (
- Native Streamable HTTP MCP Server (
/mcp):- Built-in
rmcpStreamable HTTP endpoint withreadonly(list_feeds_status,inspect_failed_deliveries,preview_feed_latest) andadmin(manage_feed,configure_route,reset_and_poll_feed,retry_dead_tasks) permission scopes.
- Built-in
- Multi-Arch Packaging:
- Non-root Debian Bookworm runtime container image (
UID/GID 10001,/datavolume) and prebuilt release binaries for Linux and macOS (x86_64andaarch64).
- Non-root Debian Bookworm runtime container image (
Security
- Connect-Time DNS SSRF & Redirect Guard (
src/net/ssrf.rs): All outbound requests to user-supplied or feed-derived URLs validate resolved IPv4/IPv6 addresses prior to TCP connect (blocking loopback, link-local, cloud metadata169.254.169.254, and private RFC1918/ULA ranges against DNS rebinding), re-validate every30xredirect hop, enforce strict response stream caps, and support explicitSSRF_ALLOWLISTCIDR/hostname exceptions. - Encrypted Credential Vault & Scoped Auth: Channel credentials are encrypted at rest with
ChaCha20-Poly1305AEAD (master.key,0600); WebUI administrator passwords useArgon2idPHC hashing withHttpOnlysession cookies (fc_session); and/mcpBearer tokens are stored exclusively asSHA-256hashes. - MCP Trust Boundaries & Untrusted Content Framing: Channel secrets and recipient targets (email addresses,
chat_id,data_source_id) are strictly locked to the WebUI and opaque to/mcptools, while untrusted external feed text surfaced to AI agents is sanitized, truncated, and isolated inside<untrusted_feed_content>XML boundary tags (src/mcp/sanitize.rs), complemented byammoniaHTML sanitization across ingest and delivery pipelines.
What's Changed
Maintenance & Dependencies
- chore(release): add community governance files and refine Docker Hub release workflow by @ElleryHe in #1
New Contributors
Full Changelog: https://github.com/ElleryHe/FeedCourier/commits/v0.1.0