Go to file
2023-12-02 22:34:24 +01:00
src Removed useless analytics 2023-12-02 22:34:24 +01:00
static Useless files 2023-11-24 21:15:53 +01:00
.eslintignore initial commit 2023-10-25 19:58:53 +02:00
.eslintrc.cjs initial commit 2023-10-25 19:58:53 +02:00
.gitignore initial commit 2023-10-25 19:58:53 +02:00
.npmrc initial commit 2023-10-25 19:58:53 +02:00
.prettierignore initial commit 2023-10-25 19:58:53 +02:00
.prettierrc Formatting 2023-11-26 17:24:21 +01:00
LICENSE.md readme 2023-11-22 22:00:24 +01:00
package.json Added GFLM features + removed it from the languages list 2023-11-23 22:18:32 +01:00
pnpm-lock.yaml Added GFLM features + removed it from the languages list 2023-11-23 22:18:32 +01:00
postcss.config.js wip 2023-10-29 17:25:22 +01:00
README.md Updated "about" page 2023-11-26 18:45:16 +01:00
svelte.config.js wip 2023-10-29 17:25:22 +01:00
tailwind.config.js Preview & editor 2023-11-24 18:15:30 +01:00
tsconfig.json Formatting 2023-11-26 17:24:21 +01:00
vite.config.ts wip 2023-10-29 17:25:22 +01:00

Paste

A no-database, no-backend pastebin-like service. All the data is stored in the url.

This is a rewrite of https://nopaste.boris.sh/, which is a rewrite of https://topaz.github.io/paste/

More information on this self-hosted "about" page

NoPaste is great for sharing code snippets on various platforms.

These are the maximum link lengths on some apps and browsers.

App Max length Notes
Mastodon None? Not specified in the docs
Reddit 10,000
Twitter 4,088
Slack 4,000
Discord 4,000 4,000 is the whole message limit. Longer messages are converted into attachements
QR Code 2,610
Bitly 2,048
Browser Max length Notes
Google Chrome (win) 32,779 (mac) 10,000 Will not display, but larger links work
Firefox >64,000
Microsoft Edge 2,083 Anything over 2083 will fail
Android 8,192
Safari Lots

The safest limit to make sure your Paste link works everywhere seems to be 2,083.

TODO

  • Use brotli
  • Stay compatible with original lzma-compressed urls
  • Have a read-only view with nice colors for code blocks
  • Use CodeMirror 6
  • 100% self-contained, no dependance on jsdeliver

Build

$ pnpm install
$ pnpm build

License

GNU GPLv3