Self hosted web app for storing temporary pastes (Pastebin). Forked from https://git.mills.io/prologic/pastebin to add persistence, //go:embed support
Go to file
2017-07-02 23:42:34 -07:00
scripts Initial Commit 2017-07-02 23:42:34 -07:00
templates Initial Commit 2017-07-02 23:42:34 -07:00
config_test.go Initial Commit 2017-07-02 23:42:34 -07:00
config.go Initial Commit 2017-07-02 23:42:34 -07:00
Dockerfile Initial Commit 2017-07-02 23:42:34 -07:00
LICENSE Initial Commit 2017-07-02 23:42:34 -07:00
main.go Initial Commit 2017-07-02 23:42:34 -07:00
Makefile Initial Commit 2017-07-02 23:42:34 -07:00
README.md Initial Commit 2017-07-02 23:42:34 -07:00
server.go Initial Commit 2017-07-02 23:42:34 -07:00
urls.db Initial Commit 2017-07-02 23:42:34 -07:00
utils.go Initial Commit 2017-07-02 23:42:34 -07:00

pastebin

Build Status GoDoc Wiki Go Report Card Coverage

pastebin is a web app that allows you to create smart bookmarks, commands and aliases by pointing your web browser's default search engine at a running instance. Similar to bunny1 or yubnub.

Installation

Source

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

OS X Homebrew

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 -bind 127.0.0.1:8000

Set your browser's default pastebin engine to http://localhost:8000/?q=%s

Then type help to view the main help page, g foo bar to perform a Google search for "foo bar" or list to list all available commands.

License

MIT