Skip to content

elkeis/githttpserver

 
 

Repository files navigation

GIT http server

A simple git http server 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.

For authentication and access control the near-protocol blockchain is used. 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.

About

Simple git http server, used for demo of https://github.com/petersalomonsen/wasm-git

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 57.3%
  • Rust 28.7%
  • HTML 12.6%
  • Shell 1.1%
  • Dockerfile 0.3%