Chiyogami
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 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:
Similar to Chiyogami

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


Opengist
Self-hosted Git-backed pastebin and Gist-compatible code snippet manager
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.
BinPastes
Self-hosted pastebin with search, expiry, and client-side encryption
Lightweight, self-hostable pastebin (Java backend + TypeScript frontend) with full-text search, expiry, adjustable visibility and client-side encryption.

ByteStash
Self-hosted web app for storing and organizing code snippets
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.
phpBB
Open-source bulletin board and forum software
phpBB is an open-source forum (bulletin board) platform in PHP for building and managing community discussion boards with extensible theming and add-ons.

EveryDocs
Self-hosted Ruby on Rails document management server for PDFs
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.




