@rollenasistores/devsum
v1.7.5
Published
DevSum CLI automates your Git workflow with AI-powered commit messages, smart branch management, and generates polished accomplishment summaries. Perfect for efficient development workflows, performance reviews, and sprint reports.
Maintainers
Keywords
Readme
DevSum CLI
██████╗ ███████╗██╗ ██╗███████╗██╗ ██╗███╗ ███╗
██╔══██╗██╔════╝██║ ██║██╔════╝██║ ██║████╗ ████║
██║ ██║█████╗ ██║ ██║███████╗██║ ██║██╔████╔██║
██║ ██║██╔══╝ ╚██╗ ██╔╝╚════██║██║ ██║██║╚██╔╝██║
██████╔╝███████╗ ╚████╔╝ ███████║╚██████╔╝██║ ╚═╝ ██║
╚═════╝ ╚══════╝ ╚═══╝ ╚══════╝ ╚═════╝ ╚═╝ ╚═╝AI-Powered Git Workflow Automation & Reports
DevSum CLI automates your Git workflow with AI-powered commit messages, smart branch management, and generates polished accomplishment summaries. Perfect for efficient development workflows, performance reviews, and sprint reports.
🚀 Quick Start • 📖 Documentation • 🎯 Features • 🤖 AI Providers • 💡 Examples
Everything you need to automate your Git workflow
Powerful features designed for developers who value their time
Smart Commit Messages
AI generates conventional commit messages (feat:, fix:, docs:) with detailed descriptions of your changes. Never write boring commit messages again.
Branch Automation
Auto-generate branch names, easy switching, and conflict prevention. Create feature branches with proper naming conventions automatically.
Automated Workflows
Full automation: add files, commit, push, and generate reports. Integrate with CI/CD pipelines seamlessly.
AI-Powered Analysis
Leverage Claude, GPT-4, or Gemini to transform raw commits into professional narratives.
Multiple Formats
Export to Markdown, JSON, HTML, or PDF. Perfect for any workflow or documentation system.
Flexible Filtering
Filter by date range, author, branch, or file patterns. Get exactly the commits you need.
Lightning Fast
Optimized performance with caching and parallel processing. Analyze thousands of commits in seconds.
Beautiful Terminal UI
Enjoy a polished CLI experience with progress indicators, colors, and interactive prompts.
Get started in seconds
Install DevSum CLI with your favorite package manager
npm install -g @rollenasistores/devsumRequirements
- Node.js 18.0 or higher
- Git 2.0 or higher
- API key for your preferred AI provider (Claude, OpenAI, or Gemini)
Simple, powerful commands
Generate reports with a single command
Basic usage
devsum analyze✓ Analyzing commits from the last 30 days...
Custom date range
devsum analyze --since="2024-01-01" --until="2024-03-31"✓ Analyzing Q1 2024 commits...
Export to PDF
devsum analyze --format=pdf --output=report.pdf✓ Generated PDF report: report.pdf
Choose your AI provider
DevSum works with the leading AI models
Claude (Recommended)
claude-3-5-sonnet
Anthropic's most capable model. Excellent at understanding context and generating professional narratives.
- Best quality
- Context-aware
- Professional tone
GPT-4
gpt-4-turbo
OpenAI's flagship model. Great balance of speed and quality with strong technical understanding.
- Fast
- Reliable
- Technical depth
Gemini
gemini-pro
Google's advanced AI model. Cost-effective option with good performance for most use cases.
- Cost-effective
- Fast
- Good quality
Command reference
Complete guide to all available commands and options
devsum analyze
Analyze git commits and generate a summary report
# Basic usage
devsum analyze
# Custom date range
devsum analyze --since="2024-01-01" --until="2024-12-31"
# Filter by author
devsum analyze --author="[email protected]"
# Specify output format
devsum analyze --format=pdf --output=report.pdfExample outputs
See what DevSum can generate for you
# Sprint Summary - Q1 2024
## Key Accomplishments
### Feature Development
- Implemented user authentication system with OAuth2 support
- Built real-time notification system using WebSockets
- Created responsive dashboard with data visualization
### Performance Improvements
- Optimized database queries, reducing load time by 40%
- Implemented Redis caching for frequently accessed data
- Reduced bundle size by 25% through code splitting
### Bug Fixes & Maintenance
- Fixed 12 critical bugs reported by users
- Improved error handling and logging
- Updated dependencies and resolved security vulnerabilities
## Metrics
- **Commits**: 47
- **Files Changed**: 156
- **Lines Added**: 3,421
- **Lines Removed**: 1,203Usage Analytics
Real-time insights into DevSum CLI usage
- +12% Total Commits
- +3 Active Users
- +5% Success Rate
Trusted by developers worldwide
Join thousands of developers using DevSum
"DevSum has saved me hours every sprint. The AI summaries are incredibly accurate and professional."
Sarah Chen
Senior Engineer at TechCorp
"Perfect for performance reviews. I can now showcase my work with detailed, well-formatted reports."
Michael Rodriguez
Full Stack Developer
"The best CLI tool I've used this year. Simple, powerful, and beautifully designed."
Emily Watson
Engineering Manager
🚀 Quick Start
📦 Installation
# Install globally via npm
npm install -g @rollenasistores/devsum
# Or use with npx (no installation needed)
npx @rollenasistores/devsum setup⚡ Setup (One-time)
# Interactive setup wizard
devsum setupChoose your AI provider (Gemini, Claude, or OpenAI) and configure your API key.
📊 Generate Your First Report
# Generate report for the last 7 days
devsum analyze --since 7d
# Generate report for specific date range
devsum analyze --since 2024-09-01
# Generate report for specific author
devsum analyze --author "John Doe" --since 30d
# Generate JSON report
devsum analyze --format json --since 2024-08-01
# Generate HTML presentation
devsum analyze --format html --since 7d🤖 AI Providers
DevSum supports multiple AI providers to fit your needs and budget:
🤖 Google Gemini (Recommended for beginners)
- ✅ Free tier available (15 requests/minute)
- ⚡ Fast processing with
gemini-2.0-flash - 🧠 Detailed analysis with
gemini-1.5-pro - 🧠 Balanced performance with
gemini-1.5-flash - 🔗 Get API Key
🧠 Anthropic Claude (Advanced reasoning)
- 🎯 Superior reasoning capabilities
- 📝 High-quality report generation
- 💰 Pay-per-use pricing
- 🔗 Get API Key
🚀 OpenAI GPT-4 (Industry leading)
- 🏆 Industry-leading AI capabilities
- 🎯 Premium report quality
- 💰 Pay-per-use pricing
- 🔗 Get API Key
📖 Documentation
🛠️ Commands
devsum setup
Interactive configuration wizard to set up your AI provider and preferences.
devsum setupdevsum analyze
Generate accomplishment reports from git commits.
devsum analyze [options]
Options:
-s, --since <date> Include commits since this date (YYYY-MM-DD or relative like "7d")
-u, --until <date> Include commits until this date (YYYY-MM-DD)
-a, --author <name> Filter commits by author name
-o, --output <path> Custom output file path
-f, --format <format> Output format (markdown|json|html|pdf) [default: markdown]
--no-header Skip the fancy header displaydevsum commit
Generate AI-powered commit messages from your changes.
devsum commit [options]
Options:
-a, --auto Full automation: generate branch, add files, commit with detailed messages, and optionally push
-c, --conventional Generate conventional commit format
-e, --emoji Include emojis in commit message
-l, --length <length> Message length (short|medium|detailed) [default: medium]
-p, --provider <name> Use specific AI provider by name
--dry-run Show what would be committed without actually committing
--no-header Skip the fancy header display
-b, --branch <name> Create and switch to a new branch before committing
--new-branch <name> Create a new branch (alias for --branch)
-s, --switch-branch <name> Switch to an existing branch before committing
--list-branches List all available branches and exit
--auto-branch Auto-generate branch name and ask for confirmation
--auto-add Automatically add all changes (git add .)
--auto-push Automatically push after committing
--report Generate a report for today's commits after committingdevsum login
View information about DevSum's free mode and available features.
devsum logindevsum update
Check for DevSum updates and get the latest features.
devsum update [options]
Options:
--check-only Only check for updates without prompting📅 Date Formats
DevSum supports flexible date formats:
# Absolute dates
devsum analyze --since 2024-09-01
devsum analyze --since 2024-08-15 --until 2024-09-15
# Relative dates
devsum analyze --since 7d # Last 7 days
devsum analyze --since 2w # Last 2 weeks
devsum analyze --since 1m # Last 1 month
devsum analyze --since 3m # Last 3 months📁 Output Structure
Reports are saved to ./reports/ by default (configurable) with timestamped
filenames:
reports/
├── report-2024-09-10T14-30-45.md # Detailed report with timestamp
├── report-2024-09-10T14-30-45.html # HTML presentation
├── report-2024-09-10T14-30-45.json # JSON report
└── team-sprint-report.pdf # Custom PDF report💡 Examples
📊 Weekly Team Report
# Generate team accomplishment report for the last week
devsum analyze --since 7d --output ./reports/weekly-team-report.mdSample Output:
# Sprint Summary - Q1 2024
## Key Accomplishments
### Feature Development
- Implemented user authentication system with OAuth2 support
- Built real-time notification system using WebSockets
- Created responsive dashboard with data visualization
### Performance Improvements
- Optimized database queries, reducing load time by 40%
- Implemented Redis caching for frequently accessed data
- Reduced bundle size by 25% through code splitting
### Bug Fixes & Maintenance
- Fixed 12 critical bugs reported by users
- Improved error handling and logging
- Updated dependencies and resolved security vulnerabilities
## Metrics
- **Commits**: 47
- **Files Changed**: 156
- **Lines Added**: 3,421
- **Lines Removed**: 1,203🎯 Personal Performance Review
# Generate personal report for performance review
devsum analyze --author "$(git config user.name)" --since 3m --format json📈 Sprint Retrospective
# Generate sprint report for specific date range
devsum analyze --since 2024-08-26 --until 2024-09-08 --output sprint-15-report.md🚀 AI-Powered Commit Messages
# Generate a commit message for staged changes
devsum commit
# Full automation: create branch, add files, commit, and push
devsum commit --auto --auto-push
# Generate conventional commit with emoji
devsum commit --conventional --emoji
# Create a new branch and commit
devsum commit --branch feature/new-feature --auto-add
# Dry run to see what would be committed
devsum commit --dry-run
# Generate detailed commit message
devsum commit --length detailed
# Auto-generate branch name and commit
devsum commit --auto-branch --auto-add
# Commit and generate a report for today's work
devsum commit --report⚙️ Configuration
📂 Config File Location
- Linux/macOS:
~/.config/devsum/config.json - Windows:
%APPDATA%\devsum\config.json
🔧 Manual Configuration
{
"provider": "gemini",
"apiKey": "your-api-key-here",
"model": "gemini-1.5-flash",
"defaultOutput": "./reports"
}🚨 Requirements
- Node.js 18.0.0 or higher
- Git repository (must be run within a git repo)
- API Key for chosen AI provider (Gemini, Claude, or OpenAI)
🐛 Troubleshooting
Common Issues
❌ "Not a git repository"
# Initialize git if needed
git init
git add .
git commit -m "Initial commit"❌ "No configuration found"
# Run setup wizard
devsum setup❌ "API key invalid"
# Reconfigure with valid API key
devsum setup❌ "No commits found"
# Try broader date range
devsum analyze --since 30d
# Or check if commits exist
git log --oneline🔍 Debug Mode
For detailed error information:
DEBUG=devsum* devsum analyze --since 7d🤝 Contributing
We welcome contributions! Here's how to get started:
- Fork the repository
- Clone your fork:
git clone https://github.com/rollenasistores/devsum.git - Install dependencies:
npm install - Create a feature branch:
git checkout -b feature/amazing-feature - Make your changes
- Test your changes:
npm test - Commit your changes:
git commit -m 'Add amazing feature' - Push to your branch:
git push origin feature/amazing-feature - Open a Pull Request
🛠️ Development Scripts
npm run dev # Development mode with hot reload
npm run build # Build TypeScript to JavaScript
npm run test # Run test suite
npm run lint # Check code style📜 License
This project is licensed under the Apache License 2.0 - see the LICENSE file for details.
🙋 Support
- 🐛 Bug Reports: GitHub Issues
- 💬 Discussions: GitHub Discussions
- 📧 Email: [email protected]
- 🌐 Website: devsum.rollenasistores.site
🗺️ Roadmap
- [x] HTML Report Generation - Beautiful web reports with modern styling
- [x] Plain Text Reports - Simple text format for easy sharing
- [x] AI-Powered Commit Messages - Automated commit message generation
- [x] Update Checking System - Automatic update notifications
- [x] Automated Commit Workflow - Full automation with branch management
- [x] Analytics Dashboard - Interactive web-based insights with charts and visualizations
- [ ] PDF Export - Professional PDF reports
- [ ] Team Collaboration - Multi-user support
- [ ] Integration APIs - Slack, Teams, Jira
- [ ] Custom Templates - Personalized report formats
- [ ] Multi-Repository - Aggregate reports across repos
Made with ❤️ by developers, for developers
If DevSum helps you showcase your accomplishments, please consider giving it a ⭐!
