Skip to content
This repository has been archived by the owner on Nov 2, 2020. It is now read-only.

jinglemansweep/sprang

Repository files navigation

Sprang

Sprang is a small script that interacts with the “sprunge.us” command line,
terminal “pastebin” web service.

Installing

You can install Sprang using “easy_install”:

sudo apt-get install python-setuptools
sudo easy_install sprang

Getting Started

You can post text to “sprunge.us” using Sprang in one of three ways:

Via STDIN:

cat /etc/issue | sprang

Using a command line argument:

sprang -t "This is my text"

From a text file:

sprang -f /etc/issue

If the post is successful, your code and URL will be displayed:

INFO: Code: cUGX
INFO: URL: http://sprunge.us/cUGX

You can either copy and paste the code or URL into an email or instant message,
or you could just read out the code to your friend or co-worker.

They can quickly receive the text someone has posted using this code:

sprang -g cUGX

About

Sprang is a small script that interacts with the “sprunge.us” command line, terminal “pastebin” web service.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages