Auto-publishing blog for systems thinking research, synthesis, and writing. Every Thursday, AI researches a topic, synthesizes findings, writes an article, and creates workshop materials.
- 🤖 Fully automated content generation using Claude API
- 📅 Weekly publishing via Vercel Cron (every Thursday at 10am UTC)
- 📝 4-step workflow: Research → Synthesis → Article → Workshop
- 🎨 Clean, minimal blog interface
- 📁 File-based storage (no database)
-
Clone and install:
npm install
-
Configure environment variables: Copy
.env.local.exampleto.env.localand add:ANTHROPIC_API_KEY=sk-ant-your-key-here VERCEL_CRON_SECRET=your-random-secret-here -
Run locally:
npm run dev
-
Test workflow: Visit
http://localhost:3000/api/test/workflow?topic=your-test-topicto trigger a test run.
- Push to GitHub
- Import to Vercel
- Add environment variables in Vercel dashboard
- Deploy
The cron job will automatically run every Thursday.
/app
/api/cron/thursday - Cron endpoint
/api/test/workflow - Testing endpoint
/article/[slug] - Article pages
page.tsx - Homepage
/lib
claude.ts - Claude API client
content.ts - File utilities
workflow.ts - Main workflow engine
/content
topics.txt - Topic list
state.json - Current topic index
/published - Generated articles
To manually trigger the weekly workflow:
curl -X POST http://localhost:3000/api/cron/thursday \
-H "Authorization: Bearer YOUR_VERCEL_CRON_SECRET"Edit content/topics.txt and add one topic per line.
- Next.js 15 (App Router)
- TypeScript
- Tailwind CSS
- Claude API (Anthropic SDK)
- Vercel (hosting + cron)
Total lines of code: ~450 (excluding node_modules)