{"id":41697639,"url":"https://github.com/raullenchai/vnsh","last_synced_at":"2026-02-19T01:08:28.595Z","repository":{"id":334416137,"uuid":"1141294134","full_name":"raullenchai/vnsh","owner":"raullenchai","description":"The Ephemeral Dropbox for AI. Host-blind, client-side encrypted sharing for logs, diffs, and images. Vaporizes in 24h.","archived":false,"fork":false,"pushed_at":"2026-02-10T03:30:38.000Z","size":264,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-02-10T07:35:45.013Z","etag":null,"topics":["claude","cli","encryption","file-sharing","host-blind","mcp","privacy"],"latest_commit_sha":null,"homepage":"https://vnsh.dev","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/raullenchai.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-01-24T15:56:08.000Z","updated_at":"2026-02-10T03:30:42.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/raullenchai/vnsh","commit_stats":null,"previous_names":["raullenchai/vnsh"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/raullenchai/vnsh","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raullenchai%2Fvnsh","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raullenchai%2Fvnsh/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raullenchai%2Fvnsh/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raullenchai%2Fvnsh/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/raullenchai","download_url":"https://codeload.github.com/raullenchai/vnsh/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raullenchai%2Fvnsh/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29437360,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-14T03:34:37.767Z","status":"ssl_error","status_checked_at":"2026-02-14T03:34:09.092Z","response_time":53,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["claude","cli","encryption","file-sharing","host-blind","mcp","privacy"],"created_at":"2026-01-24T20:51:24.077Z","updated_at":"2026-02-14T21:05:15.036Z","avatar_url":"https://github.com/raullenchai.png","language":"TypeScript","funding_links":[],"categories":["Developer Tools"],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://vnsh.dev/logo.svg\" alt=\"vnsh logo\" width=\"120\" /\u003e\n\u003c/p\u003e\n\n\u003ch1 align=\"center\"\u003evnsh\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cstrong\u003eThe Ephemeral Dropbox for AI\u003c/strong\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/raullenchai/vnsh/actions\"\u003e\u003cimg src=\"https://img.shields.io/github/actions/workflow/status/raullenchai/vnsh/test.yml?branch=main\u0026style=flat-square\" alt=\"Build Status\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://www.npmjs.com/package/vnsh-cli\"\u003e\u003cimg src=\"https://img.shields.io/npm/v/vnsh-cli?style=flat-square\u0026label=vnsh-cli\" alt=\"npm vnsh-cli\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://www.npmjs.com/package/vnsh-mcp\"\u003e\u003cimg src=\"https://img.shields.io/npm/v/vnsh-mcp?style=flat-square\u0026label=vnsh-mcp\" alt=\"npm vnsh-mcp\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/raullenchai/upload-to-vnsh\"\u003e\u003cimg src=\"https://img.shields.io/badge/GitHub%20Action-upload--to--vnsh-green?style=flat-square\u0026logo=githubactions\" alt=\"GitHub Action\"\u003e\u003c/a\u003e\n  \u003ca href=\"LICENSE\"\u003e\u003cimg src=\"https://img.shields.io/badge/license-MIT-blue?style=flat-square\" alt=\"License\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://vnsh.dev\"\u003eWebsite\u003c/a\u003e •\n  \u003ca href=\"#quick-start\"\u003eQuick Start\u003c/a\u003e •\n  \u003ca href=\"#how-it-works\"\u003eHow It Works\u003c/a\u003e •\n  \u003ca href=\"#self-hosting\"\u003eSelf-Hosting\u003c/a\u003e •\n  \u003ca href=\"#api-reference\"\u003eAPI\u003c/a\u003e\n\u003c/p\u003e\n\n---\n\n## What is vnsh?\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://vhs.charm.sh/vhs-3Ex3csS9i3iMvjOVO7WJc5.gif\" alt=\"vnsh demo\" width=\"800\" /\u003e\n\u003c/p\u003e\n\n**Stop pasting walls of text into Claude.** Pipe your logs, diffs, and images into a secure, host-blind URL. The server sees nothing. The data vaporizes in 24 hours.\n\n```bash\n# Pipe anything to vnsh, get a secure link\ngit diff | vn\n# https://vnsh.dev/v/aBcDeFgHiJkL#R_sI4DHZ_6jNq6yqt2ORRDe9QZ5xQB6hIRLWHVFa8v8\n```\n\n### Handles any context your AI needs:\n\n- 🖼️ **Screenshots** — UI bugs, error dialogs, terminal output\n- 📜 **Logs** — 5000+ lines of server errors (too long for copy-paste)\n- 🔄 **Git Diffs** — Complex PR reviews, multi-file changes\n- 📦 **Binaries** — PDFs, CSVs, config files, database dumps\n- 🔧 **Debug Context** — Stack traces, environment dumps, crash reports\n\n## Philosophy\n\n\u003e *\"Built for the ephemeral nature of AI workflows. Once your session is done, the data should be too.\"*\n\nUnlike Dropbox or pastebins, vnsh implements a **Zero-Access Architecture** with automatic vaporization:\n\n| Layer | What Happens |\n|-------|--------------|\n| **Encryption** | AES-256-CBC encryption happens entirely on your device |\n| **Transport** | Decryption keys travel only in the URL fragment (`#secret`) — never sent to servers |\n| **Storage** | Server stores encrypted binary blobs with zero knowledge of contents |\n| **Vaporization** | Data auto-destructs after 24 hours. No history. No leaks. |\n\n## Quick Start\n\n### Option 1: Web Upload\n\nVisit **[vnsh.dev](https://vnsh.dev)**, drag \u0026 drop a file, or paste text. Get an encrypted link instantly.\n\n### Option 2: CLI Installation\n\n**NPM** (recommended for Node.js users):\n```bash\nnpm install -g vnsh-cli\n```\n\n**Homebrew** (macOS/Linux):\n```bash\nbrew tap raullenchai/vnsh\nbrew install vnsh\n```\n\n**Shell script** (cross-platform: macOS, Linux, WSL, Git Bash):\n```bash\ncurl -sL https://vnsh.dev/i | sh\n```\n\n### CLI Usage\n\n```bash\n# Upload a file\nvn secrets.env\n\n# Pipe from stdin\ncat crash.log | vn\ndocker logs app | vn\ngit diff HEAD~5 | vn\n\n# Read/decrypt a URL\nvn read \"https://vnsh.dev/v/aBcDeFgHiJkL#R_sI4DHZ...\"\n\n# Custom expiry (1-168 hours)\nvn --ttl 1 temp-file.txt   # expires in 1 hour\n\n# Show version and help\nvn --version\nvn --help\n```\n\n### Option 3: Claude Code (MCP Integration)\n\n**Native to Claude Code.** Unlike Dropbox, vnsh has a first-party MCP server. Claude can \"see\" inside your encrypted links without leaving the terminal.\n\nCreate `.mcp.json` in your project root:\n\n```json\n{\n  \"mcpServers\": {\n    \"vnsh\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"vnsh-mcp\"]\n    }\n  }\n}\n```\n\nRestart Claude Code after adding the config. Now Claude can:\n- **Read** vnsh links automatically when you paste them\n- **Share** large text outputs via `vnsh_share` tool\n- **Share files** (images, PDFs, binaries) via `vnsh_share_file` tool\n\n### Option 4: Zero-Install (Remote Servers)\n\n**No installation needed.** Pipe anything from any server with just `curl` and `openssl`:\n\n```bash\n# One-liner: encrypt and upload from any machine\ncat error.log | bash \u003c(curl -sL vnsh.dev/pipe)\n# https://vnsh.dev/v/aBcDeFgHiJkL#R_sI4DHZ_6jNq6yqt2ORRDe9...\n\n# Works with any command\nkubectl logs pod/crash | bash \u003c(curl -sL vnsh.dev/pipe)\ndocker logs app 2\u003e\u00261 | bash \u003c(curl -sL vnsh.dev/pipe)\njournalctl -u nginx --since \"1 hour ago\" | bash \u003c(curl -sL vnsh.dev/pipe)\n\n# Custom TTL (hours)\ncat secrets.env | bash \u003c(curl -sL vnsh.dev/pipe?ttl=1)\n```\n\nPerfect for SSH sessions, CI runners, Docker containers — anywhere you can't install tools.\n\n### Option 5: Chrome Extension\n\n**One-click encrypted debug bundles for AI.** Share text, screenshots, and console errors directly from your browser.\n\n- **Right-click** any selected text → **Share via vnsh**\n- **`Cmd+Shift+D`** → **AI Debug Bundle** (screenshot + console errors + selected text + URL, all encrypted)\n- **Hover** over vnsh links on any page → see decrypted preview tooltip\n\nBuild from source or install from the Chrome Web Store (pending review):\n\n```bash\ncd extension \u0026\u0026 npm install \u0026\u0026 npm run build\n# Load dist/ as unpacked extension in chrome://extensions/\n```\n\nSee [extension/README.md](extension/README.md) for full documentation.\n\n### Option 6: GitHub Action (CI/CD)\n\n**Debug CI failures with Claude in one click.** When your CI fails, automatically upload logs and post a secure link to your PR.\n\n```yaml\n- name: Debug with vnsh\n  if: failure()\n  uses: raullenchai/upload-to-vnsh@v1\n  with:\n    file: test.log\n  env:\n    GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n```\n\nThe action will post a comment to your PR:\n\n\u003e 🔍 **Debug with Claude**\n\u003e\n\u003e CI logs uploaded securely. [View Logs](https://vnsh.dev/v/...) | Paste link to Claude for instant analysis\n\nSee [upload-to-vnsh](https://github.com/raullenchai/upload-to-vnsh) for full documentation.\n\n## How It Works\n\n```\n┌──────────────────────────────────────────────────────────────────────────┐\n│                              YOUR DEVICE                                  │\n│  ┌─────────┐    ┌──────────────┐    ┌─────────────────────────────────┐  │\n│  │  Data   │───▶│ AES-256-CBC  │───▶│  Encrypted Blob + URL Fragment  │  │\n│  └─────────┘    │  Encryption  │    │  https://vnsh.dev/v/id#k=...    │  │\n│                 └──────────────┘    └─────────────────────────────────┘  │\n└──────────────────────────────────────────────────────────────────────────┘\n                                           │\n                           Only encrypted blob sent to server\n                           (key stays in URL fragment, never transmitted)\n                                           ▼\n┌──────────────────────────────────────────────────────────────────────────┐\n│                           VNSH SERVER (BLIND)                             │\n│                                                                           │\n│   Receives: [encrypted binary blob]                                       │\n│   Stores:   [encrypted binary blob]                                       │\n│   Knows:    upload time, size, expiry                                     │\n│   Cannot:   decrypt, identify content type, read keys                     │\n│                                                                           │\n└──────────────────────────────────────────────────────────────────────────┘\n```\n\n### URL Structure (v2 — compact format)\n\n```\nhttps://vnsh.dev/v/aBcDeFgHiJkL#R_sI4DHZ_6jNq6yqt2ORRDe9QZ5xQB6hIRLWHVFa8v8jYCFqgQIbsRJrtJze_nL5\n                  └────────────┘└────────────────────────────────────────────────────────────────────┘\n                  12-char ID     64-char base64url secret (key+iv, never sent to server)\n```\n\nThe v2 format reduces URL length by ~40% (from ~160 to ~95 characters). Legacy v1 URLs (`#k=...\u0026iv=...`) are still fully supported.\n\n## Self-Hosting\n\nvnsh runs on Cloudflare Workers with R2 storage. Deploy your own instance:\n\n### Prerequisites\n- [Cloudflare account](https://cloudflare.com) with Workers \u0026 R2 enabled\n- [Wrangler CLI](https://developers.cloudflare.com/workers/wrangler/)\n\n### Deploy\n\n```bash\n# Clone the repository\ngit clone https://github.com/raullenchai/vnsh.git\ncd vnsh/worker\n\n# Install dependencies\nnpm install\n\n# Create R2 bucket\nwrangler r2 bucket create vnsh-store\n\n# Deploy\nwrangler deploy\n```\n\n### Configuration\n\nEdit `wrangler.toml` to customize:\n\n```toml\nname = \"vnsh\"\n\n[[r2_buckets]]\nbinding = \"VNSH_STORE\"\nbucket_name = \"vnsh-store\"  # Your R2 bucket name\n\n[[kv_namespaces]]\nbinding = \"VNSH_META\"\nid = \"your-kv-namespace-id\"  # Create with: wrangler kv namespace create VNSH_META\n```\n\n## API Reference\n\n### `POST /api/drop`\n\nUpload an encrypted blob.\n\n```bash\ncurl -X POST https://vnsh.dev/api/drop \\\n  -H \"Content-Type: application/octet-stream\" \\\n  --data-binary @encrypted.bin\n```\n\n**Query Parameters:**\n| Parameter | Type | Description |\n|-----------|------|-------------|\n| `ttl` | number | Time-to-live in hours (1-168, default: 24) |\n| `price` | number | Payment required to access (x402 protocol) |\n\n**Response:**\n```json\n{\n  \"id\": \"a1b2c3d4-5678-90ab-cdef-1234567890ab\",\n  \"expires\": \"2025-01-25T00:00:00.000Z\"\n}\n```\n\n### `GET /api/blob/:id`\n\nDownload an encrypted blob.\n\n```bash\ncurl https://vnsh.dev/api/blob/a1b2c3d4-5678-90ab-cdef-1234567890ab\n```\n\n**Response Codes:**\n| Code | Description |\n|------|-------------|\n| 200 | Success — returns encrypted blob |\n| 402 | Payment required |\n| 404 | Not found |\n| 410 | Expired |\n\n### `GET /v/:id`\n\nWeb viewer (serves HTML directly to preserve URL fragment with encryption keys).\n\n### `GET /i`\n\nCLI installation script.\n\n### `GET /pipe`\n\nZero-install pipe upload script. Returns a shell script that encrypts stdin and uploads it.\n\n```bash\ncat file.log | bash \u003c(curl -sL vnsh.dev/pipe)\n```\n\nQuery Parameters:\n\n| Parameter | Type   | Description                              |\n|-----------|--------|------------------------------------------|\n| `ttl`     | number | Time-to-live in hours (1-168, default: 24) |\n\n### `GET /claude`\n\nClaude Code MCP integration installer script.\n\n## Security Model\n\n### What vnsh Protects Against\n\n✅ **Server Compromise** — Even with full server access, attackers cannot decrypt blobs\n✅ **Database Leaks** — Stored data is indistinguishable from random noise\n✅ **Traffic Analysis** — No content-type information stored\n✅ **Subpoenas** — Server operator cannot produce plaintext (doesn't have keys)\n\n### What vnsh Does NOT Protect Against\n\n❌ **URL Sharing** — Anyone with the full URL (including `#fragment`) can decrypt\n❌ **Client Compromise** — Malware on your device can intercept before encryption\n❌ **MITM on Upload Page** — An attacker serving malicious JavaScript could intercept\n\n### Recommendations\n\n- Use vnsh over HTTPS only\n- Don't share full URLs in public channels (Slack, Discord, Twitter)\n- For maximum security, self-host the worker\n\n## Project Structure\n\n```\nvnsh/\n├── worker/          # Cloudflare Worker (storage API + web viewer)\n│   ├── src/\n│   │   └── index.ts # Main worker code\n│   └── test/\n│       └── api.test.ts\n├── mcp/             # MCP Server (Claude Code integration)\n│   ├── src/\n│   │   ├── index.ts # MCP tool handlers\n│   │   └── crypto.ts # Encryption utilities\n│   └── package.json\n├── extension/       # Chrome Extension (AI debug sharing)\n│   ├── src/\n│   │   ├── lib/     # Shared crypto, API, storage\n│   │   ├── background/ # Service worker\n│   │   ├── content/    # Link detector + tooltip\n│   │   └── popup/      # Extension popup UI\n│   └── tests/\n├── cli/\n│   ├── vn           # Bash CLI script\n│   ├── npm/         # NPM package (vnsh-cli)\n│   │   ├── src/\n│   │   │   ├── cli.ts\n│   │   │   └── crypto.ts\n│   │   └── package.json\n│   └── install.sh   # Shell installer\n├── homebrew-tap/    # Homebrew formula\n│   └── Formula/\n│       └── vnsh.rb\n└── docs/            # Documentation\n```\n\n## Packages\n\n| Package | Description | Install |\n|---------|-------------|---------|\n| [vnsh-cli](https://www.npmjs.com/package/vnsh-cli) | CLI tool | `npm i -g vnsh-cli` |\n| [vnsh-mcp](https://www.npmjs.com/package/vnsh-mcp) | MCP server for Claude | `npx vnsh-mcp` |\n| [vnsh extension](extension/) | Chrome Extension | [Chrome Web Store](https://chromewebstore.google.com/detail/vnsh) |\n| [upload-to-vnsh](https://github.com/raullenchai/upload-to-vnsh) | GitHub Action for CI/CD | `uses: raullenchai/upload-to-vnsh@v1` |\n| [homebrew-vnsh](https://github.com/raullenchai/homebrew-vnsh) | Homebrew tap | `brew install raullenchai/vnsh/vnsh` |\n\n## Development\n\n```bash\n# Clone\ngit clone https://github.com/raullenchai/vnsh.git\ncd vnsh\n\n# Install dependencies\nnpm install\ncd worker \u0026\u0026 npm install\ncd ../mcp \u0026\u0026 npm install\n\n# Run tests\nnpm test                          # Worker + MCP tests\ncd extension \u0026\u0026 npm test          # Extension tests (48 tests, 93%+ coverage)\ncd extension \u0026\u0026 npm run test:cov  # Extension tests with coverage\n\n# Start local worker\ncd worker \u0026\u0026 npm run dev\n\n# Build MCP server\ncd mcp \u0026\u0026 npm run build\n\n# Build extension\ncd extension \u0026\u0026 npm install \u0026\u0026 npm run build\n# Load extension/dist/ as unpacked in chrome://extensions/\n```\n\n## Contributing\n\nContributions are welcome! Please read our [Contributing Guide](CONTRIBUTING.md) before submitting a PR.\n\n### Development Workflow\n\n1. Fork the repository\n2. Create a feature branch (`git checkout -b feature/amazing-feature`)\n3. Run tests (`npm test`)\n4. Commit changes (`git commit -m 'Add amazing feature'`)\n5. Push to branch (`git push origin feature/amazing-feature`)\n6. Open a Pull Request\n\n## License\n\nMIT License — see [LICENSE](LICENSE) for details.\n\n---\n\n\u003cp align=\"center\"\u003e\n  \u003csub\u003eThe Ephemeral Dropbox for AI. Your context. Your keys. Then it's gone.\u003c/sub\u003e\n\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraullenchai%2Fvnsh","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fraullenchai%2Fvnsh","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraullenchai%2Fvnsh/lists"}