2017-07-09 01:57:21 -07:00
2017-07-02 23:42:34 -07:00
2017-07-02 23:57:32 -07:00
2017-07-06 22:42:04 -07:00
2017-07-02 23:57:32 -07:00
2017-07-02 23:42:34 -07:00
2017-07-02 23:57:32 -07:00
2017-07-06 22:42:04 -07:00
2017-07-02 23:42:34 -07:00
2017-07-02 23:42:34 -07:00

pastebin

Build Status GoDoc Wiki Go Report Card Coverage

pastebin is a self-hosted pastebin web app that lets you create and share "ephemeral" data between devices and users. There is a configurable expiry (TTL) afterwhich the paste expires and is purged. There is also a handy CLI for interacting with the service in a easy way or you can also use curl!

Source

$ go install github.com/prologic/pastebin/...

OS X Homebrew

Coming

There is a formula provided that you can tap and install from prologic/homebrew-pastebin:

$ brew tap prologic/pastebin
$ brew install pastebin

NB: This installs the latest released binary; so if you want a more recent unreleased version from master you'll have to clone the repository and build yourself.

pastebin is still early days so contributions, ideas and expertise are much appreciated and highly welcome!

Usage

Run pastebin:

$ pastebin

Create a paste:

$ echo "Hello World" | pb
http://localhost:8000/92sHUeGPfoFctazBxdEhae

Or use the Web UI: http://localhost:8000/

Or curl:

$ echo "hello World" | curl -q -L -d @- -o - http://localhost:8000/
...

License

MIT

Description
Self hosted web app for storing temporary pastes (Pastebin). Forked from https://git.mills.io/prologic/pastebin to add persistence, //go:embed support
Readme 103 KiB
Languages
Go 76.3%
HTML 13.5%
Shell 5.5%
Dockerfile 2.8%
Makefile 1.9%