A simple git http server deployable to kubernetes, made for demonstration of the WASM-git project.
Even though WASM-git can clone git repositories from any git http server, there are restrictions in browsers when it comes to accessing data from other domains (CORS). This project is set up to provide a git server without this restriction.
The project is currently deployed at https://githttpserverdemo.petersalomonsen.usw1.kubesail.io using the free tier from kubesail, so don't use this deployment for storing anything important or sensitive. It's just for test and demonstration purposes.
For authentication and access control the near-protocol blockchain is used. Currently set up for the testnet, where new accounts are loaded with free gas from the beginning. Smart contract sources can be found in the nearcontract folder, and is for access control to repositories.
From the browser side a token is created and signed using the private keys stored in the browser. The server checks the signature and query the smart contract for access rights to the requested repository.
Content type
Image
Digest
Size
350.9 MB
Last updated
about 6 years ago
docker pull psalomo/githttpserver