Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
A super tiny pastebin/url minifier "microservice" https://nnmm.nl/
|Type||Name||Latest commit message||Commit time|
|Failed to load latest commit information.|
NAME nnmm - nnmm stands for nothing SYNOPSIS Python pasteurl = urllib2.urlopen("http://nnmm.nl/", <data>).read() Bash <command> | curl --data-urlencode @- "http://nnmm.nl/" curl --data-urlencode @- "http://nnmm.nl/" < <file> DESCRIPTION Just post any data to this server and it'll give you a "paste" link. If the data is an url (ex "http://example.com/") it will return the same kind of url but it will instead be a shortened url. This means that it will redirect instead of show the data. This can be stopped by adding an ! at the end of the url. SEE ALSO The current source code can be found at http://nnmm.nl/s.php Command-line tool: https://nnmm.nl/nnmm The git repo can be found at https://github.com/Mechazawa/nnmm INSTALLING Change the database login etc in the index and apply the sql file to the database. The file does not need any further configuration. It can be given any name and will automatically figure out the name and location of the script etc. Sqlite support is not hard to implement. It only requires the person installing it to change the connection string to use sqlite and a sqlite database file containing the correct table structure.