Self-hosting the official Sentry requires 40+ Docker containers and at least 16GB of RAM. That is too heavy for simple side projects or small VPS instances.
So, I built PocketSentry — a drop-in, lightweight alternative in pure Go. It uses less than 20MB of RAM and runs off a local SQLite database.
Here is what the real-time UI looks like:
Key Features
-
Single 18MB Binary: The entire UI (built with HTMX and Tailwind CSS) is embedded into the executable using
go:embed. - Zero Dependencies: Runs on a pure-Go SQLite driver (no CGO).
-
Auto-Deduplication: Groups identical events using SQLite
ON CONFLICTUPSERT to prevent database bloat. - Drop-in Compatible: Works with official Sentry SDKs out of the box.
Quick Start
1. Run the server:
./pocketsentry --port 8080
2. Point your existing Sentry SDK to it:
sentry_sdk.init(dsn="http://public@localhost:8080/1")
The project is completely free and open-source under the MIT license.
GitHub Repository: https://github.com/apvcode/pocketsentry

Top comments (0)