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

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 Services

asciinema
Command-line terminal session recorder and web player
Open-source CLI for recording, replaying and live-streaming terminal sessions using lightweight asciicast files and an embeddable web player.

PrivateBin
Zero-knowledge encrypted pastebin with browser-side AES encryption
PrivateBin is a minimalist zero-knowledge pastebin that encrypts and decrypts pastes in the browser, with optional passwords, expiration, discussions, and file uploads.
MicroBin
Secure pastebin for text and file sharing with URL shortening
MicroBin is a lightweight, secure pastebin for sharing text, files, and short URLs with optional encryption, expiration controls, and raw file serving.

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/H...

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.


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.
JavaScript
Go
HTML
Docker
Tailwind CSS