Modern pastebin written in golang
assets | ||
.gitignore | ||
.travis.yml | ||
database.sql | ||
LICENSE.md | ||
Makefile | ||
pastebin.go | ||
README.md |
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.
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
- nano pastebin.go
- Configure port and database details
- make
License
This project is licensed under the MIT License - see the LICENSE.md file for details