Menu

Spacebin: a lightweight, self-hosted pastebin server in Go (JS-free, encrypted pastes)

Reading 0:00
15s threshold

Hi all,

I wanted to share a project I've been working on for a while: an open-source pastebin server written in Go. It started as a hastebin fork, but I slowly rewrote everything in Go and added a bunch more for features.

I started building it after hastebin fell into a state of disrepair because I wanted something with a clean UI that was easy to use and reliable. It's a single binary or Docker image, and just needs a database besides that. Everything happens server side, so it's fully functional without JavasSript. The only exception is encrypted pastes, because those are encrypted in your browser.

Features

Syntax highlighting for most popular languages, plus raw text mode

Password-protected encrypted pastes: AES-256-GCM in the browser, so the server never sees the plaintext or the password

Collections: share several pastes under one link, with tabs

Reader mode (renders Markdown, wraps text)

Optional accounts so users can edit or delete their pastes

Basic Auth for fully private instances

Opt-in…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.