Skip to content

EldrexDelosReyesBula/DevDiff

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DevDiff

DevDiff

Your codebase's memory, not just its history.

CI npm MIT Ko-fi PayPal


What is DevDiff?

DevDiff watches your code changes and generates intelligent, human-readable changelogs using AI that you control. It explains what changed and why — not just raw git diffs.

🔒 Privacy-First

Runs 100% locally by default. Your code never leaves your machine.

🤖 Bring Your Own AI

Use Ollama, llama.cpp, Transformers.js, OpenAI, Anthropic, or any provider. Full control.

⚡ Token Optimized

Smart diff batching, AST trimming, and caching reduce AI token usage by up to 85%.


Quick Start

# Install globally
npm install -g @eldrex/cli

# Initialize in your git repo
cd my-project
npx devdiff init

# That's it! Every commit gets an AI explanation.
git commit -m "add user auth"
# ✨ DevDiff automatically generates changelog...

With Ollama (free, local, offline)

# Install Ollama
curl -fsSL https://ollama.com/install.sh | sh

# Pull a model
ollama pull llama3.2:3b

# DevDiff auto-detects it!
npx devdiff generate

How It Works

Your Code Changes
        │
        ▼
┌──────────────────┐
│  Git Diff Parser  │ ← Watches .git for changes
└────────┬─────────┘
         │
         ▼
┌──────────────────┐
│  AST Trimmer      │ ← Strips non-essential code
│  Secret Scanner   │ ← Redacts sensitive data
└────────┬─────────┘
         │
         ▼
┌──────────────────┐
│  AI Router        │ ← Picks best provider
│  Batcher          │ ← Optimizes token usage
└────────┬─────────┘
         │
         ▼
┌──────────────────┐
│  Your AI           │ ← Ollama / OpenAI / etc.
└────────┬─────────┘
         │
         ▼
┌──────────────────┐
│  Changelog        │ ← Human-readable markdown
│  Generator        │
└──────────────────┘

Features

  • 📝 AI-Powered Changelogs — What changed and why
  • 🔒 Local-First — No data leaves your machine
  • 🤖 BYOAI — Your AI, your rules
  • Token Optimized — Up to 85% less token usage
  • 🔌 Integrations — VS Code, Vite, GitHub Actions, Linear, Jira
  • 📊 Dashboard — Beautiful web UI and terminal dashboard
  • 🌍 MIT Licensed — Free forever

Packages

Package Description Version
@eldrex/core Core changelog engine npm
@eldrex/cli Command-line interface npm
@eldrex/vite Vite plugin npm
@eldrex/vscode VS Code extension Marketplace


💻 VS Code Extension & Offline Pre-Release

For the VS Code extension, you can install it directly from the marketplace or download the packaged pre-release VSIX file:


📚 Documentation & Help Guides


🤝 Support & Consulting

DevDiff is a community-supported open-source project created and maintained by Eldrex Delos Reyes Bula.

If you or your organization finds DevDiff valuable, consider supporting or booking professional consulting services:


👥 Community & Contributing


📄 License

MIT © Eldrex Delos Reyes Bula and Contributors

About

DevDiff watches your code changes and generates intelligent, human-readable changelogs using AI that you control. It explains what changed and why — not just raw git diffs.

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors