aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorSam Scholten2026-10-07 15:31:52 +1000
committerSam Scholten2026-10-07 15:31:52 +1000
commit2f75794194209586d0b17d26e4e87d94d3e6aead (patch)
tree069798e987a7bc2a395baa38fbe4d27c3cba1dce /main.go
parentf84f1c0e26908e2a70777441e1174a26dca10b91 (diff)
downloadfluxrec-2f75794194209586d0b17d26e4e87d94d3e6aead.tar.gz
fluxrec-2f75794194209586d0b17d26e4e87d94d3e6aead.zip
feeds: subscription audit command (per-feed volume + star stats)
GET /v1/feeds + feed_id entries filter in the client, one cheap volume probe per feed over a --days window, star stats joined from labels.jsonl by feed id, category column, --min-per-day/--min-seen filters. Read-only; justfile recipe with one-line doc comments throughout.
Diffstat (limited to 'main.go')
-rw-r--r--main.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/main.go b/main.go
index d5adc15..efd8118 100644
--- a/main.go
+++ b/main.go
@@ -38,6 +38,8 @@ func main() {
cmd = &cmds.ServeCommand{}
case "retrostar":
cmd = &cmds.RetrostarCommand{}
+ case "feeds":
+ cmd = &cmds.FeedsCommand{}
default:
fmt.Fprintf(os.Stderr, "Unknown command: %s\n\n", cmdName)
printHelp()
@@ -69,6 +71,7 @@ Commands:
train Train a TF-IDF + LR model from labels.jsonl
serve Poll Miniflux, score, serve recommendations RSS (server)
retrostar Model-ranked candidates for retroactive starring (cold start)
+ feeds Subscription audit: per-feed volume + star stats (pruning aid)
Usage:
echo "some title" | fluxrec score --model model.json