Chiyogami

Website

Self-hosted pastebin with client-side encryption and REST API

80 stars 4 forks last commit first released BSD-3-Clause

Actively maintained

Last commit 21 Jul 2026.

Chiyogami screenshot

Chiyogami is a modern, self-hosted pastebin that provides encrypted and unencrypted pastes, user accounts, configurable expirations and a REST API for programmatic use. It combines a Go-based backend with a responsive JavaScript frontend and is distributed as a Docker image for easy deployment.

Key Features

  • Client-side encryption using the WebCrypto API for encrypted pastes; server does not store user passwords.
  • Configurable paste expiration (hours, days, never) and visibility modes: Public, Unlisted, Private.
  • User accounts and session-based paste ownership with endpoints for create, fetch, delete and instance info.
  • Syntax highlighting and Markdown rendering in the browser (uses HighlightJS and Marked for formatting).
  • Lightweight SQLite storage and built-in rate limiting to mitigate abuse.
  • Docker-ready distribution and example docker-compose; optional pre-built container image available.

Use Cases

  • Share code snippets or notes with configurable lifetime and optional client-side encryption.
  • Provide a small internal or team paste service for temporary file/text sharing behind a reverse proxy.
  • Integrate creation and retrieval of short-lived pastes into scripts, CI jobs or automation via the REST API.

Limitations and Considerations

  • Client-side encryption depends on the browser WebCrypto implementation; losing the encryption key/password may render encrypted pastes unrecoverable.
  • Uses SQLite for storage which is suitable for small-to-medium deployments but may be a scaling constraint for high-volume instances.
  • The README notes a /health endpoint that should be protected when exposed publicly to avoid information disclosure or abuse.

Chiyogami is a compact, developer-focused pastebin designed for easy self-hosting, quick sharing and scriptable workflows. It emphasizes privacy via client-side encryption and simple deployment via Docker.

Categories:

Tags:

Tech Stack:

Share:

Similar to Chiyogami

Onetime Secret logo

Onetime Secret

Self-destructing service for sharing single-use encrypted secrets

2.9k
451
Last commit

Open-source web and API service to create encrypted, single-view links for sharing secrets with configurable expiry and optional passphrase protection.

MITActively maintained
Alternative to:
Onetime Secret logo
Onetime Secret
+6
Opengist logo

Opengist

Self-hosted Git-backed pastebin and Gist-compatible code snippet manager

3.3k
186
Last commit

Self-hosted pastebin powered by Git. Create, share and manage public, unlisted or private code snippets with syntax highlighting, Git push/pull, OAuth logins and Docker/Helm deployment.

AGPL-3.0Actively maintained
Alternative to:
Pastebin logo
Pastebin
+6

BinPastes

Self-hosted pastebin with search, expiry, and client-side encryption

18
1
Last commit

Lightweight, self-hostable pastebin (Java backend + TypeScript frontend) with full-text search, expiry, adjustable visibility and client-side encryption.

Apache-2.0Actively maintained
Alternative to:
Pastebin logo
Pastebin
+5
ByteStash logo

ByteStash

Self-hosted web app for storing and organizing code snippets

2.5k
121
Last commit

ByteStash is a self-hosted snippet manager for creating, editing, and filtering code snippets with secure storage in SQLite and an optional API with Swagger UI.

GPL-3.0Actively maintained
Alternative to:
SnippetsLab logo
SnippetsLab
+2

phpBB

Open-source bulletin board and forum software

2.1k
1k
Last commit

phpBB is an open-source forum (bulletin board) platform in PHP for building and managing community discussion boards with extensible theming and add-ons.

GPL-2.0Actively maintained
Alternative to:
Discourse logo
Discourse
+8

EveryDocs

Self-hosted Ruby on Rails document management server for PDFs

404
24
Last commit

Ruby on Rails document management server for uploading, organizing, encrypting and full-text searching PDF documents. Provides a REST API and mobile-friendly web UI.

GPL-3.0Actively maintained
Alternative to:
DocuWare logo
DocuWare
+7