Chiyogami

Chiyogami

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

70stars
4forks
Last commit: 19d ago
Repo age: 1y old
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 Services

asciinema

asciinema

Command-line terminal session recorder and web player

16.7k
994
Last commit: 3d ago

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

Alternative to:
Screen Studio
Screen Studio
+1
PrivateBin

PrivateBin

Zero-knowledge encrypted pastebin with browser-side AES encryption

7.9k
953
Last commit: 11d ago

PrivateBin is a minimalist zero-knowledge pastebin that encrypts and decrypts pastes in the browser, with optional passwords, expiration, discussions, and file uploads.

Alternative to:
Pastebin
Pastebin
+5
MicroBin

MicroBin

Secure pastebin for text and file sharing with URL shortening

4k
257
Last commit: 4d ago

MicroBin is a lightweight, secure pastebin for sharing text, files, and short URLs with optional encryption, expiration controls, and raw file serving.

Alternative to:
Pastebin
Pastebin
+17
Opengist

Opengist

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

2.9k
145
Last commit: 20d ago

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

Alternative to:
Pastebin
Pastebin
+6
Onetime Secret

Onetime Secret

Self-destructing service for sharing single-use encrypted secrets

2.7k
422
Last commit: 3d ago

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

Alternative to:
Onetime Secret
Onetime Secret
+6
ByteStash

ByteStash

Self-hosted web app for storing and organizing code snippets

2k
95
Last commit: 1mo ago

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.

Alternative to:
SnippetsLab
SnippetsLab
+2