RoxasShadow / Pasteling

An encrypted pastebin
http://pasteling.giovannicapuano.net
3 stars 0 forks source link

Pasteling

An encrypted pastebin.

Features

Clients

JSON APIs

/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.

Warning

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.

Tips

In order to improve performance, enable caching and gzip compression when you serve static resources.

Install

$ npm   install
$ npm   install -g bower
$ bower install
$ npm   start

Demo