Popularity
2.3
Stable
Activity
0.0
Stable
115
6
20

Programming language: Go
License: MIT License
Tags: Pastebins    

Pastebin alternatives and similar software solutions

Based on the "Pastebins" category.
Alternatively, view Pastebin alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of Pastebin or a related project?

Add another 'Pastebins' Software solution

README

Golang Pastebin

Build Status GoDoc Go Report Card MIT
licensed

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

  • Please note this assumes you have Mariadb and Go already setup.
  • go get github.com/ewhal/Pastebin
  • make
  • mysql -u root -p
  • CREATE USER 'paste'@'localhost' IDENTIFIED BY 'password';
  • CREATE database paste;
  • GRANT ALL PRIVILEGES ON paste . * TO 'paste'@'localhost';
  • FLUSH PRIVILEGES;
  • quit;
  • mysql -u paste -p paste < database.sql
  • 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](LICENSE.md) file for details


*Note that all licence references and agreements mentioned in the Pastebin README section above are relevant to that project's source code only.