Skip to content

fluter01/paste

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

paste

GoDoc Build Status codecov.io Go Report Card Gitter

A tool and API downloading from and send paste to online pastebin services.

Currently support getting paste from following pastebins:

  • bpaste.net
  • codepad.org
  • ideone.com
  • pastebin.com
  • pastie.org
  • sprunge.us
  • privatepaste.com
  • paste.debian.net
  • paste.fedoraproject.org
  • ptpb.pw
  • paste.pr0.tips
  • vp.dav1d.de
  • hastebin.com
  • lpaste.net
  • fpaste.org
  • ghostbin.com
  • dpaste.de
  • codeviewer.org
  • paste.ee
  • paste.linuxassist.net
  • paste.linux.chat
  • paste.pound-python.org
  • pastebin.geany.org
  • paste.kde.org
  • paste.eientei.org
  • www.heypasteit.com
  • paste.ubuntu.org.cn
  • pastebin.ca
  • paste.lugons.org
  • play.golang.org
  • glot.io
  • vpaste.net
  • ix.io

Send paste to:

  • sprunge.us

Usage:

download paste

gopaste <paste url>

send paste

Send a file:

gopaste -p foo.txt

Send a command's output:

cmd | gopaste -p -

Why

I'm an IRC user that works on terminal, when someone post his code snippet in the channel, I hate to lunch the browser to view that code. So I decided to make this tool. It will help you get the raw content of the snippets in your terminal, no browser, no GUI needed! The project is partly inspired by fstd/cwarn, which scrapes paste links and tries to compile them.