Skip to content

"Automatic technical decision tracker - Never forget why you made that choice

License

Notifications You must be signed in to change notification settings

Artkill24/devmemory

Repository files navigation

🧠 DevMemory

Python Tests License GitHub stars

Never forget why you made that decision.

Automatically track and document technical decisions by analyzing Git commits. Creates a searchable timeline of "why" behind your code.

🎬 See it in Action

asciicast

2-minute demo: analyze, search, timeline, and export

πŸš€ Quick Start

git clone https://github.com/Artkill24/devmemory.git
cd devmemory
python3 -m venv venv
source venv/bin/activate  # Windows: venv\Scripts\activate
pip install -r requirements.txt

# Analyze your repository
python src/cli.py analyze --days 30
python src/cli.py summary
✨ Features

πŸ” Auto-detection - 11 decision types (dependencies, refactors, security fixes...)
πŸ’Ύ Lightweight - SQLite database, no external services
🎨 Beautiful CLI - Rich terminal interface with colors and tables
πŸ“Š Analytics - Summary, timeline, and statistics
πŸ“„ Export - Generate Markdown documentation
πŸ”Ž Search - Find decisions instantly

οΏ½οΏ½ Commands
CommandDescriptionanalyze --days NScan commits from last N dayslistShow all decisions in tablesummaryQuick project overview with metricstimelineVisual chronological view by monthsearch <keyword>Find specific decisionsshow <id>Full details of a decisionexportGenerate Markdown reportrecentToday's decisionsstatsStatistics by type
πŸ“Š Decision Types Detected
TypeKeywordsConfidenceπŸ“¦ Dependency Addedadd, install, upgrade90%πŸ—οΈ Architecture Changerefactor, redesign, migrate80%πŸ”§ Workaroundhack, temporary, hotfix85%⚑ Performanceoptimize, cache, faster70%πŸ”’ Security Fixvulnerability, CVE95%βš™οΈ Config Changesettings, environment60%πŸ”Œ API Designendpoint, route, interface75%πŸ—„οΈ Database Schemamigration, table, column85%πŸ“ Documentationdocs, readme40%πŸ§ͺ Testingtest, unittest50%
🎯 Use Cases

Onboarding - New developers understand past decisions instantly
Documentation - Auto-generate decision logs and ADRs
Code Reviews - Provide context for why things exist
Technical Debt - Track workarounds and temporary solutions
Knowledge Transfer - Preserve team knowledge automatically

πŸ“ˆ Example Output
DevMemory Decisions (2 shown)
┏━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━┓
┃ Date     ┃ Type               ┃ Author   ┃ Title      ┃ Hash   ┃
┑━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━┩
β”‚ 2025-10  β”‚ Architecture Changeβ”‚ Dev      β”‚ Switch JWT β”‚ 6387e8 β”‚
β”‚ 2025-10  β”‚ Dependency Added   β”‚ Dev      β”‚ Add Redis  β”‚ 2def04 β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”˜
🀝 Contributing
Contributions welcome! See CONTRIBUTING.md
Ideas for contributions:

New decision patterns
Export formats (PDF, JSON)
Web interface
GitHub Actions integration
More tests

πŸ“„ License
MIT License - See LICENSE
πŸ™ Acknowledgments
Created as an experiment in solving real developer pain points using AI-assisted development.

⭐ Star this repo if DevMemory saved you from asking "why did we do this?"

About

"Automatic technical decision tracker - Never forget why you made that choice

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages