Spacebin: Pastebin with Syntax Highlighting

Run a self-hosted pastebin for your household and store code, notes or a wall of text, with syntax highlighting done on the server, so ordinary pastes open without JavaScript. Encrypted pastes are the exception: the browser locks them with a password before upload and the server keeps only ciphertext.

Pros and cons

Pros

  • Browser-encrypted pastes the server can't read1
  • Server-side code highlighting with no JavaScript2
  • Paste collections under one link3
  • Uploads with a single curl command4
  • Configurable expiry, size limits and ID formats5

Cons

  • Encrypted pastes lose editing, highlighting and reader mode6
  • Editing and deleting pastes need accounts, which are off by default7
  • Security patches stop at the latest minor release8

Compare with similar apps

Compare Spacebin with other productivity apps. Add or remove apps to see how they differ.

Requirement
Spacebin
PriceFreeFree
LicenceApache-2.0Zlib
Web UIYesYes
Docker Containers1 (app only)1 (app only)
DatabaseSQLite / MySQL / PostgreSQLfile only
Architecturex86 + ARMx86 + ARM
Tech stackGoPHP
DockerYesYes
Linux packageYes–

Common questions

Is Spacebin open source?

Yes. The source code is on GitHub under the Apache 2.0 licence, and a copy of it sits in the repo's LICENSE file.

Similar apps to Spacebin

PrivateBin

Paste text, code or a file (uploads are off by default) into this self-hosted pastebin and the browser encrypts it before it reaches your server, so the host stores ciphertext it cannot read. A link can carry a password, expire after a set time, or destroy the paste once someone opens it.

Free

AFFiNE

Write docs, track work in databases and sketch on a whiteboard, with workspaces synced through your own server.

Free + Paid

Anchor

Takes notes on a phone or in the browser and keeps working when the connection drops, syncing back to a server you host. Notes carry rich text, tags, attachments, reminders and version history, and notes move in and out as plain Markdown or come over from Google Keep.

Free

ArchiveBox

Keep a copy of the links you want to hold on to. ArchiveBox runs as a web archiver in a folder you choose, saving each page as HTML, PDF, PNG, WARC and text. New URLs can arrive from bookmarks, browser history, RSS feeds or a schedule.

Free

Baserow

Baserow turns Postgres into a no-code database you edit in the browser, with typed fields, filters and forms. Every table gets a REST API.

Free + Paid

BentoPDF

Merge, edit, convert and lock down PDFs in the browser. You self-host the toolkit, but your files never get uploaded anywhere.

Free

Blinko

Capture a thought in Blinko and it sits as a Markdown card you can tag, search and expand into a full note. The note app's AI search, tagging and chat run against Ollama on your own hardware, or a hosted model if you prefer.

Free + Paid

Calendar CE

A private calendar and task manager you host in one container, used in the browser or through an Android app built from the same repository. Events stay in the on-device store or on your own CalDAV server, so the container keeps no calendar data.

Free

Tags

Updated