Simple silex based pastebin for pasting pastes, with KeyLighter inside.
Live demo (actually used!): http://bin.kadet.net/
composer install
yarn
gulp
php bin/console migrate
Use web
folder as servers document root, for example:
$ php -S pastebin.dev:8080 -t web
- Address: Base address of installation, for example:
http://bin.kadet.net
- Request type:
POST
- Content field:
paste
- Additional (optional) fields:
key
: Key for edition authorizationauthor
: Your name or nicknamelanguage
: Language name, as described in: http://keylighter.kadet.net/docs/languagestitle
: Paste titledescription
: Paste descriptionlines
: Line mappings,!2:10
- highlights lines from 2 to 10,1:10
- makes line 1 to appear as 10