A paste tool written in Golang (plus some API libraries for pastebin like sites).
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
fpaste
pastebin
.gitignore
LICENSE
README.md
go-paste.go
service.go

README.md

go-paste

A tool to upload text to pastebin. Fairly simple, and easy to use. Support for other paste services is planned for the future.

Installation

go get github.com/bearbin/go-paste

Examples

Put a file:

go-paste put example-file

Put from stdin:

go-paste put -

Put your data on fpaste, not pastebin:

go-paste -s fpaste put example-file

Get a paste:

go-paste get http://pastebin.com/ZTBUm4B2

Supported Paste Services

  • pastebin.com
  • fpaste.org

Development

go-paste is Public Domain software and Pull Requests are welcome.