Skip to content

OTS

Self-hosted one-time secret sharing with in-browser AES-256 encryption

Permissive (OSI) · Apache-2.0
  • Self-hosted

Listed by , founder & editor

85

Health

Thriving

Overview

Stars

815

Last commit

today

Nov 2026

Repository age

9 years

since Aug 2017

Latest version

v1.24.0

Nov 2026

Contributors

–

6 active in 90 days

Releases

15

last 12 months

Language

Go

OTS is a server for sharing secrets through links that work once. Your browser encrypts the secret with 256-bit AES before it is sent. The link carries the secret's ID and the password, and the password never reaches the server. The server therefore cannot realistically decrypt what it stores, and it deletes each secret on first read.

It is written in Go and ships as a release binary and as a Docker image at ghcr.io/luzifer/ots. By default it listens on port 3000. Storage can be in memory, which is wiped on restart, or Redis. You can set a secret expiry in seconds. A separate command line client, ots-cli, creates and fetches secrets in scripts and can attach files.

It is Apache-2.0 licensed and has been developed since 2017. It fits the same use as hosted one-time secret services, with the difference that you run the server yourself.

Who it's for

Sysadmins sending credentials to colleagues or customers

A link that burns after one read keeps passwords out of chat history and email.

Skip if: You need audit logs, accounts and team permissions around shared secrets.

Teams that script secret handoff

ots-cli reads from STDIN and prints a URL, so it fits shell scripts.

Skip if: You need a full secrets manager with rotation and access policies.

Privacy-focused self-hosters

A single Go binary or container with optional Redis is easy to run.

Skip if: You do not want to maintain a server and would rather use a hosted service.

The problem it solves

Sending a password by email or chat leaves a readable copy in the history. You want the recipient to see it once and the server to learn nothing. OTS encrypts in the browser and deletes the secret after the first read.

Strengths

  • Encryption happens in the browser, so the server never sees plain text
  • Secrets are deleted on first read
  • Ships as a Go binary or Docker image
  • Optional Redis backend and configurable expiry
  • ots-cli supports scripting and file attachments

Trade-offs

  • In-memory storage loses all secrets on restart
  • Not a secrets manager: no rotation or access policies
  • Default expiry is none unless you set SECRET_EXPIRY
  • Some customization is documented only in the wiki

Self-host OTS

Self-hostable
Yes
Docker Compose
The repository ships a Compose file

Frequently asked questions

Can I self-host OTS?

Yes. Download a release or pull ghcr.io/luzifer/ots, then open http://localhost:3000/.

How is it licensed?

Apache-2.0.

Does the server see my secret?

No. The secret is encrypted in the browser, and the password stays in the link, not on the server.

What storage does it support?

In-memory storage or Redis.

Can I use it from scripts?

Yes. ots-cli has create and fetch commands that work with STDIN and STDOUT.

Similar tools in Secrets management

Keyshade

Secrets management

Self-hostable secrets manager that syncs encrypted config to running apps

772 266 24 days ago Active MIT

certgen

Secrets management

Command-line tool that generates and stores TLS certificates for Cilium components

31 18 today Thriving Apache-2.0

Sup3rS3cretMes5age

Secrets management

Self-hosted one-time secret sharing service backed by HashiCorp Vault

569 83 yesterday Active MIT

FlashPaper

Secrets management

Self-hosted one-time secret sharing with zero-knowledge encryption and no database setup

530 71 33 days ago Active MIT

Shelve

Secrets management

Self-hostable secrets manager with a CLI for teams that outgrew shared .env files

465 42 yesterday Thriving Apache-2.0

Shhh

Secrets management

Small Flask app for sharing one-time encrypted secrets by link and passphrase

420 31 2 months ago Slowing MIT