@ishaan812/devlog
v0.0.4
Published
AI-powered development activity tracker and code intelligence tool. Local-first work logging for developers who juggle too many repos.
Maintainers
Readme
_ _
__| | _____ _| | ___ __ _
/ _` |/ _ \ \ / / |/ _ \ / _` |
| (_| | __/\ V /| | (_) | (_| |
\__,_|\___| \_/ |_|\___/ \__, |
|___/Stop forgetting what you shipped.
Open-source, local-first AI work logging for developers who juggletoo many repos, too many branches, and too many standups.
You ship code across 5 repos, 12 branches, and 3 teams. Monday morning standup hits and you're scrolling through git log trying to remember what you did last Thursday.
DevLog fixes that. It ingests your git history across every repo and branch you work on, and turns it into smart, structured work logs — automatically. No more "I think I worked on the auth thing?" Get your work summary in seconds.
The 30-second pitch
npm install -g @ishaan812/devlog # Install
devlog onboard # Set up (works with free local Ollama)
devlog ingest # Point it at your repos
devlog commit # Generate smart commit messages
devlog worklog --days 7 # Get your week's work, organized by branch
devlog console # Browse worklogs in an interactive TUIThat's it. Professional markdown work logs, generated from your actual commits. Multi-repo, multi-branch, zero effort.
Why Developers Love DevLog
You context-switch constantly
You're on feature/payments in the morning, hotfixing prod after lunch, reviewing PRs on a backend service, then back to payments. DevLog tracks all of it — across repos and branches — so you don't have to.
Your standups are painful
"What did I do yesterday?" shouldn't require 10 minutes of archaeology through git logs in 4 different terminals. DevLog generates a clean, branch-organized summary in one command.
You work across multiple repos
Frontend, backend, shared libraries, infrastructure — DevLog ingests them all into one unified timeline. One command to see everything you shipped.
You care about privacy (and your wallet)
DevLog is local-first. Run it with Ollama and your data never leaves your machine. No subscriptions, no telemetry, no cloud dependency. Need better summaries? Plug in Anthropic, OpenAI, or OpenRouter for pennies per query.
Features
| Feature | Description |
|---------|-------------|
| Smart Work Logs | Auto-generated markdown summaries organized by branch, date, and repo — ready for standups, PRs, or performance reviews |
| AI Commit Messages | Generate contextual commit messages from your changes with interactive staging and commit workflow |
| Interactive Console | Full-screen terminal UI to browse repos and navigate through your cached worklogs day-by-day |
| Multi-Repo Ingestion | Ingest as many repos as you want into a single profile. See your full picture. |
| Multi-Branch Tracking | Branch-aware ingestion remembers your selections per repo. Track main, develop, and every feature branch. |
| Local-First AI | Works completely offline with Ollama. Your code and history stay on your machine. |
| Cheap Cloud Fallback | Optionally use Anthropic, OpenAI, OpenRouter, or AWS Bedrock — most queries are very lightweight and would cost fractions of a cent |
| Profile System | Isolated databases for work vs. personal, or per-client contexts |
| Incremental Updates | Re-runs only process new commits. Fast even on large repos. |
Quick Start
# 1. Install DevLog
npm install -g @ishaan812/devlog
# or: go install github.com/ishaan812/devlog/cmd/devlog@latest
# 2. Run the setup wizard
devlog onboard
# 3. Ingest your repositories
devlog ingest ~/projects/frontend
devlog ingest ~/projects/backend
devlog ingest ~/projects/shared-lib
# 4. See what you actually shipped
devlog worklog --days 7Installation
Using npm (Easiest)
npm install -g @ishaan812/devlogUsing Go Install
go install github.com/ishaan812/devlog/cmd/devlog@latestNote: Make sure $HOME/go/bin (or $GOPATH/bin) is in your PATH. Add this to your shell config if needed:
# For bash (~/.bashrc) or zsh (~/.zshrc)
export PATH="$HOME/go/bin:$PATH"
# For fish (~/.config/fish/config.fish)
set -gx PATH $HOME/go/bin $PATHFrom Source
git clone https://github.com/ishaan812/devlog
cd devlog
make installVerify Installation
devlog --helpGetting Started
1. Initial Setup
Run the onboarding wizard to configure your LLM provider:
devlog onboardThis will:
- Set up your preferred LLM provider (Ollama recommended for privacy)
- Configure your user identity for commit tracking
- Create your default profile
2. Ingest a Repository
Navigate to your project and run:
cd ~/projects/myapp
devlog ingestOn first run, you'll select which branches to track. DevLog remembers your selection:
Saved branch selection:
Main: main
Branches: main, develop, feature/auth
[Enter] Use current [m] Modify [r] Reselect all: 3. Generate Work Logs
devlog worklog --days 7One command. Every repo. Every branch. Organized and summarized:
# Work Log - yourname
*Generated on February 4, 2026*
# Monday, February 3, 2026
## repo: frontend | Branch: feature/payments
### Updates
- Built the checkout flow with Stripe integration
- Added client-side form validation for card inputs
### Commits
- **16:45** `f8a9b0c` Add Stripe checkout component (+320/-15)
- **14:20** `c3d4e5f` Add card validation helpers (+95/-10)
## repo: backend | Branch: feature/auth
### Updates
- Implemented JWT-based authentication with refresh tokens
- Added role-based access control middleware
### Commits
- **11:30** `a1b2c3d` Add JWT authentication (+250/-30)
- **09:15** `d4e5f6g` Implement RBAC middleware (+180/-20)That's your standup, done. Copy-paste it, email it, or drop it in Slack.
Commands Reference
devlog ingest
Ingest git history from your repositories.
devlog ingest # Current directory
devlog ingest ~/projects/myapp # Specific path
devlog ingest --days 90 # Last 90 days (default: 30)
devlog ingest --all # Full git history
devlog ingest --reselect-branches # Re-select branches
devlog ingest --all-branches # Ingest all branches
devlog ingest --fill-summaries # Generate missing commit summariesdevlog worklog
Generate formatted work logs from your commit history.
devlog worklog # Default: last 7 days
devlog worklog --days 30 # Last 30 days
devlog worklog -o report.md # Custom output file
devlog worklog --no-llm # Skip AI summaries
devlog worklog --group-by date # Group by date instead of branchdevlog commit
Generate AI-powered commit messages from your changes.
devlog commit # Analyze all changes (staged + unstaged)
devlog commit --staged-only # Only analyze staged changes
devlog commit --provider openai # Override LLM provider
devlog commit --model gpt-5.2 # Override modelAfter generating a commit message, DevLog launches an interactive TUI that:
- Shows the generated message and asks for approval
- Optionally stages all changes with
git add . - Commits with the generated message
The command analyzes your git diff using AI to create meaningful, contextual commit messages. If you've run devlog ingest, it also uses your codebase summary for better context.
devlog console
Interactive terminal UI to browse repositories and worklogs.
devlog console # Launch full-screen TUIFeatures:
- Browse through all your ingested repositories
- Navigate day-by-day worklogs
- View formatted markdown content in the terminal
- Keyboard shortcuts for quick navigation (arrow keys, j/k, tab)
Requires at least one prior devlog worklog run to populate the cache.
devlog profile
Manage isolated profiles for different work contexts.
devlog profile # Show current profile
devlog profile list # List all profiles
devlog profile create work "Work projects"
devlog profile use work # Switch profiles
devlog profile repos # List repos in profile
devlog profile delete old # Delete a profileUse a profile temporarily:
devlog --profile work ingest ~/work/project
devlog --profile personal worklog --days 7
### `devlog list`
List profiles and repositories.
```bash
devlog list # All profiles with stats
devlog list repos # Repos in current profiledevlog clear
Clear database data for the current profile.
devlog clear # Interactive confirmation
devlog clear --force # Skip confirmationLLM Providers — Use What You Already Have
DevLog doesn't lock you into an expensive API. Start free and local, upgrade if you want.
| Provider | Privacy | Cost | Best For | |----------|---------|------|----------| | Ollama | 🟢 Fully local | Free | Default. Your data never leaves your machine. | | OpenRouter | 🟡 Cloud | ~$0.001/query | Cheap access to dozens of models | | Anthropic | 🟡 Cloud | Paid | Best quality summaries | | OpenAI | 🟡 Cloud | Paid | Wide model selection | | Bedrock | 🟡 Cloud | Paid | AWS-integrated workflows |
Setting Up Ollama (Recommended — Free & Private)
# 1. Install Ollama (ollama.ai)
# 2. Pull a model
ollama pull llama3.2
# 3. Start the server
ollama serve
# 4. DevLog will detect it automatically
devlog onboardNo API keys. No accounts. No usage limits. Just your machine.
Using Cloud Providers
Set your API key during onboarding or in ~/.devlog/config.json:
{
"default_provider": "anthropic",
"anthropic_api_key": "sk-ant-..."
}Or use environment variables:
export ANTHROPIC_API_KEY="sk-ant-..."
export OPENAI_API_KEY="sk-..."Configuration
DevLog stores all data in ~/.devlog/:
~/.devlog/
├── config.json # Settings, profiles, API keys
└── profiles/
├── default/
│ └── devlog.db # SQLite database
└── work/
└── devlog.dbConfig Options
| Setting | Description | Default |
|---------|-------------|---------|
| default_provider | LLM provider | ollama |
| ollama_model | Model for Ollama | llama3.2 |
| ollama_base_url | Ollama server URL | http://localhost:11434 |
| user_email | Your git email | Auto-detected |
| github_username | GitHub username | Optional |
Tips & Tricks
AI-Powered Commit Messages
Never write a generic "fix stuff" commit message again:
# Make your changes
git add . # Optional - devlog can stage for you
devlog commit
# Interactive flow:
# 1. Shows generated message
# 2. Asks to stage changes (if not staged)
# 3. Asks to commit
# Result: Professional commit message in secondsFaster Ingestion
Skip AI summaries for quick ingestion:
devlog ingest --skip-summaries --skip-commit-summariesGenerate Summaries Later
Fill in missing summaries after fast ingestion:
devlog ingest --fill-summariesMultiple Repos, One Timeline
Ingest every repo you touch — DevLog unifies them:
devlog ingest ~/projects/frontend
devlog ingest ~/projects/backend
devlog ingest ~/projects/shared-lib
devlog worklog --days 7 # See everything in one reportWork vs Personal — Completely Isolated
Profiles give you separate databases. No bleed between contexts:
devlog profile create work "Work projects"
devlog profile use work
devlog ingest ~/work/project1
devlog profile use default # Back to personalShell Completion
Enable tab completion for your shell:
# Bash
devlog completion bash > /etc/bash_completion.d/devlog
# Zsh
devlog completion zsh > "${fpath[1]}/_devlog"
# Fish
devlog completion fish > ~/.config/fish/completions/devlog.fishDevelopment
# Clone the repo
git clone https://github.com/ishaan812/devlog
cd devlog
# Build
make build
# Run tests
make test
# Install locally
make install
# Run development commands
make run-ingest
make run-worklogDocumentation
Troubleshooting
"No commits found"
Make sure you've run devlog ingest first:
devlog ingest"LLM not available"
Check your provider is configured:
devlog onboard # Re-run setupFor Ollama, ensure the server is running:
ollama serveSlow ingestion
Skip AI summaries for faster initial ingestion:
devlog ingest --skip-summariesWho Is This For?
- Individual developers who work across multiple repos and branches and need clean work logs for standups, weekly reports, or performance reviews
- Freelancers & contractors who bill by the hour and need to show clients what was delivered
- Open source maintainers who want to generate changelogs and activity summaries
- Anyone tired of
git log --oneline | head -50as a standup prep strategy
About the Project
The Problem That Started It All
Every Monday morning, the same ritual: staring at four terminal windows, trying to piece together what I shipped last week. Between juggling multiple feature branches, emergency hotfixes, and code reviews across frontend, backend, and infrastructure repos, I'd lose track of my own work.
Standup meetings became archaeology sessions. Performance reviews meant hours of manual git history diving and piecing together scraps I had left to remember what I worked on. I'd spend an awful amount of time remembering what I built.
The final straw? Missing a critical bug fix in a standup because it happened in a repo I forgot I'd touched. I realized: git is the perfect source of truth, but humans are terrible at reading raw git logs across dozens of branches.
What if your git history could just... explain itself?
What I Learned
Building DevLog taught me that context is expensive, but structured data is cheap:
LLM Integration Patterns: Initially, I hardcoded Gemini. Bad idea. Abstracting provider interfaces taught me the value of flexibility—users shouldn't be forced into expensive APIs when Ollama runs free on their laptop. The
llm.Clientinterface now supports 5+ providers with zero code changes to the core logic.Git Isn't Just Text: Walking a git repository efficiently is hard. I learned about git object databases, tree traversal algorithms, and how to use
git2go(libgit2 bindings) to avoid shelling out to git commands thousands of times. The performance difference was ( O(n \log n) \to O(n) ) for large repos.Terminal UIs That Don't Suck: Building the interactive console with Bubble Tea taught me functional reactive patterns in Go. State management in a TUI is surprisingly similar to React—every keypress is an event, every render is a pure function of state.
Distribution Complexity: Shipping a Go binary via npm was trickier than expected. I learned about platform detection, cross-compilation, release automation with GitHub Actions, and why
install.jsscripts need extensive error handling. Supportingnpm install -g,go install, andbrewsimultaneously meant tripling my packaging logic.Privacy-First Design: Making Ollama the default provider wasn't just philosophical—it forced architectural decisions that made the tool better. Every API call had to be justified. Every piece of data sent to an LLM had to be minimal. The result: most queries are < 2KB, even for large repos.
Challenges I Faced
Multi-Repo Timeline Merging
Problem: Users work on 5+ repos simultaneously. How do you merge timelines across repos while keeping branch context clear?
Solution: Unified timestamp sorting with branch metadata preserved. WorkLogs group by(date, repo, branch)tuples, then sort commits within each group. The data model stores absolute timestamps, avoiding timezone hell.LLM Prompt Engineering for Code
Problem: Early summaries were terrible—either too verbose ("added semicolon to line 47") or too vague ("updated files").
Solution: Iterative prompt design with few-shot examples. I learned that LLMs need explicit structure:Given these commits, extract: - High-level changes (what feature/fix) - Technical approach (how it works) - Files affected (why it matters)This increased summary quality by ~60% based on user feedback.
Performance on Large Repos
Problem: A repo with 50,000 commits would take 2+ minutes to ingest. Unacceptable.
Solution: Incremental ingestion. DevLog tracks the last processed commit SHA per branch. Re-runs only walk new commits: [ T_{\text{ingest}} = O(k) \text{ where } k = \text{new commits}, \text{ not } O(n) ] Average re-ingest time dropped from 120s to 3s on active repos.Cross-Platform Binary Distribution
Problem: Go users wantgo install. JS developers wantnpm install -g. Both should work.
Solution:package.jsonincludes a post-install script (install.js) that detects the platform, downloads the correct pre-built binary from GitHub releases, and symlinks it. Go users bypass npm entirely. One codebase, two package managers.Making TUIs Feel Native
Problem: Terminal UIs often feel sluggish or unresponsive. Arrow key lag, janky scrolling, unclear state changes.
Solution: Embraced Bubble Tea's Elm architecture. Every component is a pure state machine. Render logic never blocks. The result: 60 FPS terminal UIs with smooth vim-style navigation (j/kkeys,Ctrl+D/Ctrl+Uscrolling).
What's Next
- Linear/Slack/Jira integrations: To be able to gather informations from all work surfaces
- Team mode: Aggregate worklogs across teams for engineering manager reports
- Git hooks: Auto-commit worklogs to a markdown file in your repo on each commit
DevLog started as a personal itch—I was tired of forgetting my own work. It turned into a lesson in building tools that respect user privacy, embrace local-first principles, and make boring tasks (standup prep) disappear. If you've ever fumbled through your slack messages at 8:59am before a standup, this tool is for you.
Contributing
Contributions are welcome! DevLog is open source and we'd love your help making it better.
Ways to contribute:
- 🐛 Report bugs or issues
- 💡 Suggest new features or improvements
- 📝 Improve documentation
- 🔧 Submit pull requests for bug fixes or features
- ⭐ Star the repo if you find it useful
Getting started:
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Make your changes and commit (
git commit -m 'feat: add amazing feature') - Push to your branch (
git push origin feature/amazing-feature) - Open a Pull Request
See the Development section for build instructions.
License
MIT License - see LICENSE for details.
Built for developers who ship faster than they can remember. Star the repo if DevLog saves your next standup.
