Repository navigation
FeedCourier v0.1.4
Added
- System Locale Persistence & Localized Push Templates (
src/channels/,src/api/,web/):- Added
AppLocale(en/zh-CN) backed by SQLitesystem_settings.locale(with optionalLOCALEenvironment variable preset and partial{ "locale": ... }hot-updates onGET/PUT /api/v1/settings), automatically synchronized whenever the administrator signs into the WebUI or switches UI languages. - Localized fixed notification strings across Telegram (
Link/链接,Media N/媒体 N,Read original/阅读原文, truncation notice, and channel test messages) and SMTP email templates (Read original →/阅读原文 →, truncation notice, and footer).
- Added
Changed
- Native Multi-Runner Container Builds & Cargo Dependency Layer Caching (
.github/workflows/release.yml,Dockerfile):- Replaced QEMU user-mode
linux/arm64emulation in the release workflow with parallel native builds onubuntu-24.04(linux/amd64) andubuntu-24.04-arm(linux/arm64) usingpush-by-digest, followed bydocker buildx imagetools createmulti-arch manifest merging. - Added a version-neutral
cargo-recipemanifest sanitization stage inDockerfileso Cargo dependency compilation layers remain cached across semantic version bumps.
- Replaced QEMU user-mode
- Telegram
media_modeHyperlink Captions (src/channels/telegram.rs):- Switched
MediaModecaptions and zero-media fallback messages toparse_mode: "HTML", rendering the source permalink as a clean<a href="...">Link</a>(链接inzh-CN) hyperlink and compactly appending oversized media fallbacks on the same line (· Media N/· 媒体 N).
- Switched
- Minimalist OpenGraph & Social Preview Banner (
docs/):- Replaced
docs/public/og-image.pngwith a streamlined1280×640(2:1) dark topographic signal-wave brand banner (og:image:width = 1280,og:image:height = 640).
- Replaced
Fixed
- Telegram
media_modeInline Video Playback & Pure-Rust MP4 Metadata Extraction (src/channels/telegram.rs):- Bypassed Telegram's direct URL pass-through for
Videoattachments and ambiguous/extensionless<enclosure>items so origin CDNs omitting.mp4extensions or servingapplication/octet-streamnever cause Telegram to silently downgrade videos into unpreviewableDocumentfiles. - Added magic-byte container sniffing (
sniff_media_bytes) to promote misclassified attachments and normalize video multipart uploads tovideo/mp4+.mp4, paired with a zero-dependency ISO-BMFF (MP4/MOV/M4V)moov -> mvhd / tkhd / stsdparser (parse_mp4_metadata, including 90°/270° portrait rotation matrix handling) sosendVideoandsendMediaGroup(InputMediaVideo) always carrysupports_streaming: true,width,height, andduration.
- Bypassed Telegram's direct URL pass-through for
What's Changed
Maintenance & Dependencies
- chore(release): release v0.1.4 with native multi-arch Docker builds, Telegram video streaming, localized captions, and updated OG banner by @ElleryHe in #18
Full Changelog: v0.1.3...v0.1.4