I think I've got a forwarding proxy that works with i2p

This commit is contained in:
idk
2018-07-23 22:18:15 -04:00
parent b834d6faf6
commit d1c1ee6dc1
11 changed files with 304 additions and 77 deletions

View File

@ -1,6 +1,29 @@
GOPATH = $(PWD)/.go
echo:
@echo "$(GOPATH)"
test:
go test
./bin/ephsite -addr=127.0.0.1:8081 &
sleep 120
killall ephsite
build:
deps:
go get -u github.com/eyedeekay/ephemeral-eepSite-SAM
go get -u github.com/eyedeekay/i2pasta/convert
go get -u github.com/kpetku/sam3
build: clean
mkdir -p bin
cd main && go build -a -tags netgo -ldflags '-w -extldflags "-static"' -o ../bin/ephsite
clean:
rm -f bin/ephsite
run:
./bin/ephsite -addr="127.0.0.1:8081"
noopts: clean
mkdir -p bin
cd main && go build -o ../bin/ephsite