# CloakShare > Open-source API for secure document and video sharing. Tokenized links with dynamic watermarks, email gates, expiry, and per-page analytics. Self-hostable DocSend alternative. ## What CloakShare Does CloakShare is an API-first platform for sharing documents and videos securely. It renders documents on HTML5 Canvas (not DOM text), making content resistant to copy/paste, downloading, and screenshot tools. Each viewer gets a dynamically watermarked copy with their email embedded. It tracks per-page engagement, supports HLS video streaming, and integrates into any app via Web Components or React. ## Free Tools (no signup required) - Password Generator: /tools/password-generator — Cryptographically secure passwords via crypto.getRandomValues() with real-time entropy + crack-time estimates against bcrypt @ 10,000 H/s. 5-tier strength meter, charset/length options. Browser-side only; no network requests. - All free tools: /tools ## Key Capabilities - **Canvas-Based Rendering**: Documents render on HTML5 Canvas, not as selectable DOM text. Prevents easy copying, printing, and downloading. - **Dynamic Watermarks**: Text overlay on every page with template variables (viewer email, date, session ID). Server-side compositing, not removable via DevTools. - **Email Gates**: Require viewers to verify their email before accessing documents. Server-side verification. - **Per-Page Analytics**: Track which pages were viewed, time on each page, scroll depth, viewer email, device, and location. - **HLS Video Streaming**: Adaptive bitrate streaming for MP4, MOV, and WebM files. Transcoded to 720p and 1080p. - **Embeddable Viewer**: Shadow DOM Web Component that works in React, Vue, Svelte, Angular, and vanilla HTML. Free for PDF and images. - **Webhooks**: Real-time HTTP notifications with HMAC-SHA256 signatures for 8 event types. - **Self-Hostable**: Run on your own server with Docker. MIT license. SQLite database, any S3-compatible storage. - **REST API**: Full API for links, uploads, analytics, webhooks, teams, and custom domains. - **SDKs**: Node.js, Python, and Go SDKs with TypeScript types. ## Use Cases - Fundraising: Share pitch decks with investors, track which slides they read, watermark each viewer - Sales: Send proposals that expire, get notified when prospects open pricing pages - Training: Distribute course materials that cannot be downloaded or reshared - Legal: Share contracts with email-verified access and full audit trail ## Pricing - **Free**: $0/month, 50 links, 500 views - **Starter**: $29/month, 500 links, 10,000 views, office docs, password protection - **Growth**: $99/month, 2,500 links, 25,000 views, video support, custom domains - **Scale**: $299/month, 10,000 links, 100,000 views, unlimited video, white-label ## Competitive Advantages - Only open-source DocSend alternative with canvas rendering and video support - API-first with npm packages (viewer, React wrapper, SDK) - No per-seat pricing (DocSend charges $45/user/month) - MIT license, self-host for free forever - Embeddable viewer works without an API key for PDF/images ## Supported File Types - Documents: PDF, DOCX, PPTX, XLSX, ODP, ODS, ODT, CSV - Video: MP4, MOV, WebM, MKV, AVI - Images: PNG, JPG, WebP, GIF, BMP, SVG ## Links - Homepage: https://cloakshare.dev - Documentation: https://docs.cloakshare.dev - API Reference: https://docs.cloakshare.dev/api - GitHub: https://github.com/cloakshare/cloakshare - npm Viewer: https://www.npmjs.com/package/@cloakshare/viewer - npm SDK: https://www.npmjs.com/package/@cloakshare/sdk ## Contact - Email: hello@cloakshare.dev - GitHub Issues: https://github.com/cloakshare/cloakshare/issues - Discord: https://discord.gg/cloakshare