A pastebin web application focused at CLI support (sprunge inspired)
$ go get github.com/kinghrothgar/gobin github.com/bmizerany/pat github.com/grooveshark/golib/gslog bitbucket.org/kardianos/osext github.com/mediocregopher/flagconfig github.com/kinghrothgar/redis/pool github.com/mediocregopher/radix/redis github.com/kinghrothgar/pygments github.com/kinghrothgar/gobin
Check out http://redis.io/download
$ pip install pygments
Note: depending on your configuration, pygments may install at /usr/bin/pygmentize
or /usr/local/bin/pygmentize
$ go run gobin.go --example > gobin.conf
$ redis-server --port 6666
$ go run gobin.go --conf=gobin.conf
or without a conf file
$ go run gobin.go --storetype=redis --storeconf=0.0.0.0:6666 --domain=0.0.0.0 --pygmentizepath=/usr/bin/pygmentize --listen=0.0.0.0:3000 --htmltemplates=/home/vagrant/code/gobin/templates/htmlTemplates.tmpl --texttemplates=/home/vagrant/code/gobin/templates/textTemplates.tmpl --staticpath=/home/vagrant/code/gobin/static