Skip to content

meta: fetcher roadmap - Social & Media #67

Open

Description

@unhappychoice

Social feeds, news aggregators, music / video / reading consumption, novelty image + text feeds. Part of the widget catalog index in #41.

RSS / news feeds

  • rss — generic feed (Network, trust-gated). Shipped in feat(fetcher): add rss feed reader #153. RSS 2.0 / RSS 1.0 / Atom / JSON Feed via feed-rs. Multi-shape (LinkedTextBlock default + TextBlock). Options: url (required, http/https only), count (1..=20, default 5). Lines are MMM DD Article title. Atom link selection prefers rel="alternate" over self. Hardening: 5MB body cap + URL scheme allowlist. First built-in Network-class fetcher, surfaced & fixed a latent shape-mismatch in trust/error placeholders along the way (now shape-aware via fetcher::placeholder_body). TZ/locale follow-up tracked in meta: project-wide locale & timezone consistency #154.
  • hackernews_top — Hacker News stories (top / new / best / ask / show / job). Shipped in feat: LinkedTextBlock shape with clickable rows (OSC 8) + hn_top fetcher #148. Multi-shape (LinkedTextBlock default for clickable rows + TextBlock / Entries). Renamed from hn_top during ship — full family prefix matches github_* / clock_* siblings.
  • hackernews_user — profile rollup (login / karma / created / about / submission count). Shipped in feat: LinkedTextBlock shape with clickable rows (OSC 8) + hn_top fetcher #148. Multi-shape (Text for hero band, Entries for grid_table, TextBlock for sidebar bio, LinkedTextBlock for one-row link to HN user page). Single read; Text / Entries / TextBlock / LinkedTextBlock are reshapes of the same /user/{login} payload.
  • hackernews_user_submissions — recent stories submitted by an HN account, linked to article URL or HN comment page. Shipped in feat: LinkedTextBlock shape with clickable rows (OSC 8) + hn_top fetcher #148. Walks submitted and filters to story-shaped types (story / show_hn / ask_hn / job); caps the scan at 80 candidates so a comment-heavy account doesn't fan out hundreds of item requests.
  • hackernews_user_comments — recent comments by an HN account, snippet stripped of HTML and truncated, linked to its HN comment page. Shipped in feat: LinkedTextBlock shape with clickable rows (OSC 8) + hn_top fetcher #148. Same submitted walk as _user_submissions, filters to type=comment.
  • reddit_subreddit_posts — public subreddit listings (type = top | hot | new | rising). Shipped in feat(fetcher): add reddit public listing fetchers #156.
  • reddit_user_posts — recent submissions by a Reddit account. Shipped in feat(fetcher): add reddit public listing fetchers #156.
  • reddit_user_comments — recent comments by a Reddit account. Shipped in feat(fetcher): add reddit public listing fetchers #156.
  • lobsters_top — Lobsters front-page listings (hottest / newest / active), optionally filtered by a single tag. Shipped in feat(fetcher): add lobsters_top for Lobsters story listings #204. Mirrors the hackernews_* family layout (shared client.rs + per-listing fetcher). 7 shapes: LinkedTextBlock default + TextBlock / Text (single headline) / MarkdownTextBlock / Entries / Bars (score, negative scores clamp to 0) / Timeline (created_at parsed via the existing github::common::parse_timestamp helper). Lobsters' tag listing only exposes the hottest variant — /t/<tag>/newest.json 404s — so when tag is set the fetcher silently force-routes to /t/<tag>.json regardless of kind. Tag normalized to [a-z0-9_+-] so config can't redirect traffic off-host.
  • product_hunt_today
  • blog_subscriptions_new

Curated news sources (news_*)

Fixed-URL RSS wrappers. Each fetcher hardcodes its feed URL, so Safety::Safe (no config-controlled destination) — drops the trust-gate friction the generic rss fetcher carries. Zero-config from the user's perspective: fetcher = "news_arstechnica" works on a fresh install, and a per-dir .splashboard/dashboard.toml shipped with a repo renders for cloners without splashboard trust.

Implementation pattern (live in src/fetcher/news/): shared src/fetcher/news/sources.rs holds a &'static [NewsSource] table (name / display / category / description / feeds). Each NewsSource carries one or more NewsFeed { key, url, label } rows, so a source can expose sub-feeds via a feed = "<key>" option without breaking the Safe class — config picks among a closed enum, but can't inject new URLs. One NewsFeedFetcher impl reuses the shared src/fetcher/feed.rs pipeline (extracted from rss and reused by both). Registration loops over the table to add news_<slug> for every entry. Adding a source = one row, not a new file.

Split into multiple fetchers (one per source) rather than news { source = "..." } because each name in config is greppable and the Safe class is per-fetcher — a future source that needs auth can be Network without poisoning the family.

Shipped in #218 + #219 — 95 sources / 130 feeds / 20 sub-genres

All entries below shipped with default sub-feed key = "main" unless noted; sources marked (sub-feeds) expose multiple selectable feeds via feed = "<key>". Live verification via cargo test -- --ignored fetcher::news::tests::live_every_bundled_feed_parses (asserts each feed parses ≥1 entry).

General

  • news_bbc (sub-feeds: world / top / business / tech / science / politics)
  • news_guardian (sub-feeds: world / uk / us / business / tech / science)
  • news_aljazeera
  • news_npr
  • news_france24
  • news_dw — Deutsche Welle English
  • news_sky_news
  • news_cbs

Tech

  • news_arstechnica (sub-feeds: main / features / tech_policy / science / gaming)
  • news_techcrunch (sub-feeds: main / startups / venture)
  • news_theverge (sub-feeds: main / tech / gaming / entertainment / science)
  • news_wired (sub-feeds: main / business / culture / gear / science / security)
  • news_hackernoon
  • news_the_register
  • news_zdnet
  • news_slashdot
  • news_venturebeat

Gadget

  • news_engadget
  • news_gizmodo
  • news_techradar

Business / markets

Science

  • news_nature
  • news_scientific_american
  • news_quanta_magazine
  • news_new_scientist
  • news_sciencedaily
  • news_phys_org

Security

  • news_krebs
  • news_bleeping_computer
  • news_schneier
  • news_the_hacker_news
  • news_threatpost
  • news_dark_reading
  • news_graham_cluley

Linux / FOSS

  • news_lwn
  • news_phoronix
  • news_omg_ubuntu
  • news_its_foss
  • news_distrowatch

Gaming

  • news_polygon
  • news_eurogamer
  • news_rockpapershotgun
  • news_kotaku
  • news_ign
  • news_pc_gamer
  • news_vg247

AI / ML

  • news_import_ai
  • news_ai_news — artificialintelligence-news.com
  • news_hugging_face_blog
  • news_the_gradient
  • news_mit_tr_ai

Hardware / makers

  • news_hackaday
  • news_tomshardware
  • news_techpowerup
  • news_ifixit

Web / design

  • news_smashing_magazine
  • news_css_tricks
  • news_a_list_apart
  • news_ux_collective

Apple ecosystem

  • news_9to5mac
  • news_macrumors
  • news_daring_fireball
  • news_appleinsider

Android

  • news_android_police
  • news_9to5google
  • news_android_authority
  • news_xda

Space / astronomy

  • news_spacenews
  • news_universe_today
  • news_nasa_news
  • news_space_com

Climate / environment

  • news_yale_climate
  • news_inside_climate
  • news_carbon_brief

Politics (new sub-genre)

  • news_politico
  • news_propublica
  • news_vox

Photography (new sub-genre)

  • news_dpreview
  • news_petapixel
  • news_fstoppers

Entertainment (new sub-genre)

  • news_variety
  • news_deadline
  • news_indiewire

Music (new sub-genre)

  • news_pitchfork
  • news_stereogum

Crypto (new sub-genre)

  • news_coindesk
  • news_the_block
  • news_decrypt

Shape contract inherited from rss: LinkedTextBlock default + ImageLinkedList (thumbnails via list_cards) + TextBlock. No per-source shape variation.

Dropped / substituted during ship

  • news_ap / news_reuters — neither agency exposes a stable public RSS endpoint; substituted with Guardian + NPR + France 24 + DW + Sky News + CBS for general news breadth.
  • news_selfhst / news_cloudflare_blog / news_github_blog / news_changelog_podcast — corporate-product blogs are out, the self-hosted/dev sub-genre dropped entirely. news_hugging_face_blog lands instead under AI/ML as a research-lab blog (distinct from product PR blogs — HF Blog is the canonical source for HF model releases / paper write-ups).
  • news_sophos_naked_security (initially planned) — Sophos shut down Naked Security in 2024. Replaced with news_graham_cluley (former Sophos blogger, same niche).
  • news_designer_news / sidebar.io (initially planned for web/design) — both returning connection failures. Replaced with news_ux_collective (uxdesign.cc).

Future additions (post-#218)

New sources land as one-row appends to sources.rs + auto-registration. Candidate tracking continues here as [ ] checkboxes.

Microblogging / social

  • mastodon_notifications — self-hosted instance URL (Safe once fixed at config time)
  • mastodon_home_unread
  • bluesky_notifications
  • bluesky_feed
  • reddit_inbox
  • reddit_karma_delta
  • mastodon_trends — trending hashtags / posts / links on a Mastodon instance via the public trends API (instance host fixed at config → Safe). TextBlock / LinkedTextBlock / Bars
  • bluesky_trending — trending topics / feeds on Bluesky (public AppView, host-fixed → Safe). TextBlock / LinkedTextBlock
  • reddit_trending — Shipped in feat(fetcher): add *_trending batch — reddit / wikipedia / crypto / huggingface #242. /r/popular.json site-wide listing; reuses the reddit_* family client.rs + Post DTO + thumbnail pipeline (common.rs::post_title / post_meta were widened to pub(super) for the new module). 7 shapes (LinkedTextBlock default + ImageLinkedList / TextBlock / Text / MarkdownTextBlock / Entries / Bars). count 1..=30 (default 10); no period option because /r/popular.json is precomputed-hot without a window selector. Bars clamp Reddit's signed score to u64 at zero so the rare downvoted-front-page case doesn't break the contract.

Video / live streaming

  • youtube_channel — public channel uploads via per-channel Atom feed (no API key / OAuth). Shipped in feat(fetcher/youtube): add youtube_channel #220. Single- and multi-channel collapse into one fetcher: channel_ids: Vec<String> covers both. Safety::Safe — host hardcoded, each ID regex-validated to ^UC[A-Za-z0-9_-]{22}$ before reaching the URL. Default include_shorts = false adopts the glance trick: rewrite UC... → UULF... and query ?playlist_id=UULF... (the channel's auto long-form-uploads playlist) so Shorts are excluded; include_shorts = true falls back to ?channel_id= and returns everything. Multi-channel = parallel fetch + merge by published desc; per-channel failures fall through silently while ≥1 succeeds, all-fail surfaces an error so YouTube's intermittent 404 windows (Youtube videos occasionally not loading from some channels glanceapp/glance#910 — uptime ~95% over 3 weeks) are visible rather than hidden. 8 shapes (LinkedTextBlock default + TextBlock / Text / MarkdownTextBlock / ImageLinkedList / Entries / Image / Timeline) via 5 new helpers added to the shared feed::* pipeline — rss and the news_* family widen their SHAPES in lockstep, so all 93 news sources gain the same shape table too.
  • youtube_subscription_uploads — your subscriptions (OAuth required, distinct from youtube_channel)
  • youtube_own_stats
  • twitch_followed_live — feeds timeline
  • twitch_top_games — currently most-watched categories on Twitch. Public Helix API endpoint (GET /games/top) requires only an app token (client_credentials flow, no user auth), so Safety::Safe once the token is in secrets.toml.
  • youtube_trending — trending videos by region / category via the YouTube Data API (region / category options; host fixed → Safe). LinkedTextBlock / ImageLinkedList / TextBlock

Music

  • spotify_now_playing
  • spotify_recently_played
  • spotify_top_track_week
  • lastfm_scrobbles_today — Shipped in feat(fetcher): add lastfm_* family (5 fetchers + shared scaffold) #248. user.getRecentTracks?from=midnight-UTC-today reads today's scrobbles + the currently-playing track (split out via @attr.nowplaying). Required user, optional limit (1..=50, default 10). 8 shapes (LinkedTextBlock default + ImageLinkedList / TextBlock / Text / MarkdownTextBlock / Entries / Badge / Timeline). Auth via LASTFM_API_KEY; host-fixed → Safe (same model as github_*). Refresh interval 5 minutes.
  • lastfm_top_artist_week — Shipped in feat(fetcher): add lastfm_* family (5 fetchers + shared scaffold) #248 as lastfm_top_artists (sibling generalised: period = "7day" absorbs the _week variant; also 1month / 3month / 6month / 12month / overall). 10 shapes including Ratio (top artist's share of window total) and NumberSeries / Bars for the playcount distribution.
  • lastfm_top_tracks — Shipped in feat(fetcher): add lastfm_* family (5 fetchers + shared scaffold) #248 (sibling expansion). Same user / period / limit contract; row mapping pulls the artist into the secondary label so titles render as "Track — Artist" via the shared lastfm/top.rs surface.
  • lastfm_top_albums — Shipped in feat(fetcher): add lastfm_* family (5 fetchers + shared scaffold) #248 (sibling expansion). Same contract; album artwork in image_linked_list is where it pulls ahead visually (Last.fm consistently populates album imagery, unlike per-track).
  • lastfm_charts — Shipped in feat(fetcher): add lastfm_* family (5 fetchers + shared scaffold) #248. Last.fm's global chart of top artists or top tracks across every scrobble. Closes the Last.fm half of music_charts below. kind = "artists" | "tracks" (default artists), limit 1..=50. 7 shapes. Important quirk: chart.* endpoints rank by listener count, not playcount, so fetch_rows sorts by playcount desc and reassigns ranks after parsing — otherwise Bars / list_ranking lengths and rank prefixes diverge.
  • listenbrainz_scrobbles_today
  • music_charts — global top tracks / artists right now (host fixed → Safe). Bars / Entries / LinkedTextBlock. Last.fm half shipped via lastfm_charts in feat(fetcher): add lastfm_* family (5 fetchers + shared scaffold) #248; Spotify / Apple Music charts still open.
  • mpd_now_playing — local Music Player Daemon now-playing snapshot (realtime, reads the local mpd socket, Safe)

Podcasts

  • podcast_new_episodes — new episodes from followed podcasts via the Podcast Index API (free, fixed-host → Safe); follow shows by feed URL or PI id. Timeline (default) / list_cards / TextBlock / Text (latest episode). Overcast / Pocket Casts are auth-based siblings for "your actual queue"

Media library

  • plex_recently_added — feeds timeline / image
  • jellyfin_recently_added
  • sonarr_calendar / radarr_calendar — upcoming episode / movie releases from the *arr stack; feeds timeline / grid_calendar. Self-hosted, Safe once host fixed

Reading / watching

  • letterboxd_recent_watches (RSS-based)
  • anilist_currently_watching
  • mal_currently_watching
  • anime_season — currently-airing seasonal anime + this week's episode schedule via Jikan (free, no auth, fixed-host → Safe). Timeline / list_cards / TextBlock. Distinct from anilist_currently_watching (your list) — this is the whole season
  • goodreads_currently_reading
  • hardcover_currently_reading
  • trakt_up_next — next unwatched episode in your in-progress shows; feeds timeline / list_cards
  • readwise_daily_review — today's resurfaced highlights from Readwise; feeds text_* / list_*
  • pocket_unread — unread saves from Pocket / Wallabag (self-hosted sibling); raindrop_recent covers bookmarks

Release radar

"What's dropping" feeds — upcoming games / films / TV / music. Fixed-host public APIs (Safety::Safe): IGDB (Twitch app-token, same model as twitch_top_games), TMDB, TVmaze (no auth), MusicBrainz.

  • game_releases — games releasing soon. Filter-first: filter_platforms, filter_wishlist. Timeline (default) / list_cards / TextBlock / Text (next notable release). IGDB or RAWG
  • movie_releases — films hitting theatres / streaming this week. Filter-first: filter_region, filter_kind (theatrical / streaming). Timeline / list_cards / TextBlock. TMDB
  • tv_schedule — episodes airing tonight + next episodes of followed shows. Timeline / Entries / Text. TVmaze (no auth, zero-config). Self-host alternative is sonarr_calendar
  • album_releases — new releases from followed artists. Filter-first: filter_artists. Timeline / TextBlock. MusicBrainz / Last.fm
  • book_releases — upcoming books from followed authors. Filter-first: filter_authors. Timeline / list_cards / TextBlock. Google Books / OpenLibrary
  • box_office — top films at the box office this weekend (TMDB / public box-office data). Bars / Entries / Text. The "what's popular now" companion to movie_releases

Novelty image feeds

  • xkcd_today — feeds image renderer (Network)
  • random_cat — Shipped in feat(fetcher): add random_cat — random cat picture from cataas.com #191. cataas.com fixed-host fetcher (Safety::Safe, not Network — re-evaluated under simplified trust model: no auth, no config-controlled URL). Image-only shape. Optional tag filter (cute / orange / kitten / comma-joined AND). Magic-byte format detection covers PNG / JPEG / GIF / WebP; stale-extension cleanup on format-changing refreshes; 5 MB body cap.
  • random_dog — Shipped in feat(fetcher): add random_dog — random dog photo from dog.ceo #192. dog.ceo fixed-host fetcher (Safety::Safe; both API host dog.ceo and CDN host images.dog.ceo hardcoded, no auth). Image-only shape. Two-call flow (JSON {message, status} → image bytes); the URL returned by the API is re-validated against an allowlist so a future API pivot can't redirect us off-host. Options: breed / sub_breed (validation rejects sub_breed without breed). Magic-byte format detection / stale-extension cleanup / 5 MB cap inherited from random_cat. Corpus is 20k+ images across 100+ breeds — no novelty-trap concern.
  • unsplash_random → Image
  • pexels_random → Image
  • met_museum_random / art_institute_random — a random public-domain artwork from the Met / Art Institute of Chicago open APIs → Image
  • bing_wallpaper — Bing photo of the day → Image
  • nasa_apod — Astronomy Picture of the Day → Image. Shipped in feat(fetcher): add nasa_apod — NASA Astronomy Picture of the Day #230. Multi-shape: Image (default) downloads the picture; Text / TextBlock / MarkdownTextBlock / LinkedTextBlock / Entries reshape the title/explanation/date metadata. Safety::Safe (fixed host api.nasa.gov, returned image URL host re-validated like random_dog). Optional api_key (env NASA_API_KEY -> DEMO_KEY fallback). On video days the Image shape errors; text shapes still render.
  • repo_logo — fetch og:image for a configured repo (Network)

Novelty text feeds

  • random_fortune — classic Unix-style fortune cookies. Shipped in feat(fetcher): add fortune cookie fetcher + expand quote_of_day to 567 entries #157 as fortune, renamed in refactor(fetcher): rename fortune / quote_of_day to random_* family #158. Realtime / Safe / zero-config; bundled data.txt of 442 %-separated entries (one-liners, programmer humor, fortune-cookie wisdom, a few short verses). Multi-shape (TextBlock default + Text); cookies may span multiple lines. Selection by epoch_days % N so the cookie advances at midnight and drifts year over year. Anonymous (no author attribution — distinct from random_quote).
  • random_quote — bundled daily quote with author attribution. Originally shipped as quote_of_day; refactored in feat(fetcher): add fortune cookie fetcher + expand quote_of_day to 567 entries #157 to externalise content (data.txt, %-separated, last — Author line is the attribution), expanded 50 → 558 entries, switched from day_of_year to epoch_days indexing so the same calendar date no longer always returns the same quote, then renamed in refactor(fetcher): rename fortune / quote_of_day to random_* family #158. Multi-shape (TextBlock default + Text).
  • wikipedia_featured — today's Wikipedia featured article (TFA) via feed/featured/{YYYY}/{MM}/{DD}. Shipped in feat(fetcher): wikipedia_* family — on_this_day / featured / random #152. Multi-shape (LinkedTextBlock default + TextBlock + Text). Safe (host fixed at *.wikipedia.org; lang option picks the language subdomain).
  • wikipedia_on_this_day — historical events for today, linked to Wikipedia. Shipped in feat(fetcher): wikipedia_* family — on_this_day / featured / random #152. Renamed from the working title today_in_history for wikipedia_* family discipline. Multi-shape (LinkedTextBlock default + TextBlock + Text); kind option picks selected (curated highlights, default) / events / births / deaths / holidays / all. Text shape = selected[0] headline (deterministic per kind, holidays drop the YYYY — prefix).
  • wikipedia_random — random page summary via page/random/summary. Shipped in feat(fetcher): wikipedia_* family — on_this_day / featured / random #152. Same shape table as wikipedia_featured (LinkedTextBlock / TextBlock / Text). Default refresh interval applies — TTL controls how often a new article is drawn.
  • wikipedia_trending — Shipped in feat(fetcher): add *_trending batch — reddit / wikipedia / crypto / huggingface #242. Wikimedia /metrics/pageviews/top/{lang}.wikipedia/{access}/{Y}/{M}/{D} API for the previous UTC day (today's snapshot isn't finalised, so requesting today 404s). Filters Main_Page / - / Special: / Wikipedia: / Portal: / File: / Category: / Help: / Template: / Talk: so the list reads as real articles. 7 shapes (LinkedTextBlock default + ImageLinkedList via per-article /page/summary thumbnail / TextBlock / Text / MarkdownTextBlock / Entries / Bars). Options: lang (default en), count 1..=20, access = "all-access" | "desktop" | "mobile-web" | "mobile-app". Article URLs are built via url::Url::path_segments_mut so reserved characters and non-ASCII titles encode correctly.
  • dictionary_word_of_day
  • horoscope — daily horoscope for a configured star sign (sign option); free fixed-host daily API → Safe. Text / TextBlock / Entries (sign / mood / lucky number / lucky colour). Novelty-text class alongside random_fortune / random_quote — engagement, not world-data

Activity

  1. matijani commented on Oct 15, 2026

    @matijani

    Couple of things to know before unsplash_random lands. Unlike random_cat it can't be zero-config: /photos/random needs a Client-ID key, so it goes the LASTFM_API_KEY route. And since the Image shape writes bytes to disk, Unsplash's guidelines expect a hit on the photo's download_location too, iirc. Second request per refresh. Pexels has no random endpoint at all, pretty sure people use /v1/curated with a random page. The host re-validation from random_dog carries over fine, just allowlist images.unsplash.com and images.pexels.com.

    If you'd rather not keep two clients with their own keys and response shapes, one option is Pexafy: Unsplash, Pexels and Pixabay behind one fixed host, one key, one schema, and no tracking call to fire. It's search though, not a random draw, so picking from the results stays on your side. Take that with a grain of salt, Pexafy being something I help build.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    widget

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions