Site for hosing code snippets. (old & deprecated)

Clone this repo:
  1. fe268f7 Merge pull request #1 from jessfraz/imgbot by Jess Frazelle · 3 weeks ago master
  2. 5ef715f Bump version to v0.2.3 by Jess Frazelle · 5 weeks ago v0.2.3
  3. 4f44f1c update dep by Jess Frazelle · 5 weeks ago
  4. c2d66b1 update readme by Jess Frazelle · 5 weeks ago
  5. d8b8b6c Bump version to v0.2.2 by Jess Frazelle · 5 weeks ago v0.2.2

snippetlib

Travis CI GoDoc

Server to host code snippets.

Installation

Binaries

For installation instructions from binaries please visit the Releases Page.

Via Go

$ go get github.com/jessfraz/snippetlib

Usage

$ snippetlib -h
snippetlib -  Server to host code snippets.

Usage: snippetlib <command>

Flags:

  --cert              path to ssl certificate (default: <none>)
  -d                  enable debug logging (default: false)
  --dbconn            database connection string (default: postgres://postgres:@127.0.0.1:5432/db?sslmode=disable)
  --key               path to ssl key (default: <none>)
  --mailchimp-apikey  Mailchimp APIKey for subscribing to newsletters (default: <none>)
  --mailchimp-listid  Mailchimp List ID for newsletter to subscribe emails to (default: <none>)
  -p                  port for server to run on (default: 3000)

Commands:

  version  Show the version information.