https://github.com/Mechazawa/nnmm
A super tiny pastebin/url minifier "microservice"
https://github.com/Mechazawa/nnmm
pastebin php single-file url-shortener
Last synced: 5 months ago
JSON representation
A super tiny pastebin/url minifier "microservice"
- Host: GitHub
- URL: https://github.com/Mechazawa/nnmm
- Owner: Mechazawa
- License: other
- Archived: true
- Created: 2014-02-11T09:55:11.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2018-01-19T11:26:10.000Z (over 7 years ago)
- Last Synced: 2025-04-08T22:34:03.792Z (6 months ago)
- Topics: pastebin, php, single-file, url-shortener
- Language: PHP
- Homepage: https://nnmm.nl/
- Size: 15.6 KB
- Stars: 81
- Watchers: 5
- Forks: 5
- Open Issues: 2
-
Metadata Files:
- Readme: README
- License: LICENSE
Awesome Lists containing this project
README
NAME
nnmm - nnmm stands for nothingSYNOPSIS
Python
pasteurl = urllib2.urlopen("http://nnmm.nl/", ).read()
Bash
| curl --data-urlencode @- "http://nnmm.nl/"
curl --data-urlencode @- "http://nnmm.nl/" <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/nnmmINSTALLING
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.