Haste Server

Haste Server

Haste Server is a simple and elegant self-hosted pastebin written in Node.js. Paste a snippet, get a short URL instantly, and share it with syntax highlighting already applied. The project became famous as the engine behind hastebin.com and remains one of the most popular lightweight pastebin servers for self-hosting.

Key Features

  • Instant sharing — Type or paste text, hit save, and receive a short link in seconds
  • Automatic syntax highlighting — Code is highlighted in the browser using the popular highlight.js library
  • Raw access — Every paste has a raw endpoint for clean retrieval by tools and scripts
  • REST API — Simple HTTP API for creating pastes programmatically from scripts or applications
  • CLI client — Companion haste-client lets you upload files and command output straight from the terminal
  • Lightweight deployment — Single Node.js service with an optional Redis or file-based storage backend

Why Use Haste Server?

Haste Server nails the core pastebin experience: fast, minimal, and pleasant to look at. It is a great fit when you want the classic hastebin workflow on your own infrastructure, with full control over retention and access. The active skyra-project fork keeps the original codebase maintained and compatible with modern Node.js versions.

Use Cases

  • Sharing code snippets with teammates during debugging sessions
  • Piping command output to a pastebin from the terminal via the CLI client
  • Building a quick paste endpoint for your own internal tools with the REST API
  • Self-hosting a fast pastebin for a community without heavy dependencies

Platform

Linux · macOS · Windows (Node.js)

Licence

MIT

Website

github.com/skyra-project/haste-server

Sign In

Register

Reset Password

Please enter your username or email address, you will receive a link to create a new password via email.