keygen-sh / keygen-api

Keygen is a fair source software licensing and distribution API built with Ruby on Rails. For developers, by developers.
https://keygen.sh
Other
826 stars 55 forks source link

Add proxy service to reverse-proxy requests to registries like npm and Docker #642

Open ezekg opened 2 years ago

ezekg commented 2 years ago

E.g. proxy.keygen.sh/foo/bar proxies to a private npm package. License validation must pass. It streams the response from npm directly, without a redirect i.e. the source should be invisible to the end-user (so likely need to have this be a Go microservice since Ruby is not the fastest i.r.t. streaming large files).

ezekg commented 2 years ago

Use GitHub’s package registries?

ezekg commented 2 years ago

What if we did an OCI-compliant registry for Docker? Can test conformance here.