OtterSeal Documentation β

𦦠Zero-knowledge encrypted notes and secrets
π Try it now: Open OtterSeal Web App
What is OtterSeal? β
OtterSeal is a suite of packages for building zero-knowledge encrypted applications:
@otterseal/coreβ Cryptography library (AES-256-GCM + HKDF)@otterseal/cliβ Command-line tool for notes and secrets@otterseal/rest-apiβ Backend API for self-hosting
All encryption happens client-side. The server never sees your plaintext content or encryption keys.
Quick Start β
Using the CLI β
bash
# Create a secret
oseal secret send "This is secret"
# Read your notes
oseal note read "my-title"Using the Core Library β
typescript
import { deriveKey, encryptNote } from '@otterseal/core'
const key = await deriveKey('my-title')
const encrypted = await encryptNote('secret content', key)Self-Host the API β
bash
# See: @otterseal/rest-api deployment guideArchitecture β
βββββββββββββββββββββββββββββ
β Client (Browser/CLI) β
βββββββββββββββββββββββββββββ€
β @otterseal/core β
β β’ Web Crypto API β
β β’ HKDF key derivation β
β β’ AES-256-GCM encryption β
ββββββββββββββ¬βββββββββββββββ
β (encrypted)
β
ββββββββββββββββ
β REST API / β
β WebSockets β
ββββββββ¬ββββββββ
β
ββββββββββββββββ
β Database β
β (encrypted) β
ββββββββββββββββSecurity First β
- β Web Crypto API β Uses native browser cryptography (SubtleCrypto)
- β Client-side encryption β Keys never leave your device
- β AES-256-GCM β Industry-standard authenticated encryption
- β HKDF β Cryptographic key derivation with domain separation
- β No passwords β Titles are used directly (more convenient, same security)
- β
HashRouter Security β Secret links use URL fragments (
/#/send/...) so keys/UUIDs are never sent to the server - β Open source β Audit the code yourself
Credits & Inspiration β
OtterSeal was inspired by the simplicity of publicnote.com, aimed at bringing that same ease-of-use to a zero-knowledge encrypted environment.
Packages β
TIP
Each package is independent and can be used standalone or together.
- Core β Cryptography library with AES-256-GCM and HKDF
- CLI β Command-line tool for managing notes and creating secret links
- REST API β Backend API for self-hosting with WebSocket support
Need Help? β
Ready to try OtterSeal? π Go to Web App
Built with β€οΈ by JBot
