Modern pastebin written in golang
Go to file
Eliot Whalan 07a5f9e32b
update reademe and use flags
2016-07-15 15:05:51 +10:00
assets Fix up expiry options 2016-07-15 13:48:58 +10:00
.gitignore Remove database.db 2016-06-19 11:49:27 +10:00
.travis.yml Update travis ci 2016-07-15 14:27:11 +10:00
LICENSE.md Rename LICENSE file 2016-07-14 11:57:22 +10:00
Makefile fix up expiry 2016-07-15 13:06:25 +10:00
README.md update reademe and use flags 2016-07-15 15:05:51 +10:00
database.sql Rewrite DurationFromExpiry function 2016-07-15 12:12:09 +10:00
pastebin.go update reademe and use flags 2016-07-15 15:05:51 +10:00

README.md

#Golang Pastebin Build Status GoDoc Go Report Card MITlicensed

Modern self-hosted pastebin service with a restful API.

Motivation

Many Pastebin services exist but all are more complicated than they need to be. That is why I decided to write a pastebin service in golang.

paste

Getting started

Prerequisities

  • pygmentize
  • go
  • mariadb
pip install pygmentize
sudo yum install -y go mariadb-server mariadb

Installing

./pastebin --db-name="pastes" --db-username="pastebin" --db-pass=""
--port=":9900" --length=6

License

This project is licensed under the MIT License - see the LICENSE.md file for details