Skip to content

Repository files navigation

🐛 Debuggle

Your personal debugging assistant. Paste an error, understand it at your level, save it, and never repeat it —or if you do, at least you’ll know exactly what’s going on. In the end, that’s how you learn programming: through errors and iteration.

Debuggle Banner

License: AGPL v3PBLBuilt with Claude CodeCodexElectronReactAsk DeepWiki

🇪🇸🇮🇨 Versión en español


What is Debuggle?

Debuggle is a desktop app for developers who want to understand their errors, not just fix them. Paste any stack trace or error message and get a clear explanation tailored to your experience level — then save it to your personal vault to build a knowledge base of your own debugging history.

100% local. Your errors never leave your machine unless you choose a cloud AI provider.


Screenshots

Analyze
Analyze
Paste any error and break it down at 3 levels simultaneously
Chat
Chat
Conversation interface to interact with the AI
Vault
Vault
Every debugged error saved locally with language and level
Vault detail
Vault Detail
Full analysis with fix suggestion and original error log
Patterns
Patterns
Identify your most frequent errors and languages over time
Configuration
Configuration
6 AI providers — API keys stored securely in the system keychain

Features

🔍 Analyze

  • Paste any error (stack trace, compiler error, runtime exception)
  • Choose your level: Novice, Mid, or Expert
  • Get: what happened, how to fix it, key terms, and corrected code
  • Syntax-highlighted code with one-click copy

💬 Ask / Chat

  • After analyzing, click "Ask about this" to open a conversation about that specific error
  • Context is pre-loaded — no need to re-explain the problem
  • Full multi-turn conversation powered by your chosen AI provider

📖 Guide (Vault)

  • Save any analysis to your personal vault
  • Search by error type or language
  • Master-detail layout — browse your history without losing context
  • Ask the AI about any saved entry

📊 Patterns

  • See your most frequent errors and languages at a glance
  • Identify recurring issues before they become habits
  • Stats update automatically as your vault grows

⚙️ Config

  • Choose from 6 AI providers — including free tiers
  • API keys stored securely in the OS keychain (Windows Credential Manager / macOS Keychain / Linux GNOME Keyring)
  • Keys are never written to disk in plaintext

AI Providers

ProviderFree modelsRequires key
GroqLlama 3.3 70B, Llama 3.1 8B, Mixtral 8x7B, Gemma 2 9BYes (free at groq.com)
OpenRouterLlama 3.3 70B, Gemma 3 27B, Mistral 7BYes (free at openrouter.ai)
OllamaAny model you have installed locallyNo
AnthropicYes (paid)
OpenAIYes (paid)
VeniceAIYes

To get started for free: create a free account at console.groq.com → API Keys → Create Key → paste it in Debuggle's Config.


Getting Started

Prerequisites

Install & run

git clone https://github.com/D4vRAM369/debuggle.git
cd debuggle
pnpm install
pnpm dev

Run tests

pnpm test

Build installer

pnpm build
pnpm pack:all

Outputs in release/:

PlatformFormatNotes
Windows.exe (NSIS)Standard installer
Windows.msiEnterprise-friendly installer
Windows.portableNo-install executable
macOS.dmg + .zipx64 + Apple Silicon (arm64)
Linux.AppImageUniversal, no install needed
Linux.debUbuntu, Debian, Linux Mint
Linux.rpmFedora, openSUSE, RHEL
Linux.flatpakSandboxed, all distros — requires flatpak-builder

Linux build notes:

  • .deb requires fakerootsudo apt install fakeroot
  • .rpm requires rpm-buildsudo dnf install rpm-build
  • .flatpak requires flatpak-builder + org.freedesktop.Platform//23.08 runtime

Project Structure

debuggle/
├── electron/
│ ├── main.ts # Main process: IPC handlers, vault (file I/O), keychain
│ └── preload.ts # Context bridge: exposes window.api to renderer
├── src/
│ ├── pages/ # AnalyzePage, ChatPage, VaultPage, PatternsPage, ConfigPage
│ ├── components/ # AppShell, CodeBlock, shadcn/ui components
│ ├── lib/ # ai.ts, chat.ts, providers.ts, stats.ts, analyze.ts
│ ├── types/ # api.d.ts — window.api type declarations
│ └── test/ # Vitest unit tests
├── docs/
│ ├── plans/ # Implementation plan
│ └── pbl/ # Project-Based Learning notes (personal study)
└── package.json

Tech Stack

LayerTechnology
Desktop shellElectron 33
Build systemelectron-vite
UI frameworkReact 18 + TypeScript
StylingTailwind CSS v4 + shadcn/ui
AI (multi-provider)openai SDK + @anthropic-ai/sdk
Vault storageMarkdown files with YAML frontmatter (gray-matter)
Secure key storagekeytar (OS keychain)
TestsVitest

Roadmap

  • Export vault to PDF / markdown
  • OCR — paste a screenshot of an error
  • Team vault with shared knowledge base
  • Pattern-based learning suggestions
  • Plugin system for custom providers

Contributing

Contributions are welcome. Please open an issue before submitting a large PR so we can discuss the approach.

For bugs: include the error type, your OS, and steps to reproduce.


License

Debuggle is released under the GNU Affero General Public License v3.0 (AGPL-3.0). Free to use, modify, and distribute. If you use Debuggle in a network service, you must make your source code available under the same license.

See LICENSE for the full text.


Acknowledgements

Built with Claude Code and GPT-5.3-Codex.

About

Desktop debugging assistant: analyze errors with AI, understand root causes at your level, and save reusable learnings in a local vault.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages