@kuntiwar/fixora-sdk
v1.0.2
Published
Fixora SDK - Capture frontend errors and get AI-powered fixes instantly.
Maintainers
Readme
🚧 Fixora is currently in active development. Launching BETA soon! For any details, email at [email protected]
Fixora is a next-generation, AI-driven error tracking and debugging platform. Instead of digging through endless stack traces, the Fixora SDK quietly captures anomalies inside your frontend JavaScript or React applications, pushes them to your multi-tenant backend, and delivers an exact, AI-generated solution detailing why the failure occurred and exactly what code blocks to correct.
🚀 Installation
Install the library using your preferred package manager:
npm install @kuntiwar/fixora-sdk
# OR
yarn add @kuntiwar/fixora-sdk
# OR
pnpm install @kuntiwar/fixora-sdk🛠 Usage & Integration
Setting up Fixora requires just two lines of code. For maximum observability, you must initialize the SDK at the topmost level of your application (e.g., index.js, main.js, or App.jsx).
import { init } from "@kuntiwar/fixora-sdk";
// Initialize to instantly attach window.onerror and unhandledrejection listeners
init({
apiURL: "http://localhost:4000/api", // Replace with your production API URL
apiKey: "your-fixora-api-key" // Acquire this via your Fixora Administrator Dashboard
});What does it do?
Once init() is called, Fixora silently listens in the background. If any unhandled exceptions or rejected promises slip through your code, Fixora automatically scoops up the stack trace, the application state, and the URL environment, piping it down to the dashboard without interrupting your users.
✨ Features
- Automated JavaScript Error Capturing: Globals handlers to catch everything before the browser crashes.
- Generative AI Diagnostics: Don't just track the error—explain it and generate a code fix using Gemini Flash logic on the backend side.
- Multi-tenant Architecture: Completely isolated storage. 100% of errors are grouped to your specific
apiKey. - Intelligent Deduplication: Identical errors are grouped up to bump occurrence counters, avoiding log bloat.
- Micro Latency: Less than
2kbpacked. Performance first. Zero impact on load times.
🔗 Links
- Documentation & UI Platform: https://kunalt96.github.io/fixora/index.html
- GitHub Repository: https://github.com/kunalt96/fixora
- Report an Issue: Fixora Issues
💡 License
This project is licensed under the MIT License - see the LICENSE file for details.
