Go to file
Boris Kubiak eb7f87d6aa Store data in pathname instead of hash 2020-04-25 17:35:22 +02:00
LICENSE Initial commit 2020-02-13 15:52:01 +01:00
Makefile Store data in pathname instead of hash 2020-04-25 17:35:22 +02:00
README.md Store data in pathname instead of hash 2020-04-25 17:35:22 +02:00
_redirects Create _redirects file 2020-04-25 11:48:34 +02:00
favicon.ico Add favicon; create worker from jsDelivr 2020-03-09 11:39:55 +01:00
index.html Store data in pathname instead of hash 2020-04-25 17:35:22 +02:00
index.js Store data in pathname instead of hash 2020-04-25 17:35:22 +02:00
style.css Improve loading times for SEO purposes 2020-04-24 15:57:41 +02:00

README.md

Intro

NoPaste is a client-side paste service which works with no database, and no back-end code

Instead, the data is compressed then stored into a unique URL that can be decoded later. For example, this is the CSS code used by NoPaste

As a result, there is no risk of data being lost, censored or deleted. The whole data stored is in the link and nowhere else! 🤯

Note: This project is a copy of Topaz's paste service, with a reworked design and a few additional features (syntax highlighting, line numbers, embedding...)

How it works

When you click on "Generate Link", NoPaste compresses the whole text using the LZMA algorithm, encodes it in Base64, and puts it just after the first /, in the URL: nopaste.ml/<your data goes here>

When you open a link, NoPaste reads, decodes, and decompresses whatever is after the /, and displays the result in the editor

Embedded NoPaste snippets

You can include NoPaste code snippets into your own website by clicking the Embed button and using the generated HTML code

This is what an embedded Paste snippet looks like

Feel free to edit the generated height and width attributes, so they suit your needs