Skip to content
kmetiaPublic

About

net: the outbound and wire layer for Clojure and Babashka programs. One HTTP entry point, JSON parsing and serialization, JSON-RPC, SSE framing, and OAuth/JWT auth primitives, sitting on host and below the MCP client, provider library and kmet application.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

111 Commits

Folders and files

Repository files navigation

net

The outbound and wire layer for Clojure/Babashka programs: the HTTP and JSON boundaries, SSE and JSON-RPC framing, and the OAuth/JWT auth primitives. It sits on host and below the MCP client, the provider library and the kmet application.

Namespaces

Namespace What it owns
kmet.net.http the single HTTP entry point, direct and proxied
kmet.net.json JSON parse and serialize through one boundary
kmet.net.jsonrpc JSON-RPC request, response and framing
kmet.net.jwt JWT claims, signing and verification
kmet.net.oauth OAuth flows, PKCE and token refresh
kmet.net.sse server-sent event framing and idle reads

Every outbound HTTP request in a kmet-family project goes through kmet.net.http; no other namespace may require an HTTP client or spawn curl.

Install

{:deps {kmet/host {:git/url "https://github.com/kmetia/host.git"
                   :git/sha "<full-commit-sha>"}
        kmet/net {:git/url "https://github.com/kmetia/net.git"
                  :git/sha "<full-commit-sha>"}}}

The :test alias uses the sibling ../host checkout.

Tests

bb test
jolt test

The JVM suite uses clojure -M:test.

License

Copyright © 2026 — present Marko Kocic marko@euptera.com

Licensed under the Eclipse Public License 2.0 (EPL-2.0).

About

net: the outbound and wire layer for Clojure and Babashka programs. One HTTP entry point, JSON parsing and serialization, JSON-RPC, SSE framing, and OAuth/JWT auth primitives, sitting on host and below the MCP client, provider library and kmet application.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages