Setting up remote / proxy GitHub package registry and downloading libraries from public repos

We are planning to control the usage of open source libraries by setting up remote /proxy GitHub package registry to download specific libraries from public repos like maven, Gradle, NPM, NuGet, etc. (ones supported by GitHub Package Registry). Please suggest how to go about this… ( we are looking for something similar what JFrog does)