2020-02-13 15:02:17 +00:00
<!DOCTYPE html>
< html lang = "en" >
< head >
< meta charset = "UTF-8" / >
2020-05-15 13:05:59 +00:00
< meta name = "viewport" content = "width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0" / >
2020-02-13 15:02:17 +00:00
< meta http-equiv = "X-UA-Compatible" content = "ie=edge" / >
2020-04-28 11:49:38 +00:00
2020-04-24 13:30:20 +00:00
< title > NoPaste - No-database paste service< / title >
2020-02-13 15:02:17 +00:00
< link
rel="stylesheet"
type="text/css"
2020-02-17 15:05:42 +00:00
href="https://cdn.jsdelivr.net/combine/
2020-04-24 10:24:08 +00:00
npm/bootstrap@4.4.1/dist/css/bootstrap-grid.min.css,
2020-02-17 15:05:42 +00:00
npm/slim-select@1.25.0/dist/slimselect.min.css,
2020-03-09 14:54:31 +00:00
npm/codemirror@5.52.0/lib/codemirror.min.css,
npm/codemirror@5.52.0/addon/scroll/simplescrollbars.css,
npm/codemirror@5.52.0/theme/dracula.min.css
2020-02-17 15:05:42 +00:00
"
2020-02-13 15:02:17 +00:00
/>
2020-05-14 16:32:34 +00:00
< link rel = "stylesheet" href = "style.css" / >
2020-04-30 08:05:19 +00:00
< link href = "favicon.ico" rel = "icon" type = "image/x-icon" / >
2020-04-30 07:57:37 +00:00
< link rel = "canonical" href = "https://nopaste.ml/" / >
2020-04-24 13:30:20 +00:00
< meta
name="description"
2020-04-30 08:05:19 +00:00
property="og:description"
2020-04-28 11:49:38 +00:00
content="NoPaste is a client-side paste service which works with no database, and no back-end code. The data is stored entirely in the links and nowhere else"
2020-04-24 13:30:20 +00:00
/>
2020-04-30 07:57:37 +00:00
< meta property = "og:title" content = "NoPaste - No-database paste service" / >
< meta property = "og:image" content = "https://cdn.jsdelivr.net/gh/bokub/nopaste@images/logo.png" / >
< meta property = "og:url" content = "https://nopaste.ml/" / >
2020-04-30 08:05:19 +00:00
< meta property = "og:type" content = "website" / >
2020-02-13 15:02:17 +00:00
< / head >
2020-04-24 10:24:08 +00:00
< body class = "m-0" >
2020-04-27 15:03:02 +00:00
< script >
2020-05-15 13:05:59 +00:00
const readOnly = window.location !== window.parent.location || new URLSearchParams(window.location.search).has('readonly');
2020-04-27 15:03:02 +00:00
if (readOnly) {
document.body.classList.add('readonly');
}
< / script >
2020-04-24 13:30:20 +00:00
< div id = "copy" class = "container-fluid hidden shadow-bottom hide-readonly" >
2020-04-24 10:24:08 +00:00
< div class = "row my-1" >
< div class = "col my-1" >
2020-05-15 13:05:59 +00:00
< input type = "text" value = "copy me" id = "copy-link" class = "px-2" onclick = "this.setSelectionRange(0, this.value.length)" / >
2020-04-24 10:24:08 +00:00
< / div >
< div class = "col-auto my-1" >
2020-05-15 13:05:59 +00:00
< button class = "clipboard py-1 px-2 mx-1" id = "copy-btn" data-clipboard-target = "#copy-link" type = "button" >
2020-04-24 10:24:08 +00:00
Copy
< / button >
< button class = "py-1 px-2 mx-1" onclick = "hideCopyBar(false)" type = "button" > Cancel< / button >
< / div >
< / div >
< / div >
2020-04-24 13:30:20 +00:00
< div id = "controls" class = "container-fluid shadow-bottom hide-readonly" >
2020-04-24 10:24:08 +00:00
< div class = "row align-items-center justify-content-end my-1" >
2020-04-26 15:45:06 +00:00
< div class = "col-auto mb-1" >
2020-04-30 08:05:19 +00:00
< h1 class = "my-0" > < span > {< / span > NoPaste < span > }< / span > < / h1 >
2020-04-24 10:24:08 +00:00
< / div >
2020-04-26 15:45:06 +00:00
< div class = "col-auto" >
2020-05-15 13:05:59 +00:00
< a href = "https://github.com/bokub/nopaste" rel = "noopener" target = "_blank" class = "mx-1" title = "Source code" >
< span class = "icon-github" > < / span >
2020-04-26 15:45:06 +00:00
< / a >
2020-05-15 13:05:59 +00:00
< a href = "javascript:void(0)" onclick = "byId('overlay').classList.remove('hidden')" class = "mx-1" title = "What is NoPaste?" >
< span class = "mx-2 icon-question" > < / span >
2020-04-26 15:45:06 +00:00
< / a >
< / div >
< div class = "col" > < / div >
2020-04-24 10:24:08 +00:00
< div class = "col-auto my-1" >
< select id = "language" > < / select >
< / div >
2020-04-26 15:45:06 +00:00
< div class = "col-auto" >
2020-05-15 13:05:59 +00:00
< button onclick = "enableLineWrapping()" type = "button" id = "enable-line-wrapping" title = "Enable line wrapping" >
< span class = "icon-notes" > < / span >
2020-04-26 15:45:06 +00:00
< / button >
< button
onclick="disableLineWrapping()"
type="button"
id="disable-line-wrapping"
title="Disable line wrapping"
2020-04-27 15:03:02 +00:00
class="hidden"
2020-04-26 15:45:06 +00:00
>
2020-05-15 13:05:59 +00:00
< span class = "icon-wrap-text" > < / span >
2020-04-26 15:45:06 +00:00
< / button >
< / div >
< div class = "col-auto" >
< button class = "py-1 px-2 mx-0 my-1" onclick = "generateLink('url')" type = "button" >
Generate link
< / button >
< button class = "py-1 px-2 mx-1 my-1" onclick = "generateLink('markdown')" type = "button" >
2020-04-24 10:24:08 +00:00
Generate markdown
< / button >
2020-04-26 15:45:06 +00:00
< button class = "py-1 px-2 mx-0 my-1" onclick = "generateLink('iframe')" type = "button" > Embed< / button >
2020-04-24 10:24:08 +00:00
< / div >
< / div >
2020-02-13 15:02:17 +00:00
< / div >
2020-04-22 16:50:44 +00:00
< div id = "progress" > < / div >
< div id = "editor" > < / div >
2020-04-25 22:53:10 +00:00
< footer id = "footer" class = "shadow-top container-fluid" >
2020-04-24 13:30:20 +00:00
< div class = "row my-1" >
2020-04-28 13:46:29 +00:00
< div class = "col mono hide-readonly" id = "stats" > Length: 0 | Lines: 1< / div >
2020-04-27 15:03:02 +00:00
< div class = "col mono show-readonly" > Hosted on NoPaste.ml< / div >
< div class = "col-auto mono show-readonly" >
< a href = "javascript:void(0)" onclick = "openInNewTab()" >
2020-05-15 13:05:59 +00:00
< span class = "icon-edit" > < / span >
2020-04-27 15:03:02 +00:00
Edit
< / a >
< / div >
2020-04-24 13:30:20 +00:00
< / div >
< / footer >
2020-04-26 15:45:06 +00:00
< div class = "hidden" id = "overlay" onclick = "this.classList.add('hidden')" >
< div id = "description" class = "hidden shadow-bottom p-3" >
2020-05-15 13:05:59 +00:00
NoPaste is a client-side paste service which works with < b > no database< / b > , and < b > no back-end code< / b > .< br / > < br / >
Instead, the data is < b > compressed< / b > then < b > stored< / b > into a unique URL that can be shared and decoded later.< br / > < br / >
2020-04-28 11:49:38 +00:00
As a result, there is no risk of data being lost, censored or deleted. The data is stored entirely
< b > in the links< / b > and nowhere else!< br / > < br / >
You can find more detailed information on
< a href = "https://github.com/bokub/nopaste" rel = "noopener" target = "_blank" > Github< / a >
2020-04-26 15:45:06 +00:00
< / div >
< / div >
< script src = "https://cdn.jsdelivr.net/combine/
2020-04-24 13:57:41 +00:00
npm/lzma@2.3.2/src/lzma.min.js,
npm/slim-select@1.25.0/dist/slimselect.min.js,
npm/clipboard@2/dist/clipboard.min.js,
npm/codemirror@5.52.0,
npm/codemirror@5.52.0/addon/mode/loadmode.min.js,
npm/codemirror@5.52.0/addon/mode/overlay.min.js,
npm/codemirror@5.52.0/addon/mode/multiplex.min.js,
npm/codemirror@5.52.0/addon/mode/simple.min.js,
npm/codemirror@5.52.0/addon/scroll/simplescrollbars.js,
npm/codemirror@5.52.0/mode/meta.min.js
">< / script >
2020-05-14 16:32:34 +00:00
< script src = "index.js" > < / script >
2020-04-26 15:45:06 +00:00
< / body >
2020-02-13 15:02:17 +00:00
< / html >