1
0
forked from sm/vain
a simple go tool vanity url server.
Go to file
stephen mcquay 501631a45a Don't require user to set YSV_HOST
The original reason for having this required configuration parameter was that
I didn't think to read the hostname off the request. Doing it this way has the
additional benefit of a single server being able to serve a multitude of
hostnames.

Derek helped me realize this by repeating "there should be sane defaults" like
9000 times (maybe over 9000) till I got so tired of trying to make sure that he
understood why I did it that way to begin with that I looked at the problem
from a different perspective and like in a dream the solution came to me.

fixes #10.
2016-02-16 23:22:33 -08:00
cmd/ysvd Don't require user to set YSV_HOST 2016-02-16 23:22:33 -08:00
api_test.go added some tests for the json storage. 2016-02-15 01:42:20 -08:00
doc.go fleshed out where documentation is stored. 2016-02-15 01:09:11 -08:00
licence.txt init 2016-02-08 00:00:39 -08:00
readme.md moved ysv -> vain 2016-02-13 00:17:12 -08:00
server.go Don't require user to set YSV_HOST 2016-02-16 23:22:33 -08:00
storage_test.go added some tests for the json storage. 2016-02-15 01:42:20 -08:00
storage.go added some tests for the json storage. 2016-02-15 01:42:20 -08:00
vain_test.go added vcs support for svn and bzr 2016-02-16 18:32:04 -08:00
vain.go added vcs support for svn and bzr 2016-02-16 18:32:04 -08:00

vain

ysvd is a vanity url server for use by the go tool.

installation

$ go get mcquay.me/vain/cmd/ysvd

running server

$ ysvd