github-ai-updates
Daily digest of trending & fastest-growing AI GitHub repos, delivered as a styled Obsidian dashboard with Claude-written TL;DRs. stdlib-only Python + SQLite star-history. Runs every morning via Windows Task Scheduler.
🛰️ AI Repo Tracker → Obsidian
A personal, self-hosted daily digest of trending and fastest-growing AI GitHub repos, written straight into an Obsidian vault as a styled "console" dashboard. Keep your finger on the pulse of new AI tools — go to the source instead of waiting for the downstream videos.
stdlib-only Python. No pip install. No external services. The only thing that touches the network is the GitHub REST API.
Inspired by a YouTuber's morning-automation idea, rebuilt as a personal tool with an Obsidian-native UI and Claude-written video-idea summaries.
What it produces
Every morning, in <vault>/AI Repos/:
| Note | Contents |
|---|---|
Daily/YYYY-MM-DD.md | Dashboard with the ranked tables below + a Claude ## TL;DR — video ideas section |
Repos/owner__name.md | Per-repo note: description, enrichment (last push, open issues, forks, license, latest release, homepage), README excerpt, a star-history sparkline, and the history table |
Weekly/YYYY-Www.md | Rolling week-in-review: biggest 7-day gainers + this week's new entrants |
Home.md | Map-of-content: links to the latest digest + week, top-tracked all-time, watchlist, and recent days |
The dashboard's lists:
- 🆕 New on radar — repos that entered tracking today
- 🚀 Breakouts — older repos suddenly gaining stars (the "created months ago, then takes off" case)
- 🔥 Trending — created this week / 📅 this month (ranked by star momentum — stars per day — so old giants don't hog the top)
- ⚡ Fastest growing — last 24h / 📈 last 30 days (raw star velocity)
- ⭐ Watchlist — repos you pin in config, always tracked
Awesome-lists and other non-tool repos are filtered out by default so the lists stay full of runnable tools.
Notes are wikilinked into your Obsidian graph and carry cssclasses so a bundled CSS snippet renders them as a dark, data-forward dashboard. View in Reading mode (Ctrl+E) for the full look.
⏳ The two growth lists need accrued history: the 24h list appears after the 2nd daily run, the 30d list fills in over ~a month. Trending lists work on day 1.
How it works
GitHub Search API ──► merge/dedupe across AI topics ──► snapshots.db (SQLite)
│
┌───────────────────────────────────┤
trending (created in window) growth (diff today vs prior snapshot)
└───────────────────┬───────────────┘
▼
Markdown notes + per-repo notes ──► Obsidian vault
│
optional: claude -p ──► TL;DR appended
- Trending = repos created in the window, ranked by stars (new & hot).
- Growth = star velocity for repos of any age (catches old repos that suddenly take off) — computed by diffing today's star counts against an earlier daily snapshot stored in SQLite.
- Styling = a CSS snippet auto-written to
<vault>/.obsidian/snippets/ai-repos.cssand auto-enabled.
See ARCHITECTURE.md for the full design.
Quick start
- GitHub token (lifts the rate limit to 5000/hr): https://github.com/settings/tokens → Generate new token (classic) → check no scopes (public search needs none) → copy.
copy config.example.json config.json, then editconfig.json:vault_path→ absolute path to your Obsidian vaultgithub_token→ paste the token (or set env varGITHUB_TOKEN— it wins over the file)topics→ tune what "AI" means to you
- First run:
Openpy -3.10 github_ai_tracker.py<vault>/AI Repos/Daily/in Obsidian (Reading view).
config.json, snapshots.db, and the vault are gitignored — your token never leaves your machine.
Tokens expire. When 14 days or fewer remain, the daily note shows a warning callout and run.log gets a WARNING line. If GitHub rejects the token (HTTP 401), the run stops with an error instead of writing empty notes: regenerate the token and update github_token in config.json (or GITHUB_TOKEN).
Run it every morning (Windows Task Scheduler)
Create the daily job (no GUI):
schtasks /create /tn "AI Repo Tracker" /tr "<repo>\run_daily.bat" /sc daily /st 08:00 /f
On a laptop you must harden it, or the run gets killed on battery or when the
machine wakes from sleep at 8am — the task exits 0xC000013A and you lose the day.
Run once in an Administrator PowerShell:
# run detached from the console (survive logoff/sleep) + allow battery + catch-up
$p = New-ScheduledTaskPrincipal -UserId "$env:USERNAME" -LogonType S4U -RunLevel Limited
$s = New-ScheduledTaskSettingsSet -StartWhenAvailable
$s.DisallowStartIfOnBatteries = $false
$s.StopIfGoingOnBatteries = $false
Set-ScheduledTask -TaskName 'AI Repo Tracker' -Principal $p -Settings $s
Why each part matters:
- S4U principal — runs with no console, so a Ctrl+C sent during a sleep/wake or logoff transition can't reach it (the main cause of missed days).
- battery flags — Task Scheduler otherwise refuses to start (or stops) the task on battery power.
- StartWhenAvailable — if the laptop was off at 8am, it catches up when powered on.
run_daily.bat also launches Python in its own process group as a second layer of
protection against console-teardown kills.
The job is local — the laptop must be on (or get turned on later that day). A
cloud schedule can't reach a local vault. Logs append to run.log; a missed day
can't be backfilled (that day's star snapshot is never captured), but growth
self-heals from the next run.
Configuration (config.json)
| Key | Meaning |
|---|---|
vault_path | Absolute path to your Obsidian vault |
subfolder | Folder inside the vault for output (default AI Repos) |
github_token | GitHub PAT (or use GITHUB_TOKEN env var) |
topics | GitHub topics treated as "AI" |
trending_week_count / trending_month_count | Sizes of the trending lists |
growth_24h_count / growth_30d_count | Sizes of the growth lists |
universe_per_topic | How many top repos per topic to snapshot for growth tracking |
min_stars_universe | Floor for the snapshot universe |
claude_summary | true → append a Claude-written TL;DR via the local claude CLI |
filter_noise / exclude_topics | Drop awesome-lists / non-tool repos (by topic + name + description) |
trending_rank | "momentum" (stars/day, default) or "stars" (raw) for the trending lists |
new_on_radar_count / breakout_count | Sizes of the New-on-radar and Breakouts lists |
breakout_min_delta / breakout_min_age_days | A breakout = an older repo (≥ N days) gaining ≥ D stars vs the prior snapshot |
watchlist | ["owner/repo", ...] — always fetched, snapshotted, and shown |
enrich_repo_notes | true → pull last-push / issues / forks / license / release / homepage / README into repo notes |
weekly_note / home_note / sparklines | Toggle the weekly rollup, the Home MOC, and per-repo sparklines |
Self-check
py -3.10 github_ai_tracker.py --selftest
Verifies the growth-diff + ranking logic and the token-expiry warning on fixture data.
Tech
- Python 3.10, standard library only (
urllib,sqlite3,subprocess,json). - GitHub REST Search API for data (not the
ghCLI). - SQLite (
snapshots.db) for star history. - Obsidian for the UI (markdown + a CSS snippet).
- Claude CLI (optional) for the TL;DR.
How to Install
- Download the dashboard markdown file from GitHub
- Drop it into your vault (anywhere)
- Install the Homepage plugin and point it at the file
- Enable any listed CSS snippets for the intended look
Stats
Stars
0
Forks
0
Last updated 20d ago