MCPcopy
hub / github.com/CapSoftware/Cap

github.com/CapSoftware/Cap @cap-v0.5.4 sqlite

repository ↗ · DeepWiki ↗ · release cap-v0.5.4 ↗
7,115 symbols 19,776 edges 1,452 files 12 documented · 0%
README
<img width="150" height="150" src="https://github.com/CapSoftware/Cap/blob/main/apps/desktop/src-tauri/icons/Square310x310Logo.png" alt="Cap logo">

Cap

Beautiful, shareable screen recordings. Open source, fast, and built for teams that want to own their data.







<a href="https://cap.so">Website</a>
 |
<a href="https://cap.so/download">Download</a>
 |
<a href="https://cap.so/docs">Docs</a>
 |
<a href="https://cap.so/pricing">Pricing</a>
 |
<a href="https://cap.link/discord">Discord</a>







<a href="https://console.algora.io/org/CapSoftware/bounties?status=open">
    <img src="https://img.shields.io/endpoint?url=https%3A%2F%2Fconsole.algora.io%2Fapi%2Fshields%2FCapSoftware%2Fbounties%3Fstatus%3Dopen" alt="Open bounties">
</a>

Cap app preview

Cap is the open source alternative to Loom. It gives you fast screen recording, polished local editing, instant share links, comments, transcripts, analytics, team workspaces, custom domains, custom S3 storage, and full self-hosting when you need complete control.

Use Cap for product demos, bug reports, onboarding, tutorials, design reviews, engineering walkthroughs, async standups, client updates, and any moment where showing the work is faster than scheduling another call.

Why Cap

  • Record, edit, share. Capture your screen, camera, and microphone, then share a link or export a finished video.
  • Instant Mode for speed. Upload while recording and get a shareable link the moment you stop.
  • Studio Mode for polish. Record locally, edit with backgrounds, zooms, trimming, captions, and export controls.
  • Desktop apps for your team. Cap runs on macOS and Windows, with a web dashboard for viewing, sharing, and managing recordings.
  • Own your storage. Use Cap Cloud, connect your own S3-compatible bucket, keep recordings local, or self-host the full platform.
  • Privacy by default. Share publicly or privately, add passwords, use your own domain, or keep sensitive recordings off hosted infrastructure.
  • Async collaboration. Comments, reactions, transcripts, viewer analytics, and team workspaces keep feedback attached to the video.
  • Cap AI. Generate titles, summaries, clickable chapters, captions, and transcripts automatically.
  • Move from Loom. Import existing Loom videos into Cap and keep your library in one place.

Recording Modes

Mode Best for How it works
Instant Mode Fast feedback, bug reports, async updates Cap uploads while you record, then gives you a share link as soon as recording stops.
Studio Mode Product demos, tutorials, launches, client work Cap records locally, opens the editor, and lets you export or share a polished video.

Data Ownership

Cap is designed for people and teams who do not want their recording workflow locked inside a black box.

  • Use Cap Cloud for the fastest hosted experience.
  • Connect AWS S3, Cloudflare R2, Backblaze B2, MinIO, Wasabi, or another S3-compatible provider.
  • Serve share pages from your own domain.
  • Self-host Cap Web, the API, database, media server, and object storage with Docker Compose.
  • Point Cap Desktop at your self-hosted instance from Settings > Cap Server URL.

Get Started

For most users, the fastest path is:

  1. Download Cap for macOS or Windows from cap.so/download.
  2. Sign in or create an account.
  3. Choose Instant Mode or Studio Mode.
  4. Record your first Cap.
  5. Share the link, export the file, or keep it local.

The full product docs live at cap.so/docs.

Self-Hosting

The fastest way to self-host Cap Web is Docker Compose:

git clone https://github.com/CapSoftware/Cap.git
cd Cap
docker compose up -d

Cap will be available at http://localhost:3000.

Login links appear in the service logs when email is not configured:

docker compose logs cap-web

Deployment Options

Method Best for
Docker Compose VPS, home servers, and any Docker-capable host
Railway One-click managed hosting
Coolify Self-hosted PaaS deployments with docker-compose.coolify.yml

Deploy on Railway

For production, configure public URLs and replace the default secrets before exposing the deployment to the internet:

CAP_URL=https://cap.yourdomain.com
S3_PUBLIC_URL=https://s3.yourdomain.com

See the self-hosting guide for email setup, AI providers, SSL, storage, production hardening, and troubleshooting.

Local Development

Cap is a Turborepo monorepo with Rust, TypeScript, Tauri, SolidStart, Next.js, Drizzle, MySQL, Tailwind CSS, and shared media crates.

Requirements:

  • Node.js 20 or newer
  • pnpm 10.5.2
  • Rust 1.88 or newer
  • Docker for MySQL, MinIO, and local services

Install and set up the repo:

pnpm install
pnpm env-setup
pnpm cap-setup

Common commands:

Command Purpose
pnpm dev Start the full local development stack
pnpm dev:web Start the web app without the desktop app
pnpm dev:desktop Start the desktop app
pnpm build Build the workspace
pnpm tauri:build Build the desktop release
pnpm lint Run Biome linting
pnpm format Format with Biome
pnpm typecheck Run TypeScript project references
cargo test -p <crate> Run Rust tests for a crate

Database commands:

Command Purpose
pnpm db:generate Generate database artifacts
pnpm db:push Push schema changes
pnpm db:studio Open Drizzle Studio

Repository Map

Path What lives there
apps/desktop Tauri v2 desktop app with SolidStart UI and Rust backend
apps/web Next.js web app for marketing, docs, dashboard, sharing, API routes, and auth
apps/cli Rust CLI
apps/media-server Media processing service used by the web app
apps/discord-bot Discord integration
packages/database Drizzle schema and database access
packages/ui Shared React UI
packages/ui-solid Shared Solid UI
packages/web-backend Backend service layer
packages/web-domain Web domain models and types
packages/env Environment validation
packages/sdk-embed Embed SDK
packages/sdk-recorder Recorder SDK
crates/* Recording, capture, camera, audio, encoding, rendering, muxing, export, and test crates
scripts/* Setup, analytics, build, and maintenance tooling
infra/* Infrastructure configuration

The web API uses Effect and @effect/platform HTTP APIs. Desktop capture and export paths are backed by Rust crates for fast recording, rendering, and platform-specific media access.

Analytics

Cap uses Tinybird for viewer telemetry dashboards. Set TINYBIRD_ADMIN_TOKEN or TINYBIRD_TOKEN before running analytics commands.

Command Purpose
pnpm analytics:setup Deploy Tinybird datasources and pipes from scripts/analytics/tinybird
pnpm analytics:check Validate that the Tinybird workspace matches the app expectations

analytics:setup can remove Tinybird resources outside the checked-in analytics configuration. Use it only against the workspace you intend to manage from this repo.

Contributing

Cap is built in public. Issues, pull requests, design feedback, bug reports, docs fixes, and bounties are welcome.

License

Portions of this software are licensed as follows:

  • Code in the cap-camera* and scap-* crate families is licensed under the MIT License. See licenses/LICENSE-MIT.
  • Third-party components are licensed under the original license provided by their owner.
  • All other content not mentioned above is available under the AGPLv3 license as defined in LICENSE.

Extension points exported contracts — how you extend this code

RecordingSpoolBackend (Interface)
(no doc) [4 implementers]
packages/recorder-core/src/recording-spool.ts
EmbedOptions (Interface)
(no doc)
packages/sdk-embed/src/types.ts
Database (Interface)
(no doc)
packages/utils/src/types/database.ts
TinybirdResponse (Interface)
(no doc)
packages/web-backend/src/Tinybird/index.ts
JWT (Interface)
(no doc)
packages/database/types/next-auth.d.ts
SkeletonPageProps (Interface)
(no doc)
packages/ui/src/components/SkeletonPage.tsx
RecorderOptions (Interface)
(no doc)
packages/sdk-recorder/src/types.ts
Resource (Interface)
(no doc)
infra/sst-env.d.ts

Core symbols most depended-on inside this repo

db
called by 579
packages/database/index.ts
update
called by 236
packages/web-backend/src/Folders/FoldersRepo.ts
serverEnv
called by 169
packages/env/server.ts
on
called by 128
packages/sdk-recorder/src/index.ts
resolve
called by 101
apps/web/lib/public-collections.ts
reject
called by 75
apps/desktop/scripts/desktop-display-transport-benchmark.js
start
called by 74
apps/desktop/src/global.d.ts
create
called by 73
packages/web-backend/src/Videos/VideosRepo.ts

Shape

Function 5,760
Class 672
Interface 490
Method 192
Enum 1

Languages

TypeScript100%

Modules by API surface

apps/desktop/src/global.d.ts452 symbols
apps/desktop/src/utils/tauri.ts153 symbols
apps/src/utils/tauri.ts111 symbols
apps/web/app/s/[videoId]/_components/video/media-player.tsx94 symbols
apps/chrome-extension/src/background/service-worker.ts89 symbols
apps/media-server/src/lib/media-video.ts81 symbols
apps/desktop/src/routes/(window-chrome)/new-main/index.tsx73 symbols
apps/chrome-extension/src/shared/storage.ts70 symbols
apps/desktop/src/routes/editor/ConfigSidebar.tsx64 symbols
packages/recorder-core/src/instant-mp4-uploader.ts62 symbols
apps/chrome-extension/src/offscreen/recorder.ts57 symbols
apps/desktop/src/routes/(window-chrome)/onboarding.tsx55 symbols

Dependencies from manifests, versioned

@aerofoil/rive-solid-canvas2.1.4 · 1×
@aws-sdk/client-cloudfront3.565.0 · 1×
@aws-sdk/client-mediaconvert3.565.0 · 1×
@aws-sdk/client-s33.485.0 · 1×
@aws-sdk/cloudfront-signer3.821.0 · 1×
@aws-sdk/credential-providers3.908.0 · 1×
@aws-sdk/s3-presigned-post3.485.0 · 1×
@aws-sdk/s3-request-presigner3.485.0 · 1×
@biomejs/biome2.2.0 · 1×
@cap/databaseworkspace:* · 1×
@cap/envworkspace:* · 1×
@cap/recorder-coreworkspace:* · 1×

Datastores touched

(mysql)Database · 1 repos
capDatabase · 1 repos
planetscaleDatabase · 1 repos

For agents

$ claude mcp add Cap \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact