NOTEDASHBOARD
gahlautabhinav

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/:

NoteContents
Daily/YYYY-MM-DD.mdDashboard with the ranked tables below + a Claude ## TL;DR — video ideas section
Repos/owner__name.mdPer-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.mdRolling week-in-review: biggest 7-day gainers + this week's new entrants
Home.mdMap-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.css and auto-enabled.

See ARCHITECTURE.md for the full design.


Quick start

  1. 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.
  2. copy config.example.json config.json, then edit config.json:
    • vault_path → absolute path to your Obsidian vault
    • github_token → paste the token (or set env var GITHUB_TOKEN — it wins over the file)
    • topics → tune what "AI" means to you
  3. First run:
    py -3.10 github_ai_tracker.py
    
    Open <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)

KeyMeaning
vault_pathAbsolute path to your Obsidian vault
subfolderFolder inside the vault for output (default AI Repos)
github_tokenGitHub PAT (or use GITHUB_TOKEN env var)
topicsGitHub topics treated as "AI"
trending_week_count / trending_month_countSizes of the trending lists
growth_24h_count / growth_30d_countSizes of the growth lists
universe_per_topicHow many top repos per topic to snapshot for growth tracking
min_stars_universeFloor for the snapshot universe
claude_summarytrue → append a Claude-written TL;DR via the local claude CLI
filter_noise / exclude_topicsDrop 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_countSizes of the New-on-radar and Breakouts lists
breakout_min_delta / breakout_min_age_daysA breakout = an older repo (≥ N days) gaining ≥ D stars vs the prior snapshot
watchlist["owner/repo", ...] — always fetched, snapshotted, and shown
enrich_repo_notestrue → pull last-push / issues / forks / license / release / homepage / README into repo notes
weekly_note / home_note / sparklinesToggle 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 gh CLI).
  • SQLite (snapshots.db) for star history.
  • Obsidian for the UI (markdown + a CSS snippet).
  • Claude CLI (optional) for the TL;DR.

Related

How to Install

  1. Download the dashboard markdown file from GitHub
  2. Drop it into your vault (anywhere)
  3. Install the Homepage plugin and point it at the file
  4. Enable any listed CSS snippets for the intended look

Stats

Stars

0

Forks

0

Last updated 20d ago

Categories

Tags

aiautomationgithub-apiknowledge-managementobsidianself-hostedtask-scheduler