|
|
||
|---|---|---|
| LICENSE | ||
| Makefile | ||
| README.md | ||
| favicon.ico | ||
| index.html | ||
| index.js | ||
| style.css | ||
README.md
Paste
Paste is a client-side paste service which works without any database or back-end code
Instead, the data is compressed then stored into a unique URL that can be decoded later. For example, this is the HTML code of the service
Note: This project is a clone of Topaz's paste service, with a reworked design and additional features such as syntax highlighting, line numbers, and more
How it works
When you click on "Generate Link", the whole text is compressed using the LZMA algorithm, encoded in Base64, and put in the optional fragment at the end of the URL: bokub.github.io/paste/#<data is here>
When you open a link which contains data, the fragment is decoded, decompressed, and displayed in the editor