An encrypted pastebin.
/api/new
- POST - text (required), lang (optional), key (optional) - Send a new paste
/api/:key/:id
- GET - Get a paste
/api/langs
- GET - Get a list of supported languages
The field lang requires one of the name you can find in /api/langs
. Default is Plain Text.
This version of Pasteling performs encryption in the server side and is far to be totally safe. If you need more security, choose the client-side version.
In order to improve performance, enable caching and gzip compression when you serve static resources.
$ npm install
$ npm install -g bower
$ bower install
$ npm start