ErrLens

Open-source error monitoring for JavaScript. One script tag captures every uncaught error, groups repeats into a single issue and explains the cause with AI.

Type
Open-source product
Role
Design, backend, SDK
Year
2026
ErrLens landing page: “Errors happen.” headline above a camera lens illustration
7KB
SDK size
0
dependencies
10max
events per page
3
answer languages

The problem

Front-end errors usually surface when a user complains. By then the stack trace is minified, the same bug has been logged hundreds of times, and someone still has to work out what it means.

What I built

  1. Capture

    A 7 KB script with no dependencies listens for uncaught errors and rejected promises. It never throws itself and sends at most 10 events per page, so a broken loop cannot flood the server.

  2. Filter

    Tokens, passwords and keys in the URL are replaced before sending, and again on the server. Cookies, form input and page content never leave the browser.

  3. Group

    A fingerprint built from the message and stack frame ignores line numbers and build hashes, so the same bug stays one row after every deploy.

  4. Explain

    Only the first occurrence of an error goes to Claude. The answer has to match a JSON schema and is validated before it is saved, in English, Turkish or Azerbaijani.

Details

  • Rate limited to 60 requests a minute per project and 20 a minute per IP.
  • Payloads are capped at 64 KB; long stacks are cut, not dropped.
  • Visitor IPs are hashed for rate limiting and never stored.
  • Shipped as an MIT-licensed plugin for October CMS.

Stack

  • October CMS
  • PHP
  • JavaScript
  • Claude API
Next project Regza Marketplace

Contact

Have a backend that needs building?

Tell me what you are working on and where you need help.