feat: initial fire-and-forget telemetry client

Anonymous OSS usage telemetry library with zero third-party deps.

- Send(project, version): fire-and-forget POST to oss.raczylo.com/v1/ping
- Disable() and Wait(timeout) helpers
- Disable via DO_NOT_TRACK, OSS_TELEMETRY_DISABLED, or per-project env
- Failproof: never blocks, never panics, never returns errors
- Hand-written JSON (no encoding/json) and byte-loop validators (no regexp)
- golangci-lint v2 clean, all tests pass with -race
This commit is contained in:
2026-05-21 01:58:11 +01:00
commit e02d51419c
6 changed files with 795 additions and 0 deletions
+3
View File
@@ -0,0 +1,3 @@
module github.com/lukaszraczylo/oss-telemetry
go 1.22