Nnpy

A very simple Pastebin


Argp / Docs / Nnpy

Docker Automated build Docker Stars Docker Pulls Build Status GitHub issues GitHub last commit GitHub

Nnpy is a very simple Pastebin and a clone of nnmm. It is implemented in Python 3 and uses the Flask web framework. To store data, it uses the SQLite database. It does not include a form to submit data. Instead, it relies on other software to send POST request directly.

A simple example of pasting the output of ls command to Nnpy using curl.

$ ls -l | curl --data-urlencode c@- https://example.com
https://example.com/U01mj

Another example of pasting the contents of a plain text file to nnpy by redirecting the input to curl command.

$ curl --data-urlencode c@- https://exampe.com < plain.txt
https://example.com/jSnn4

License

BSD 3-Clause License