paste
paste is a simple, "code friendly" web frontend for bytebin.
It is written in React using react-simple-code-editor and Prism.
Usage
I host a public instance of paste at paste.lucko.me.
Please feel free to use it to share code/configs/whatever! However note the (very-non-legally worded) terms of service for bytebin apply.
If you come across any content which is illegal or infringes on copyright, please get in touch and let me know so I can remove it.
Uploaded content is retained for 30 days then deleted.
Host your own
If you want to host your own paste:
git clone https://github.com/lucko/paste
yarn install
yarn start # to start a dev instance locally
yarn build # to build for production
API
paste uses bytebin for data storage.
As a result, you can use the bytebin API to submit/read content programatically.
To set the language of a paste, use the Content-Type header with value text/<language> (e.g. Content-Type: text/yaml for a .yml file).
