Go to file
Boris Kubiak eb3e5fa5f0 Add 'generate markdown' button 2020-03-05 14:33:21 +01:00
LICENSE Initial commit 2020-02-13 15:52:01 +01:00
README.md Slugify lang param, use bigger font size 2020-02-21 15:23:26 +01:00
index.html Add 'generate markdown' button 2020-03-05 14:33:21 +01:00
index.js Add 'generate markdown' button 2020-03-05 14:33:21 +01:00
lzma.min.js Fix wrong character 2020-02-13 16:06:24 +01:00
style.css Slugify lang param, use bigger font size 2020-02-21 15:23:26 +01:00

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