The Ephemeral Dropbox for AI - CLI tool for encrypted file sharing
npm install vnsh-cliThe Ephemeral Dropbox for AI - CLI tool for encrypted file sharing.


- End-to-end encryption: AES-256-CBC encryption happens locally
- Host-blind: Server never sees your encryption keys
- Ephemeral: Data auto-destructs after 24 hours (configurable)
- Simple: Pipe anything, get a shareable URL
``bash`
npm install -g vnsh-cli
`bashPipe text
echo "hello world" | vn
$3
`bash
Decrypt and display content from a vnsh URL
vn read "https://vnsh.dev/v/abc123#k=...&iv=..."
`$3
`
-t, --ttl Set expiry time (default: 24, max: 168)
-p, --price Set price for x402 payment
-H, --host Override API host
-l, --local Output encrypted blob locally (no upload)
-v, --version Show version
-h, --help Show help
`Programmatic Usage
`typescript
import { share, read, readString } from 'vnsh-cli';// Share content
const url = await share('Hello, World!');
console.log(url);
// https://vnsh.dev/v/abc123#k=...&iv=...
// Share with options
const url2 = await share(buffer, { ttl: 1 }); // 1 hour expiry
// Read content as Buffer
const buffer = await read(url);
// Read content as string
const text = await readString(url);
`Environment Variables
-
VNSH_HOST - Override the default API host (default: https://vnsh.dev)Security
- Encryption keys are generated locally and never sent to the server
- Keys travel only in the URL fragment (
#k=...`), which is never transmitted to serversMIT