Skip to content

D4vRAM369/Debuggle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

73 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

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 v3 PBL Built with Claude Code Codex Electron React Ask 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

Provider Free models Requires key
Groq Llama 3.3 70B, Llama 3.1 8B, Mixtral 8x7B, Gemma 2 9B Yes (free at groq.com)
OpenRouter Llama 3.3 70B, Gemma 3 27B, Mistral 7B Yes (free at openrouter.ai)
Ollama Any model you have installed locally No
Anthropic โ€” Yes (paid)
OpenAI โ€” Yes (paid)
VeniceAI โ€” Yes

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/:

Platform Format Notes
Windows .exe (NSIS) Standard installer
Windows .msi Enterprise-friendly installer
Windows .portable No-install executable
macOS .dmg + .zip x64 + Apple Silicon (arm64)
Linux .AppImage Universal, no install needed
Linux .deb Ubuntu, Debian, Linux Mint
Linux .rpm Fedora, openSUSE, RHEL
Linux .flatpak Sandboxed, all distros โ€” requires flatpak-builder

Linux build notes:

  • .deb requires fakeroot โ†’ sudo apt install fakeroot
  • .rpm requires rpm-build โ†’ sudo 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

Layer Technology
Desktop shell Electron 33
Build system electron-vite
UI framework React 18 + TypeScript
Styling Tailwind CSS v4 + shadcn/ui
AI (multi-provider) openai SDK + @anthropic-ai/sdk
Vault storage Markdown files with YAML frontmatter (gray-matter)
Secure key storage keytar (OS keychain)
Tests Vitest

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

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors