Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/petersalomonsen/githttpserver
Simple git http server, used for demo of https://github.com/petersalomonsen/wasm-git
https://github.com/petersalomonsen/githttpserver
blockchain docker git kubernetes near-protocol nodejs rust webassembly
Last synced: about 1 month ago
JSON representation
Simple git http server, used for demo of https://github.com/petersalomonsen/wasm-git
- Host: GitHub
- URL: https://github.com/petersalomonsen/githttpserver
- Owner: petersalomonsen
- Created: 2020-02-22T14:53:16.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-12-26T08:57:34.000Z (about 1 year ago)
- Last Synced: 2024-05-01T16:33:25.810Z (8 months ago)
- Topics: blockchain, docker, git, kubernetes, near-protocol, nodejs, rust, webassembly
- Language: JavaScript
- Homepage:
- Size: 365 KB
- Stars: 30
- Watchers: 2
- Forks: 8
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
GIT http server
===============A simple git http server made for demonstration of the [WASM-git](http://github.com/petersalomonsen/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](https://en.wikipedia.org/wiki/Cross-origin_resource_sharing)). This project is set up to provide a git server without this restriction.
For authentication and access control the [near-protocol](https://near.org) blockchain is used. Smart contract sources can be found in the [nearcontract](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.