{"repo":"otomachiiii/DevSonar","free":true,"listed":false,"github":"https://github.com/otomachiiii/DevSonar","clone":"git clone https://github.com/otomachiiii/DevSonar.git","description":"AI-powered runtime error monitoring for local development","language":"TypeScript","stars":38,"topics":["ai","claude","developer-tools","error-monitoring","go","monorepo","python","typescript"],"license":"MIT","category":"dev-tools","readme_excerpt":"DevSonar AI-powered runtime error monitoring for local development. Automatically captures errors from your application and sends them to Claude for analysis and code fixes. Architecture Install Node.js Or install the lightweight reporter only: Python Go Prerequisites - Node.js = 18.0.0 - Claude Code CLI ( claude command available) — required for the relay server Quick Start (Turborepo Monorepo) DevSonar is designed to work with Turborepo monorepos where backend and frontend apps coexist. Below is a typical setup. Project Structure 1. Root package.json 2. Backend Setup Install devsonar in the backend app and use the CLI to wrap your server process: devsonar run starts the relay server (port 9100) and injects error monitoring into the child process via node --import . It also monitors stderr for error patterns from Python, Go, Ruby, Java, and Rust. No code changes needed — all uncaughtException and unhandledRejection errors are captured automatically. 3. Frontend Setup Install devsonar in the frontend app and import it at your entry point: With a Bundler (Vite, webpack, etc.) Static HTML (no bundler) Serve the DevSonar dist files from your backend and import via : On import, DevSonar automatically sets up: - window.error and unhandledrejection listeners - fetch wrapper that reports HTTP 4xx/5xx errors to the relay server 4. Turborepo Config 5. Run The backend starts with DevSonar monitoring. Errors from both the backend (Node.js) and frontend (browser) are sent to the relay se","default_branch":null,"files":null,"tree":[],"storefront":"/r/otomachiiii","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/otomachiiii/DevSonar/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}