Modern pastebin written in golang
Go to file
Eliot Whalan 7f2f0b357f Update README.md 2016-08-26 14:36:37 +10:00
assets Fix up html templates again 2016-08-10 19:18:24 +10:00
.gitignore Add configuration file 2016-07-20 07:13:34 +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 Update makefile 2016-07-15 15:13:59 +10:00
README.md Update README.md 2016-08-26 14:36:37 +10:00
config.example.json Add configuration file 2016-07-20 07:13:34 +10:00
database.sql Rewrite DurationFromExpiry function 2016-07-15 12:12:09 +10:00
pastebin.go Declare previously undeclared variable 2016-08-10 19:12:42 +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

  • go get https://github.com/ewhal/Pastebin
  • make will automatically download the dependencies for Pastebin
  • cp config.example.json config.json
  • nano config.json
  • Configure port and database details

License

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