Open source at Optimi

Optimi publishes focused open-source tools that solve the same problems we hit when building edge platforms: realistic local authentication for integration tests, and safe URL cardinality reduction before analytics indexing.

Both projects are MIT-licensed, written in Go, and maintained under the optimiweb organization on GitHub.

Projects

ProjectWhat it doesRepository
oauthsonasIn-memory OpenID Connect provider for local development and integration testsgithub.com/optimiweb/oauthsonas
clusterpathBounded-memory URL normalizer that collapses high-cardinality paths into stable templatesgithub.com/optimiweb/clusterpath

When to use which

  • Use oauthsonas when a relying party (dashboard, API gateway, SPA) needs a real browser Authorization Code + PKCE flow in CI or on a laptop — without Auth0, Okta, or Keycloak, and without stubbing the OIDC client.
  • Use clusterpath when a high-volume request log would explode a ClickHouse (or similar) dictionary of distinct URLs. It learns structural templates online and emits a fixed vocabulary of placeholders such as {id} and {hex}.

Design principles

These libraries share the same product posture as the managed platform:

  • Small and intentional. No databases, no admin UIs, no production identity or multi-tenant control planes unless that is the problem being solved.
  • Safe defaults. oauthsonas binds to loopback and refuses non-loopback exposure unless you opt in. clusterpath bounds memory by construction.
  • Observable contracts. Stable selectors for browser automation, versioned form posts, typed placeholders, and health endpoints where they matter.
  • Documented failure modes. Single-replica limits, restart invalidation, and dictionary versioning are first-class in the docs — not footnotes.

License and contribution

Both projects use the MIT license. Contributions are welcome through GitHub issues and pull requests. Run the project's test suite (go test -race ./… where applicable) before opening a PR, and keep the development-only security model of oauthsonas intact.

Next steps

  1. oauthsonas — run the local OIDC provider and wire a dashboard.
  2. oauthsonas configuration — clients, personas, and claim names.
  3. clusterpath — normalize a URL stream with the library or CLI.
  4. clusterpath metrics — budgeted 96-ID metric clusters for dashboards.