Skip to main content

MSK Paste

A self-hosted, privacy-friendly pastebin alternative — part of the MSK ecosystem alongside MSK Shortener.


What is MSK Paste?

MSK Paste is a drop-in alternative to Pastebin or Hastebin for personal and team use. It is built for sharing code snippets, logs, and configuration files — without analytics, tracking cookies, or user accounts.

The hosted instance at paste.msk-scripts.de is free to use. If you want full control over your data, you can also self-host it on your own server (see Installation).


Features

  • Syntax highlighting for 30+ languages via Shiki (VS Code grammars, rendered server-side)
  • Password protection with bcrypt (cost 12)
  • Expiration dates from 10 minutes up to 1 year
  • Burn after read — paste is automatically deleted after the first view
  • Custom paste IDs (4–32 chars, [a-zA-Z0-9_-])
  • Raw view (/raw/:id) and download (/dl/:id) with proper file extension
  • Delete tokens — remove pastes without an account
  • REST API for CLI tools and automation
  • Bilingual UI (German / English) with cookie-based language switching
  • Public statistics page with anonymous aggregate data
  • No tracking, no analytics, no GeoIP

Supported languages

plaintext, bash, shell, powershell,
c, cpp, csharp, go, java, kotlin, rust, swift,
javascript, typescript, jsx, tsx,
python, ruby, php, perl,
html, css, scss, sass,
json, yaml, toml, xml,
sql, graphql, markdown, dockerfile, lua, diff

If you need an additional language, please open an issue.


Tech stack

LayerTechnology
FrameworkNext.js 15 (App Router)
LanguageTypeScript (strict)
DatabaseMariaDB (via mysql2)
StylingTailwind CSS + MSK design tokens
ValidationZod 4
i18nnext-intl v4
Syntax highlightingShiki
Passwordsbcryptjs (cost 12)
Web serverApache2 (reverse proxy)
Process managersystemd

Where to go next

  • Installation — Self-host MSK Paste on your own Debian/Ubuntu server
  • Usage — Walkthrough of creating, viewing, and managing pastes
  • REST API — Programmatic access for scripts and CLI tools
  • Privacy & Security — How your data is (and isn't) stored
  • FAQ — Common questions and troubleshooting

info

Questions or feedback? Join the Discord or open an issue on GitHub.