This repository has been archived by the owner on Nov 1, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
A super tiny pastebin/url minifier "microservice"
License
Mechazawa/nnmm
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
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.
About
A super tiny pastebin/url minifier "microservice"
Topics
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published