Skip to content

A sprunge.us inspired command line pastebin clone

License

Notifications You must be signed in to change notification settings

ISEAGE-ISU/gopaste

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GoPaste

Simple command line pastebin-esque site for personal use.

Dependencies

Vendoring Gorilla Mux for routing.

Build

  • go build -mod=vendor

Usage

Upload myfile.txt and receive the URL back.

cat myfile.txt | curl -F 'paste=<-' http://your-site

You can add | xargs firefox to the end to open it in firefox, etc.

A plaintext response is served.

The landing page provides a man(1)-style manual page for reference by users.

Thanks

Thanks for http://sprunge.us for the idea which I shamelessly copied.

Thanks to Gorilla Toolkit for the awesome Golang http extensions.

About

A sprunge.us inspired command line pastebin clone

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Go 85.5%
  • Makefile 10.1%
  • Shell 4.4%