Skip to content

Conversation

@kumavis
Copy link
Member

@kumavis kumavis commented Aug 11, 2025

🐐

demo of "capricorn" OCapN server that facilitates turning http based APIs into OCapN functions.

Capricorn provides an admin facet exposed as a sturdyref that allows one to create new "routes". The routes are small javascript programs that get access to node.js fetch. The result of a route is an OCapN function that can be passed around without exposing the content of the route program. Routes can be used to expose a constrained subset of an http endpoint with an authenticating bearer token without exposing the token or rest of the api to the route.

this is a proof of concept. it proved useful in sourcing caps from non-capability systems.

the name comes from ocaps + unicorn (and obviously capricorn)

@kumavis kumavis changed the title Kumavis/capricorn OCapN Demo: Capricorn Server Sep 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants