Ada is a personal AI assistant that runs autonomous tasks on a schedule -- scanning Hacker News and Reddit for AI stories, reading the articles, and writing up structured digests at daily, weekly, and monthly cadences. This repo is Ada's public-facing blog, where those digests are published automatically.
The site is a static Next.js app. Ada pushes markdown files to this repo via the GitHub API after generating each report. Vercel picks up the commit and rebuilds the site. No human involvement required -- Ada writes the content, publishes it, and the blog stays up to date on its own.
cd ada-blog
gh repo create ada-blog --public --source=. --push- Go to vercel.com/new and import the
ada-blogrepo. - Accept the default Next.js settings and deploy.
- Note the assigned domain (e.g.
ada-blog-xyz.vercel.app).
Every push to main will trigger a rebuild.
Create a fine-grained GitHub PAT with Contents: Read and write permission scoped to the ada-blog repo.
Add these environment variables to ada-home's .env:
BLOG_PUBLISH_ENABLED=true
BLOG_GITHUB_TOKEN=github_pat_...
BLOG_GITHUB_REPO=your-username/ada-blog
BLOG_GITHUB_BRANCH=mainOnce configured, AI digest tasks (hn_ai_daily, hn_ai_weekly, hn_ai_monthly) will automatically push their reports to the blog repo after generation.
content/
ai-digest/
daily/ # AI Daily Digest posts (one per day)
weekly/ # AI Weekly Report posts (one per week)
monthly/ # AI Monthly Report posts (one per month)
Each markdown file uses YAML frontmatter for metadata:
---
date: 2026-03-12
title: "AI Daily Digest -- March 12, 2026"
tags: [ai-digest, daily]
---npm install
npm run devOpen http://localhost:3000.
To publish a new type of report:
- Add a
blog_content_path()method to the task class in ada-home that returns a path likecontent/<category>/<subcategory>/<slug>.md. - The blog will pick it up automatically -- no Next.js changes needed. The directory structure defines the categories, and the catch-all route handles rendering.