Skip to content

Eutectico/devtools-ai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DevTools-AI

AI-powered CLI tools for developers. Save hours on commits, code reviews, documentation, and debugging.

Features

  • Commit Message Generator - Semantic commits from your diffs
  • Code Reviewer - Security, performance, and best practice checks (Pro)
  • Code Explainer - Understand complex code instantly
  • Documentation Generator - Auto-generate docstrings and docs
  • Bug Analyzer - Root cause analysis from error logs (Pro)

Installation

pip install devtools-ai-cli

Quick Start

1. Configure your AI provider

Edit ~/.devtools-ai/config.yaml and add your API key. Supported providers:

OpenRouter (default, access to many models):

ai_provider: openrouter
openrouter_api_key: your-key-here

Get a free key at: https://openrouter.ai/

OpenAI:

ai_provider: openai
openai_api_key: your-key-here

Anthropic:

ai_provider: anthropic
anthropic_api_key: your-key-here

Ollama (local, no API key needed):

ai_provider: ollama
ollama_base_url: http://localhost:11434  # or your remote host
default_model: llama3

2. Generate Commit Messages

# Stage your changes
git add .

# Generate commit message
devtools-ai commit

# Auto-commit with generated message
devtools-ai commit -y

3. Explain Code

devtools-ai explain path/to/complex_file.py

4. Generate Documentation

devtools-ai doc path/to/file.py --doc-format google

5. Review Code (Pro)

# Review staged changes
devtools-ai review

# Review specific files
devtools-ai review src/app.py src/utils.py

6. Analyze Bugs (Pro)

devtools-ai bug error.log --context src/app.py

Free vs Pro

Feature Free Pro
Commit message generator
Code explainer
Documentation generator
Code reviewer -
Bug analyzer -
Price $0 $29 one-time

Get Pro: https://3697225130452.gumroad.com/l/apqzbp

Activate Pro license:

devtools-ai activate YOUR-LICENSE-KEY

Configuration

Config file: ~/.devtools-ai/config.yaml

ai_provider: openrouter        # openrouter | openai | anthropic | ollama
openrouter_api_key: your-key-here
openai_api_key:
anthropic_api_key:
ollama_base_url: http://localhost:11434
default_model: openai/gpt-3.5-turbo
tier: free
auto_cache: true
cache_ttl_days: 30

License

MIT - See LICENSE file for details.

About

AI-powered CLI tools for developers — commit messages, code review, explanation, docstrings & bug analysis. Powered by OpenRouter. Free tier included, Pro at $29.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages