reprose

Basic Go package server
git clone _git@git.zakaria.org/reprose.git
Log | Files | Refs | README

README (533B)


      1 reprose
      2 ========
      3 basic golang package server. heavily based on golang-package-server[^1].
      4 
      5 (anti)features
      6 ---------------
      7 - lists packages on index.
      8 - on browser request, redirects to repository path or http url.
      9 - serves proper go-import meta tag.
     10 - example instance: https://go.zakaria.org/.
     11 
     12 usage
     13 ------
     14 - put package name and repository associations in /etc/reprose.txt.
     15 - edit the constants at the beginning of main.go
     16 - build with:
     17 	go build -o reprose .
     18 - run:
     19 	./reprose
     20 
     21 ---
     22 1: https://git.zx2c4.com/golang-package-server/