Open source Loom alternative. Beautiful, shareable screen recordings.
Rust appcapcossloommacnextjsnextjs15open-sourceossreactrecordrustscreen-capturescreen-recorderscreenshotsolidjstauritauri-apptypescriptvite
Add /self-hosted-screen-recording landing page
Richie McIlroy4134fd2eedd5
diff --git a/apps/web/__tests__/unit/self-hosted-screen-recording-page.test.ts b/apps/web/__tests__/unit/self-hosted-screen-recording-page.test.tsnew file mode 100644index 000000000..7355a022f--- /dev/null+++ b/apps/web/__tests__/unit/self-hosted-screen-recording-page.test.ts@@ -0,0 +1,185 @@+import { readFileSync } from "node:fs";+import { join } from "node:path";+import { describe, expect, it } from "vitest";+import { createFAQSchema } from "@/utils/web-schema";++const pageSource = readFileSync(+ join(process.cwd(), "app/(site)/(seo)/self-hosted-screen-recording/page.tsx"),+ "utf-8",+);++const componentSource = readFileSync(+ join(process.cwd(), "components/pages/seo/SelfHostedScreenRecordingPage.tsx"),+ "utf-8",+);++describe("SelfHostedScreenRecordingPage metadata", () => {+ it("contains canonical URL", () => {+ expect(pageSource).toContain(+ 'canonical: "https://cap.so/self-hosted-screen-recording"',+ );+ });++ it("contains OG url field", () => {+ expect(pageSource).toContain(+ 'url: "https://cap.so/self-hosted-screen-recording"',+ );+ });++ it("contains OG siteName field", () => {+ expect(pageSource).toContain('siteName: "Cap"');+ });++ it("contains OG locale field", () => {+ expect(pageSource).toContain('locale: "en_US"');+ });++ it("contains full OG image URL", () => {+ expect(pageSource).toContain('"https://cap.so/og.png"');+ });++ it("title targets self-hosted screen recording keyword", () => {+ expect(pageSource.toLowerCase()).toContain("self-host");+ });+});++describe("SelfHostedScreenRecordingPage component content", () => {+ it("targets self-hosted keyword in title", () => {+ expect(componentSource.toLowerCase()).toContain("self-host");+ });++ it("includes comparison table", () => {+ expect(componentSource).toContain("comparisonTable");+ });++ it("includes recording modes section", () => {+ expect(componentSource).toContain("recordingModes");+ });++ it("mentions S3-compatible storage", () => {+ expect(componentSource).toContain("S3");+ });++ it("mentions AWS S3", () => {+ expect(componentSource).toContain("AWS S3");+ });++ it("mentions Cloudflare R2", () => {+ expect(componentSource).toContain("Cloudflare R2");+ });++ it("includes migration guide", () => {+ expect(componentSource).toContain("migrationGuide");+ });++ it("mentions open source and MIT license", () => {+ expect(componentSource.toLowerCase()).toContain("open source");+ expect(componentSource.toLowerCase()).toContain("mit");+ });++ it("has badge set", () => {+ expect(componentSource).toContain("badge");+ });++ it("references the loom-alternative internal link", () => {+ expect(componentSource).toContain("/loom-alternative");+ });++ it("references the hipaa-compliant-screen-recording internal link", () => {+ expect(componentSource).toContain("/hipaa-compliant-screen-recording");+ });+});++describe("SelfHostedScreenRecordingPage FAQ schema", () => {+ const faqs = [+ {+ question: "Can Cap be self-hosted?",+ answer:+ "Yes. Cap supports two levels of self-hosting. First, you can configure Cap to use your own S3-compatible storage bucket.",+ },+ {+ question: "What storage providers does Cap support for self-hosting?",+ answer:+ "Cap supports any S3-compatible object storage provider, including AWS S3, Cloudflare R2, Backblaze B2, Wasabi, and MinIO.",+ },+ {+ question:+ "Do recordings touch Cap's servers when using self-hosted storage?",+ answer:+ "No. When self-hosted storage is configured, the Cap desktop app uploads recordings directly to your S3 bucket.",+ },+ {+ question: "How do I configure self-hosted storage in Cap?",+ answer:+ "Open Cap's settings, navigate to the storage section, and enter your S3 bucket name, region, access key, secret key, and optional custom endpoint URL.",+ },+ {+ question: "Can I self-host the entire Cap platform, not just storage?",+ answer:+ "Yes. Cap is fully open source under the MIT license. You can deploy the complete Cap platform on your own infrastructure.",+ },+ {+ question: "Is self-hosted Cap suitable for HIPAA compliance?",+ answer:+ "Cap with self-hosted AWS S3 storage (covered under your AWS BAA) can support HIPAA-compliant recording workflows.",+ },+ {+ question:+ "Does self-hosted storage still give me instant shareable links?",+ answer:+ "Yes. The instant sharing experience works the same way with self-hosted storage.",+ },+ {+ question: "What is the best self-hosted screen recorder?",+ answer:+ "Cap is the best self-hosted screen recorder for teams that need both data control and a modern async video experience.",+ },+ ];++ it("produces valid FAQPage schema with 8 questions", () => {+ const schema = createFAQSchema(faqs);++ expect(schema["@context"]).toBe("https://schema.org");+ expect(schema["@type"]).toBe("FAQPage");+ expect(schema.mainEntity).toHaveLength(8);+ });++ it("maps each FAQ to a Question entity with acceptedAnswer", () => {+ const schema = createFAQSchema(faqs);++ expect(schema.mainEntity[0]).toEqual({+ "@type": "Question",+ name: "Can Cap be self-hosted?",+ acceptedAnswer: {+ "@type": "Answer",+ text: faqs[0].answer,+ },+ });+ });++ it("produces JSON-serializable output", () => {+ const schema = createFAQSchema(faqs);+ expect(() => JSON.stringify(schema)).not.toThrow();+ const parsed = JSON.parse(JSON.stringify(schema));+ expect(parsed["@type"]).toBe("FAQPage");+ expect(parsed.mainEntity).toHaveLength(8);+ });+});++describe("SelfHostedScreenRecordingPage SEO registry", () => {+ it("is registered in seo-pages.ts", () => {+ const seoPagesSource = readFileSync(+ join(process.cwd(), "lib/seo-pages.ts"),+ "utf-8",+ );+ expect(seoPagesSource).toContain('"self-hosted-screen-recording"');+ });++ it("is registered in seo-metadata.ts", () => {+ const seoMetadataSource = readFileSync(+ join(process.cwd(), "lib/seo-metadata.ts"),+ "utf-8",+ );+ expect(seoMetadataSource).toContain('"self-hosted-screen-recording"');+ });+});diff --git a/apps/web/app/(site)/(seo)/self-hosted-screen-recording/page.tsx b/apps/web/app/(site)/(seo)/self-hosted-screen-recording/page.tsxnew file mode 100644index 000000000..4a0645bfb--- /dev/null+++ b/apps/web/app/(site)/(seo)/self-hosted-screen-recording/page.tsx@@ -0,0 +1,60 @@+import type { Metadata } from "next";+import Script from "next/script";+import {+ SelfHostedScreenRecordingPage,+ selfHostedScreenRecordingContent,+} from "@/components/pages/seo/SelfHostedScreenRecordingPage";+import { createFAQSchema } from "@/utils/web-schema";++export const metadata: Metadata = {+ title:+ "Self-Hosted Screen Recording — Own Your Data, No Vendor Lock-In | Cap",+ description:+ "Cap lets you self-host screen recordings on your own S3-compatible storage. Connect AWS S3, Cloudflare R2, or MinIO — recordings go directly to your infrastructure. Open source, MIT-licensed, free to use.",+ alternates: {+ canonical: "https://cap.so/self-hosted-screen-recording",+ },+ openGraph: {+ title:+ "Self-Hosted Screen Recording — Own Your Data, No Vendor Lock-In | Cap",+ description:+ "Cap lets you self-host screen recordings on your own S3-compatible storage. Connect AWS S3, Cloudflare R2, or MinIO — recordings go directly to your infrastructure. Open source and free.",+ url: "https://cap.so/self-hosted-screen-recording",+ siteName: "Cap",+ images: [+ {+ url: "https://cap.so/og.png",+ width: 1200,+ height: 630,+ alt: "Cap: Self-Hosted Screen Recording",+ },+ ],+ locale: "en_US",+ type: "website",+ },+ twitter: {+ card: "summary_large_image",+ title:+ "Self-Hosted Screen Recording — Own Your Data, No Vendor Lock-In | Cap",+ description:+ "Cap lets you self-host screen recordings on your own S3-compatible storage. AWS S3, Cloudflare R2, MinIO — your infrastructure, instant shareable links.",+ images: ["https://cap.so/og.png"],+ },+};++export default function Page() {+ return (+ <>+ <Script+ id="faq-structured-data"+ type="application/ld+json"+ dangerouslySetInnerHTML={{+ __html: JSON.stringify(+ createFAQSchema(selfHostedScreenRecordingContent.faqs),+ ),+ }}+ />+ <SelfHostedScreenRecordingPage />+ </>+ );+}diff --git a/apps/web/components/pages/seo/SelfHostedScreenRecordingPage.tsx b/apps/web/components/pages/seo/SelfHostedScreenRecordingPage.tsxnew file mode 100644index 000000000..0726b4075--- /dev/null+++ b/apps/web/components/pages/seo/SelfHostedScreenRecordingPage.tsx@@ -0,0 +1,290 @@+"use client";++import { Clapperboard, Zap } from "lucide-react";+import { SeoPageTemplate } from "../../seo/SeoPageTemplate";+import type { SeoPageContent } from "../../seo/types";++export const selfHostedScreenRecordingContent: SeoPageContent = {+ title:+ "Self-Hosted Screen Recording — Own Your Data, Own Your Infrastructure",+ description:+ "Cap lets you self-host screen recordings on your own S3-compatible storage. Connect AWS S3, Cloudflare R2, MinIO, or Backblaze and every recording goes directly to your infrastructure. Open source, no vendor lock-in, full data sovereignty.",++ badge: "Self-Hosting",++ featuresTitle: "Everything You Need in a Self-Hosted Screen Recorder",+ featuresDescription:+ "Cap gives teams complete control over where recordings are stored, without sacrificing the instant sharing experience",++ features: [+ {+ title: "Connect Any S3-Compatible Storage",+ description:+ "Cap supports AWS S3, Cloudflare R2, Backblaze B2, MinIO, Wasabi, and any other S3-compatible object storage. Configure your bucket credentials once in Cap's settings and every recording uploads directly to your infrastructure — not Cap's cloud.",+ },+ {+ title: "Recordings Never Touch Third-Party Servers",+ description:+ "With self-hosted storage configured, video files travel from the Cap desktop app directly to your storage bucket. No recording data passes through Cap's servers. You maintain full custody and chain of possession for every file.",+ },+ {+ title: "Self-Host the Entire Cap Platform",+ description:+ "Go beyond storage — deploy the complete Cap web platform on your own infrastructure. The dashboard, sharing layer, API, and all services run within your network perimeter. Full control over the entire recording and sharing pipeline.",+ },+ {+ title: "Open Source and Auditable",+ description:+ "Cap is MIT-licensed and fully open source on GitHub. Your security team can audit every line of code that handles recording, uploading, and sharing. No black-box behavior, no undisclosed data flows — complete transparency for enterprise security reviews.",+ },+ {+ title: "Instant Shareable Links from Your Own Storage",+ description:+ "Self-hosted storage doesn't mean sacrificing the instant sharing experience. Stop recording, get a shareable link immediately — but the video is served from your S3 bucket, not Cap's CDN. Your infrastructure, your links, Cap's instant-share UX.",+ },+ {+ title: "Password-Protected Sharing",+ description:+ "Add a password to any shared recording. Combined with self-hosted storage, you control both where the video is stored and who can access it. Perfect for internal teams, client deliverables, or any content requiring restricted access.",+ },+ {+ title: "4K Recording at 60fps",+ description:+ "Self-hosting doesn't mean downgrading quality. Cap records your screen at up to 4K resolution and 60 frames per second with system audio and webcam overlay. High-quality recordings stored exactly where you want them.",+ },+ {+ title: "Custom Domain Support",+ description:+ "Serve Cap's sharing pages from your own custom domain. Combined with self-hosted storage, recordings are fully within your brand and infrastructure — from the video file in your S3 bucket to the sharing link your viewers click.",+ },+ ],++ recordingModes: {+ title: "Two Self-Hostable Recording Modes",+ description:+ "Both Cap recording modes work fully with self-hosted storage — choose the right workflow for your team",+ modes: [+ {+ icon: <Zap fill="yellow" className="mb-4 size-8" strokeWidth={1.5} />,+ title: "Instant Mode",+ description:+ "Record and get a shareable link the moment you stop. With self-hosted storage, that link points to video in your S3 bucket. Ideal for quick team updates, bug reports, and async communication where speed matters and data residency is required.",+ },+ {+ icon: (+ <Clapperboard+ fill="var(--blue-9)"+ className="mb-4 size-8"+ strokeWidth={1.5}+ />+ ),+ title: "Studio Mode",+ description:+ "Record screen and webcam as separate tracks with no time limits. Completely free for personal use. Studio Mode recordings upload to your configured S3 bucket, giving you separate video files for post-production editing and full control over storage lifecycle.",+ },+ ],+ },++ comparisonTable: {+ title: "Self-Hosted Cap vs Other Screen Recorders",+ headers: ["Feature", "Cap (Self-Hosted)", "Loom", "Vidyard", "Panopto"],+ rows: [+ [+ "Self-hosted storage",+ { text: "Yes — any S3", status: "positive" },+ { text: "No", status: "negative" },+ { text: "No", status: "negative" },+ { text: "On-premise only", status: "warning" },+ ],+ [+ "Self-hostable platform",+ { text: "Yes — full stack", status: "positive" },+ { text: "No", status: "negative" },+ { text: "No", status: "negative" },+ { text: "Yes (enterprise)", status: "warning" },+ ],+ [+ "Open source",+ { text: "Yes — MIT", status: "positive" },+ { text: "No", status: "negative" },+ { text: "No", status: "negative" },+ { text: "No", status: "negative" },+ ],+ [+ "Instant share links",+ { text: "Yes", status: "positive" },+ { text: "Yes", status: "positive" },+ { text: "Yes", status: "positive" },+ { text: "Yes", status: "positive" },+ ],+ [+ "4K recording",+ { text: "Yes", status: "positive" },+ { text: "No", status: "negative" },+ { text: "No", status: "negative" },+ { text: "Yes", status: "positive" },+ ],+ [+ "AI captions",+ { text: "Yes (optional)", status: "positive" },+ { text: "Paid only", status: "warning" },+ { text: "Paid only", status: "warning" },+ { text: "Paid only", status: "warning" },+ ],+ [+ "Free tier",+ { text: "Yes — Studio Mode", status: "positive" },+ { text: "Limited", status: "warning" },+ { text: "Limited", status: "warning" },+ { text: "No", status: "negative" },+ ],+ [+ "Auditable code",+ { text: "Yes — full codebase", status: "positive" },+ { text: "No", status: "negative" },+ { text: "No", status: "negative" },+ { text: "No", status: "negative" },+ ],+ ],+ },++ comparisonTitle: "Why Self-Host Your Screen Recordings with Cap",+ comparisonDescription:+ "Most screen recorders lock your data to their cloud — Cap is built from the ground up to run entirely on your own infrastructure",++ comparison: [+ {+ title: "Cap vs Loom for Self-Hosting",+ description:+ "Loom offers no self-hosting option. Every recording is stored on Loom's servers, and if Loom changes pricing or shuts down, your video library is at risk. Cap supports custom S3 storage so your recordings live in your bucket forever, regardless of what happens to Cap's cloud offering. <a href='/loom-alternative'>See the full Cap vs Loom comparison</a>.",+ },+ {+ title: "Cap vs Panopto for Self-Hosting",+ description:+ "Panopto offers on-premise deployment for enterprise customers at significant cost. Cap's self-hosting is available to any team — configure your S3 bucket in minutes, or deploy the full platform from the open-source repository. No enterprise contract required.",+ },+ {+ title: "Cap vs OBS for Self-Hosted Recording",+ description:+ "OBS records locally but lacks any sharing or collaboration layer. Cap gives you OBS-level data control — recordings stay on your infrastructure — combined with async sharing links, thread commenting, and a web dashboard your team can actually use.",+ },+ {+ title: "Cap for Regulated Industries",+ description:+ "Healthcare, finance, legal, and government teams face strict data residency requirements. Cap with self-hosted S3 storage keeps recordings within your regulated environment. Combined with open-source auditability, Cap satisfies the compliance requirements that closed-source SaaS tools can't meet. <a href='/hipaa-compliant-screen-recording'>Learn about HIPAA-compliant recording with Cap</a>.",+ },+ ],++ useCasesTitle: "Who Uses Self-Hosted Screen Recording",+ useCasesDescription:+ "Teams across industries choose Cap's self-hosted storage when data residency, compliance, or cost control matters",++ useCases: [+ {+ title: "Enterprise IT and Security Teams",+ description:+ "Organizations with strict data governance policies use Cap with self-hosted S3 to ensure recording content never leaves their cloud environment. Security teams can audit Cap's open-source codebase to verify exactly what data is transmitted and where it goes.",+ },+ {+ title: "Healthcare Organizations",+ description:+ "Cap with AWS S3 self-hosting keeps recorded content within HIPAA-eligible infrastructure. Clinical training videos, EHR walkthroughs, and patient education recordings stay on your AWS account — covered by your existing BAA. <a href='/hipaa-compliant-screen-recording'>Learn more about HIPAA-compliant recording</a>.",+ },+ {+ title: "Financial Services and Legal Teams",+ description:+ "Banks, law firms, and financial institutions with data residency or jurisdiction requirements deploy Cap with S3-compatible storage in their approved regions. Recordings never traverse unapproved infrastructure, satisfying regulatory and legal hold requirements.",+ },+ {+ title: "Developer and Engineering Teams",+ description:+ "Engineers who want to verify what software does with their data run Cap with self-hosted storage. Record bug reports, architecture walkthroughs, and code reviews — all stored in your team's S3 bucket. Open-source code means the data handling is verifiable, not just promised.",+ },+ {+ title: "Agencies and Client Services Teams",+ description:+ "Agencies handling client work use Cap with self-hosted storage to keep client recording content isolated per project or client bucket. No client data commingles with other customers on a shared SaaS platform.",+ },+ {+ title: "Self-Hosting Enthusiasts and Privacy Advocates",+ description:+ "Individuals and teams who prefer to own their tools deploy the full Cap platform — web app, API, and storage — on their own VPS or cloud account. MIT-licensed code means no restrictions on how you run it or modify it for your needs.",+ },+ ],++ migrationGuide: {+ title: "How to Set Up Self-Hosted Screen Recording with Cap",+ steps: [+ "Create an S3-compatible bucket — AWS S3, Cloudflare R2, Backblaze B2, or a self-hosted MinIO instance all work",+ "Generate access credentials for your bucket with read/write permissions",+ "Download Cap for Mac or Windows — installation takes under 2 minutes",+ "Open Cap settings and navigate to the storage configuration section",+ "Enter your bucket name, region, access key, secret key, and optional custom endpoint",+ "Record a test video — verify the file appears in your bucket directly after stopping",+ "Share the recording link — the video is now served from your own storage",+ "Optionally deploy the full Cap web platform for complete infrastructure ownership",+ ],+ },++ faqsTitle: "Frequently Asked Questions About Self-Hosted Screen Recording",+ faqs: [+ {+ question: "Can Cap be self-hosted?",+ answer:+ "Yes. Cap supports two levels of self-hosting. First, you can configure Cap to use your own S3-compatible storage bucket — recordings upload directly to your infrastructure. Second, you can deploy the entire Cap platform (web dashboard, API, sharing layer) on your own servers using the open-source repository. Both options are available to all users with no enterprise contract required.",+ },+ {+ question: "What storage providers does Cap support for self-hosting?",+ answer:+ "Cap supports any S3-compatible object storage provider, including AWS S3, Cloudflare R2, Backblaze B2, Wasabi, MinIO, DigitalOcean Spaces, and Linode Object Storage. If the provider supports the S3 API with a custom endpoint, Cap can use it.",+ },+ {+ question:+ "Do recordings touch Cap's servers when using self-hosted storage?",+ answer:+ "No. When self-hosted storage is configured, the Cap desktop app uploads recordings directly to your S3 bucket. Recording content does not pass through Cap's servers. The Cap web app creates and manages the sharing links, but the video files are served from your storage.",+ },+ {+ question: "How do I configure self-hosted storage in Cap?",+ answer:+ "Open Cap's settings, navigate to the storage section, and enter your S3 bucket name, region, access key, secret key, and optional custom endpoint URL. Save the settings and your next recording will upload directly to your bucket. You can verify this by checking your bucket after a test recording.",+ },+ {+ question: "Can I self-host the entire Cap platform, not just storage?",+ answer:+ "Yes. Cap is fully open source under the MIT license. You can deploy the complete Cap platform — including the Next.js web application, API, and all services — on your own infrastructure. See Cap's self-hosting documentation for deployment instructions and configuration options.",+ },+ {+ question: "Is self-hosted Cap suitable for HIPAA compliance?",+ answer:+ "Cap with self-hosted AWS S3 storage (covered under your AWS BAA) can support HIPAA-compliant recording workflows. With self-hosted storage, no recording content passes through Cap's servers, keeping PHI within your HIPAA-covered infrastructure. AI auto-captions can be disabled if your policies restrict external audio transcription. See our dedicated HIPAA-compliant screen recording guide for full details.",+ },+ {+ question:+ "Does self-hosted storage still give me instant shareable links?",+ answer:+ "Yes. The instant sharing experience works the same way with self-hosted storage. Stop recording and Cap generates a shareable link immediately. The difference is that the link points to video content in your S3 bucket rather than Cap's CDN. Your infrastructure, same instant-share experience.",+ },+ {+ question: "What is the best self-hosted screen recorder?",+ answer:+ "Cap is the best self-hosted screen recorder for teams that need both data control and a modern async video experience. It combines S3-compatible custom storage, instant shareable links, webcam overlay, AI captions, and thread commenting — all in an MIT-licensed open-source package. Unlike local-only recorders, Cap gives you the collaboration layer. Unlike closed-source SaaS tools, Cap gives you full data ownership.",+ },+ ],++ video: {+ url: "/videos/cap-demo.mp4",+ thumbnail: "/videos/cap-demo-thumbnail.png",+ alt: "Cap self-hosted screen recording demo showing S3 storage configuration and instant sharing",+ },++ cta: {+ title: "Start Self-Hosting Your Screen Recordings with Cap",+ buttonText: "Download Cap Free",+ secondaryButtonText: "View Self-Hosting Docs",+ },+};++export const SelfHostedScreenRecordingPage = () => {+ return <SeoPageTemplate content={selfHostedScreenRecordingContent} />;+};diff --git a/apps/web/lib/seo-metadata.ts b/apps/web/lib/seo-metadata.tsindex 61b9efa45..6b3759fd2 100644--- a/apps/web/lib/seo-metadata.ts+++ b/apps/web/lib/seo-metadata.ts@@ -254,6 +254,21 @@ export const seoMetadata = {],ogImage: "/og.png",},+ "self-hosted-screen-recording": {+ title:+ "Self-Hosted Screen Recording — Own Your Data, No Vendor Lock-In | Cap",+ description:+ "Cap lets you self-host screen recordings on your own S3-compatible storage. Connect AWS S3, Cloudflare R2, or MinIO — recordings go directly to your infrastructure. Open source, MIT-licensed, free to use.",+ keywords: [+ "self hosted screen recording",+ "self hosted screen recorder",+ "self-host screen recordings",+ "s3 screen recorder",+ "private screen recording",+ "on premise screen recorder",+ ],+ ogImage: "/og.png",+ },};export const getMetadataBySlug = (slug: string) =>diff --git a/apps/web/lib/seo-pages.ts b/apps/web/lib/seo-pages.tsindex b4913c892..b732a210c 100644--- a/apps/web/lib/seo-pages.ts+++ b/apps/web/lib/seo-pages.ts@@ -70,6 +70,10 @@ import {ScreenRecordWindowsPage,screenRecordWindowsContent,} from "@/components/pages/seo/ScreenRecordWindowsPage";+import {+ SelfHostedScreenRecordingPage,+ selfHostedScreenRecordingContent,+} from "@/components/pages/seo/SelfHostedScreenRecordingPage";import {VideoRecordingSoftwarePage,videoRecordingSoftwareContent,@@ -159,6 +163,10 @@ export const seoPages: Record<component: HipaaCompliantScreenRecordingPage,content: hipaaCompliantScreenRecordingContent,},+ "self-hosted-screen-recording": {+ component: SelfHostedScreenRecordingPage,+ content: selfHostedScreenRecordingContent,+ },};export const getPageBySlug = (slug: string) => seoPages[slug];