You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Per-subscriber language/topic filters for the email digest #6
Every subscriber currently gets the same digest: the global top 10 across all languages and topics. In practice a Rust developer and an ML researcher want very different halves of that list, and irrelevant picks are the #1 reason people unsubscribe from any digest.
Motivation
Topic relevance is the highest-leverage improvement to email retention available right now.
All the data needed for filtering (language, topics, AI/ML source flag) is already attached to each scored repo — this is a delivery-layer change, not a scoring change.
Proposed approach
Evolve the subscriber list from flat subscribers.txt into a structure with optional preferences, e.g. YAML:
- email: alice@example.comlanguages: [rust, go]
- email: bob@example.comtopics: [ai-ml]
- email: carol@example.com # no filters = global top 10, current behavior
At digest render time, filter + re-rank the day's scored pool per subscriber before applying the top-N cut, falling back to the global list when a filter yields fewer than 3 repos (better a broader digest than an empty one — say so in a footer line).
Keep backward compatibility: plain-email lines (or the old file) keep meaning "no filter".
Batch sends through Resend as today; per-subscriber rendering is just a loop over the pool.
Open questions
Language matching: repo primary language only, or also topics/description keywords?
Should the "fewer than 3 → fall back" threshold be configurable in config.yaml?
Acceptance criteria
A subscriber with languages: [rust] receives only Rust repos when ≥3 qualify, and the documented fallback otherwise.
Subscribers without preferences see no change at all.
Tests cover the filter/fallback logic with a fixture pool; README's subscription section documents the new format.
Closing per owner decision: this is a delivery-layer feature nobody asked for yet, and the subscriber list needs the lifecycle work in #10 (or a GAS redeploy) before per-subscriber rendering is worth building. The design sketch stays on the issue if it is picked up later.
Activity
alloevil commentedon Sep 16, 2026
Closing per owner decision: this is a delivery-layer feature nobody asked for yet, and the subscriber list needs the lifecycle work in #10 (or a GAS redeploy) before per-subscriber rendering is worth building. The design sketch stays on the issue if it is picked up later.