Files
obsidian_utils/dailySummary
fegger 4b7ddcb1c1 Add daily coding summary tool for Obsidian
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.
2026-05-26 14:52:09 +02:00
..

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 Work section to your daily note (YYYY-MM-DD.md).
  • Idempotent running multiple times on the same day replaces the existing ## Coding Work section 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)