4b7ddcb1c1
Integrates with Zed editor history and Git commits to track daily coding activity. Writes idempotent `## Coding Work` sections into Obsidian daily notes with project breakdowns and commit stats.
Daily Coding Summary
Track your coding activity from Zed editors and Git commits, then write a summary into your Obsidian daily note.
Features
- Zed Integration – reads Zed's SQLite database to find which files you edited today and groups them by project.
- Git Tracking – scans
~/Code(or custom directories) for git repositories and collects today's commits with stats (insertions, deletions, files changed). - Obsidian Daily Notes – writes or appends a
## Coding Worksection to your daily note (YYYY-MM-DD.md). - Idempotent – running multiple times on the same day replaces the existing
## Coding Worksection rather than duplicating it.
Usage
# Use default vault (from OBSIDIAN_VAULT env var or ~/Obsidian)
python main.py
# Specify vault and code directories
python main.py --vault ~/Documents/obsidian_vault --code-dir ~/Code --code-dir ~/Work
# Dry-run to preview without writing
python main.py --dry-run
# Summarize a specific day
python main.py --date 2026-05-20
# Skip Zed or Git tracking
python main.py --no-zed
python main.py --no-git
Configuration
| Environment Variable | Description | Default |
|---|---|---|
OBSIDIAN_VAULT |
Path to your Obsidian vault | auto-detected from ~/Obsidian |
OBSIDIAN_DAILY_FOLDER |
Folder inside the vault for daily notes | Daily Notes |
Requirements
- Python 3.9+
- Git (for commit tracking)
- Zed editor (optional, for editor tracking)