arnaucube
arnaucube/gitviewPublic Self-hosted repository
gitview/scripts/setup-demo.sh
scripts/setup-demo.shRaw
 1#!/bin/sh
 2# Populate a local workspace with actual, read-only example repositories.
 3set -eu
 4cd "$(dirname "$0")/.."
 5mkdir -p repos
 6clone_repo() {
 7  if [ ! -d "repos/$1.git" ]; then
 8    git clone --bare "$2" "repos/$1.git"
 9    printf '%s\n' "$3" > "repos/$1.git/description"
10  fi
11}
12clone_repo babyjubjub-rs https://github.com/arnaucube/babyjubjub-rs.git 'BabyJubJub elliptic curve implementation and EdDSA signature scheme in Rust'
13clone_repo protogalaxy-poc https://github.com/arnaucube/protogalaxy-poc.git 'ProtoGalaxy folding scheme PoC implementation https://eprint.iacr.org/2023/1106.pdf'
14clone_repo fri-commitment https://github.com/arnaucube/fri-commitment.git 'FRI low-degree-testing & polynomial commitment scheme'
15clone_repo go-snark https://github.com/arnaucube/go-snark.git 'zkSNARK library implementation in Go from scratch (compiler, setup, prover, verifier)'