Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

docs(web): add teams migration and storage guides

Richie McIlroy5786583bab83
diff --git a/apps/web/content/docs/migrating-to-cap.mdx b/apps/web/content/docs/migrating-to-cap.mdx
new file mode 100644
index 000000000..50a99dedf
--- /dev/null
+++ b/apps/web/content/docs/migrating-to-cap.mdx
@@ -0,0 +1,97 @@
+---
+title: "Migrating to Cap"
+summary: "Move a Loom library, team ownership, and organization structure into Cap"
+tags: "Migration, Loom, Teams, Agents"
+---
+
+Cap supports single-video Loom imports, CSV migrations for organizations, and managed migrations for larger or more complex libraries. We have run organization migrations spanning hundreds of users and tens of thousands of recordings.
+
+A successful migration is not just a count of accepted URLs. It preserves ownership and useful organization, waits for every import to finish, and separates source videos that Loom no longer makes available.
+
+## Choose the right path
+
+| Library | Recommended path |
+|---------|------------------|
+| One Loom video | Paste the Loom URL in **Dashboard > Import > Loom** |
+| Up to 500 mapped videos | Use the organization CSV importer |
+| More than 500 videos or a complex hierarchy | Run controlled batches with an agent or contact [[email protected]](mailto:[email protected]) for a managed migration |
+
+Loom import is a Cap Pro feature. Bulk CSV import is available to organization owners and admins.
+
+## Prepare the source inventory
+
+Export or prepare one row per unique Loom recording. The CSV importer expects:
+
+```csv
+loom_video_url,user_email,space_name
+https://www.loom.com/share/example,[email protected],Customer Success
+```
+
+`loom_video_url` and `user_email` are required. `space_name` is optional.
+
+The importer treats `space_name` as one Cap space label. It does not interpret slashes or other separators as a nested folder hierarchy. If your source library has nested folders, agree on an explicit mapping before importing.
+
+Cap can provision a missing organization user during a mapped migration without sending an unexpected invitation email. Still, normalize email addresses and confirm the intended owners before the run.
+
+## Run a self-serve CSV migration
+
+1. Open **Dashboard > Import > Loom**.
+2. Select the CSV option.
+3. Upload a CSV with no more than 500 data rows.
+4. Map the Loom URL, owner email, and optional space-name columns.
+5. Review invalid rows and the preview.
+6. Confirm the import.
+7. Keep the result report. The UI runs imports in controlled batches and reports completed and failed rows.
+
+Private, expired, password-protected, deleted, or otherwise unavailable Loom URLs cannot be imported until the source is accessible. Keep those rows in a separate exception list instead of silently dropping them.
+
+## Run a migration with your agent
+
+The Cap CLI and MCP server expose a durable per-video Loom import operation. Ask the agent to discover the installed contract first because flags and schemas should come from `cap guide --json`, not an old prompt.
+
+```sh
+cap guide --json
+cap caps import loom <loom-url> \
+ --organization <organization-id> \
+ --owner-email <email> \
+ --space <space-name> \
+ --wait \
+ --yes \
+ --json
+```
+
+Without `--wait`, the command returns an operation ID. The agent can wait for the terminal result with `cap jobs wait <operation-id> --json`.
+
+Use this prompt for a controlled migration:
+
+> Run `cap guide --json` and inspect our Cap organization, members, and spaces without changing anything. Parse the migration CSV locally. Report duplicate Loom URLs in the source file, invalid URLs, missing owners, space names that would be created, and any nested source paths that need an explicit mapping. Propose batches and a verification plan. After I approve the exact mapping and batch, import each row with its owner email and single Cap space name, retain every operation ID, wait for every operation to reach a terminal result, and report completed, failed, conflicted, and source-unavailable rows. Do not paste credentials into chat and do not start another batch until the previous batch is reconciled.
+
+The agent should never treat an accepted or queued response as a completed migration. It should also preserve source identifiers so a retry cannot create an unexplained duplicate.
+
+## How managed migrations work
+
+For large teams, we use the same process at a larger scale:
+
+1. **Inventory:** establish the source-of-truth count of unique Loom URLs, owners, and source locations.
+2. **Map:** translate source owners and hierarchy into Cap organization members, spaces, and any follow-up folder organization.
+3. **Validate:** identify duplicates, malformed URLs, missing ownership, and inaccessible source videos before the main run.
+4. **Import in controlled batches:** retain an operation or row result for every source recording.
+5. **Reconcile:** count completed, failed, conflicted, and source-unavailable results. Queued work is not counted as complete.
+6. **Verify:** sample playback, titles, owners, spaces, and stored assets, then compare the final Cap inventory with the source inventory.
+7. **Handle exceptions:** retry transient failures and return a clear list of Loom videos that are no longer downloadable.
+
+This has allowed Cap to move organizations with hundreds of users and libraries containing tens of thousands of recordings while keeping ownership and failures auditable.
+
+## Migration checklist
+
+- Source inventory is deduplicated and preserved
+- Organization owners and admins are identified
+- Every owner email has an intentional mapping
+- Every `space_name` is one Cap space label
+- Nested folders have a separate explicit plan
+- Batches contain no more than 500 rows in the self-serve UI
+- Every accepted import reaches a terminal result
+- Completed totals are reconciled with failures and unavailable sources
+- A playback and permissions sample passes before the source system is retired
+
+After the content is in Cap, use [Working With Your Team](/docs/teams) to finish the organization structure and [Google Drive](/docs/teams/google-drive) if future uploads should use Drive storage.
diff --git a/apps/web/content/docs/s3-config.mdx b/apps/web/content/docs/s3-config.mdx
new file mode 100644
index 000000000..642a92cda
--- /dev/null
+++ b/apps/web/content/docs/s3-config.mdx
@@ -0,0 +1,37 @@
+---
+title: "S3-compatible Storage"
+summary: "Connect private object storage for new Cap uploads"
+tags: "Storage, S3, Integrations"
+---
+
+Cap Pro can store new shareable-link uploads in your own S3-compatible bucket. Cap Desktop currently offers presets for AWS S3, Cloudflare R2, Supabase, MinIO, and other S3-compatible providers.
+
+## How it works
+
+- The active configuration applies to new uploads.
+- Existing recordings stay on their current storage provider.
+- Viewers still use Cap share and embed routes, with normal access checks.
+- Personal storage can be configured in Cap Desktop.
+- Organization owners and admins can manage storage centrally for members.
+
+Changing or removing a configuration does not automatically copy existing objects to another provider.
+
+## Configure a provider
+
+1. Create a private bucket and dedicated credentials with the object and multipart permissions Cap needs.
+2. Configure browser CORS for every trusted Cap web origin and expose the `ETag` response header.
+3. Open **Cap Desktop > Settings > Integrations > S3 Config**.
+4. Choose the provider and enter the access-key ID, secret access key, endpoint, bucket name, and region.
+5. Click **Test Connection**, then save.
+6. Upload and play a non-sensitive sample before using the bucket for the team.
+
+Use the provider-specific instructions:
+
+- [AWS S3](/docs/s3-config/aws-s3)
+- [Cloudflare R2](/docs/s3-config/cloudflare-r2)
+
+For Google Drive rather than S3, read [Google Drive](/docs/teams/google-drive).
+
+## Security boundary
+
+Keep the bucket private and scope credentials to the intended bucket or prefix. Enter secrets through Cap's protected configuration surface, not through chat or source control. A successful connection test proves bucket access; the sample upload verifies object permissions, multipart CORS, storage, and playback together.
diff --git a/apps/web/content/docs/teams.mdx b/apps/web/content/docs/teams.mdx
new file mode 100644
index 000000000..6bcf65bb0
--- /dev/null
+++ b/apps/web/content/docs/teams.mdx
@@ -0,0 +1,65 @@
+---
+title: "Working With Your Team"
+summary: "Organize people, recordings, permissions, and feedback in Cap"
+tags: "Teams, Organizations, Collaboration"
+---
+
+Cap organizations give a team one place to manage members, recordings, storage, and reporting. Within an organization, spaces and folders keep work organized while roles control who can change settings.
+
+## Start with an organization
+
+An organization has three member roles:
+
+| Role | What it is for |
+|------|-----------------|
+| Owner | Full control of the organization, including billing and organization settings |
+| Admin | Day-to-day administration, member management, and organization-wide workflows |
+| Member | Creating, viewing, and collaborating on content they can access |
+
+Owners and admins can invite people from the organization settings. Invitations can be prepared in batches, and Cap also creates missing organization users during a mapped Loom migration without sending an unexpected invitation email.
+
+## Organize work with spaces and folders
+
+Use spaces for durable team areas such as Product, Support, Sales, or Onboarding. Add the organization members who should work in each space; space members can be admins or members. A Pro space can also publish a collection link where anyone with the link can browse the public Caps in that space, and a space can require a password for its Caps.
+
+Folders provide another level of organization inside a space or in a personal library. A Cap can be moved between supported organization, space, and folder locations without changing the recording itself.
+
+A practical structure is:
+
+- One organization for the company or business unit
+- Spaces for teams or long-running programs
+- Folders for projects, releases, customers, or time periods
+
+## Share and collaborate
+
+Public Caps can be watched by anyone with the link. Private Caps require an authorized signed-in viewer, and password-protected Caps prompt for the password before playback.
+
+Signed-in viewers can add timestamped comments, replies, and emoji reactions when the organization and Cap settings allow them. Comment authors can delete their own comments. New-comment notifications can appear in Cap and by email, depending on notification preferences.
+
+Organization settings can disable comments, reactions, transcripts, captions, summaries, or chapters for the whole organization. They can also set branding, a custom domain, an allowed email domain, a default playback speed, and an AI language.
+
+## Understand engagement
+
+Organization analytics can be viewed over 24 hours, 7 days, 30 days, or the lifetime of the organization. The dashboard includes Cap, view, comment, and reaction totals plus time-series and breakdown views for geography, browser, operating system, device, and top Caps. Results can be narrowed to a space or an individual Cap.
+
+Analytics are aggregate. They are useful for understanding reach and engagement, but they should not be described as a definitive attendance record for named viewers.
+
+## Use your own storage
+
+An organization can manage storage centrally. Cap currently supports Cap-managed storage, Google Drive, and S3-compatible storage. When storage is managed by the organization, individual members cannot override that choice in Cap Desktop.
+
+Read [Google Drive](/docs/teams/google-drive) for the Drive workflow, or the [S3 guides](/docs/s3-config/aws-s3) for S3-compatible storage.
+
+## Work with an agent
+
+Cap's CLI and MCP surface can inspect organizations, members, spaces, folders, Caps, comments, and analytics. Start by asking the agent to run `cap guide --json` so it uses the command contract installed on your machine.
+
+For example:
+
+> Inspect our Cap organization, members, spaces, and folders. Propose a structure for Product, Support, and Sales, including the exact moves you would make. Do not create, invite, or move anything until I approve the full plan.
+
+The agent should discover IDs rather than infer them from names, remain read-only while planning, and request confirmation before every invitation, role change, content move, storage change, or other mutation. See [Agent Workflows](/docs/agents/workflows) for tested patterns.
+
+## Bringing an existing team over
+
+For a small Loom library, use Cap's importer directly. For a larger organization, map owners and spaces before starting and verify every import reaches a terminal result. The full process is in [Migrating to Cap](/docs/migrating-to-cap).
diff --git a/apps/web/content/docs/teams/google-drive.mdx b/apps/web/content/docs/teams/google-drive.mdx
new file mode 100644
index 000000000..7e0ee95e0
--- /dev/null
+++ b/apps/web/content/docs/teams/google-drive.mdx
@@ -0,0 +1,68 @@
+---
+title: "Google Drive"
+summary: "Store new Cap uploads in a private Google Drive location"
+tags: "Teams, Storage, Google Drive"
+---
+
+Cap Pro can use Google Drive as the storage provider for new shareable-link uploads. Viewers still watch through Cap, and Cap still applies the recording's normal access checks.
+
+Google Drive is a storage integration, not a general Drive sync or import tool. Connecting it does not copy existing Caps into Drive and does not import arbitrary videos from Drive into Cap.
+
+## What changes when you connect Drive
+
+- New uploads use the connected Google Drive location.
+- Existing Cap-hosted and S3-backed recordings stay on their current storage provider.
+- Share links, embeds, passwords, private access, comments, and analytics continue to use Cap.
+- Disconnecting or switching providers does not automatically move files that already exist.
+
+## Connect Google Drive for yourself
+
+1. Open Cap Desktop.
+2. Open **Settings > Integrations**.
+3. Select **Google Drive** and click **Configure**.
+4. Start the connection and complete Google's authorization in your browser.
+5. Return to Cap Desktop. Cap checks the connection and shows the available Drive quota.
+6. Use **Test Connection** before relying on the integration for an upload.
+
+Personal connections store new uploads in a private Cap folder in the connected Drive.
+
+## Manage Drive for an organization
+
+Organization owners and admins can configure storage centrally from the organization's integration settings. The organization flow can browse writable folders, including supported shared-drive locations, and select the exact folder Cap should use.
+
+Once the organization manages storage, members see that the integration is managed by their organization and cannot replace it with a personal setting in Cap Desktop.
+
+Choose a location that:
+
+- The connected Google account is expected to retain access to
+- Has enough quota for the team's recording volume
+- Matches the organization's retention and data-governance policies
+- Is writable by the account completing the connection
+
+## Switch between Drive and S3
+
+If both integrations are configured, Cap lets an authorized user select the active provider for new uploads. Switching affects future uploads only. It does not bulk-copy older objects between providers.
+
+Test the destination after a provider change, then upload and play a small sample Cap before rolling it out to the full team.
+
+## Configure it with an agent
+
+An agent can inspect and configure organization storage through Cap's CLI or MCP surface. Because this changes where future files are stored and opens a Google authorization flow, the agent must preview the organization, target folder, and provider change before asking for confirmation.
+
+Use a prompt like:
+
+> Run `cap guide --json`, inspect our current organization storage without changing it, and show me the Google Drive connection plan. After I approve, open the authorization flow, list writable Drive folders, and ask me to confirm the exact destination before setting it as the provider. Test the connection and report the final provider. Never ask me to paste Google credentials or tokens into chat.
+
+The browser authorization must be completed by a person. The agent should treat folder selection and provider activation as separate confirmed changes and re-read the storage configuration afterward.
+
+## Before a team rollout
+
+1. Confirm whether the integration is personal or organization-managed.
+2. Confirm the connected Google account and exact destination folder.
+3. Test the connection.
+4. Upload one non-sensitive sample.
+5. Open its Cap share link as an allowed viewer.
+6. Confirm the file appears in the intended Drive location.
+7. Keep the previous provider configured until the sample is verified.
+
+For moving an existing library rather than changing storage for new uploads, read [Migrating to Cap](/docs/migrating-to-cap).