Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

Use presigned POST and add CloudFront invalidation

Richie McIlroydc03d2c37853
diff --git a/apps/web/actions/admin/replace-video.ts b/apps/web/actions/admin/replace-video.ts
index d6ef23547..09dd13918 100644
--- a/apps/web/actions/admin/replace-video.ts
+++ b/apps/web/actions/admin/replace-video.ts
@@ -1,9 +1,14 @@
"use server";
+import {
+ CloudFrontClient,
+ CreateInvalidationCommand,
+} from "@aws-sdk/client-cloudfront";
import { db } from "@cap/database";
import { getCurrentUser } from "@cap/database/auth/session";
import { videos } from "@cap/database/schema";
-import { S3Buckets } from "@cap/web-backend";
+import { serverEnv } from "@cap/env";
+import { AwsCredentials, S3Buckets } from "@cap/web-backend";
import { S3Bucket } from "@cap/web-domain";
import { eq } from "drizzle-orm";
import { Effect, Option } from "effect";
@@ -11,12 +16,15 @@ import { Effect, Option } from "effect";
import { MESSENGER_ADMIN_EMAIL } from "@/lib/messenger/constants";
import { runPromise } from "@/lib/server";
-export async function getVideoReplaceUploadUrl(videoId: string) {
+async function requireAdmin() {
const user = await getCurrentUser();
if (!user || user.email !== MESSENGER_ADMIN_EMAIL) {
throw new Error("Unauthorized");
}
+ return user;
+}
+async function getVideoOrThrow(videoId: string) {
const [video] = await db()
.select({
id: videos.id,
@@ -29,6 +37,12 @@ export async function getVideoReplaceUploadUrl(videoId: string) {
if (!video) {
throw new Error("Video not found");
}
+ return video;
+}
+
+export async function getVideoReplaceUploadUrl(videoId: string) {
+ await requireAdmin();
+ const video = await getVideoOrThrow(videoId);
const fileKey = `${video.ownerId}/${video.id}/result.mp4`;
@@ -36,14 +50,49 @@ export async function getVideoReplaceUploadUrl(videoId: string) {
Option.map((id) => S3Bucket.S3BucketId.make(id)),
);
- const presignedUrl = await Effect.gen(function* () {
+ const presignedPostData = await Effect.gen(function* () {
const [bucket] = yield* S3Buckets.getBucketAccess(bucketIdOption);
- return yield* bucket.getPresignedPutUrl(
- fileKey,
- { ContentType: "video/mp4" },
- { expiresIn: 1800 },
- );
+ return yield* bucket.getPresignedPostUrl(fileKey, {
+ Fields: { "Content-Type": "video/mp4" },
+ Expires: 1800,
+ });
}).pipe(runPromise);
- return { presignedUrl };
+ return { presignedPostData };
+}
+
+export async function invalidateVideoCache(videoId: string) {
+ await requireAdmin();
+ const video = await getVideoOrThrow(videoId);
+
+ if (video.bucket) {
+ return;
+ }
+
+ const distributionId = serverEnv().CAP_CLOUDFRONT_DISTRIBUTION_ID;
+ if (!distributionId) {
+ return;
+ }
+
+ const fileKey = `${video.ownerId}/${video.id}/result.mp4`;
+
+ const cloudfront = new CloudFrontClient({
+ region: serverEnv().CAP_AWS_REGION || "us-east-1",
+ credentials: await runPromise(
+ Effect.map(AwsCredentials, (c) => c.credentials),
+ ),
+ });
+
+ await cloudfront.send(
+ new CreateInvalidationCommand({
+ DistributionId: distributionId,
+ InvalidationBatch: {
+ CallerReference: `${Date.now()}`,
+ Paths: {
+ Quantity: 1,
+ Items: [`/${fileKey}`],
+ },
+ },
+ }),
+ );
}
diff --git a/apps/web/app/admin/replace-video/ReplaceVideoPanel.tsx b/apps/web/app/admin/replace-video/ReplaceVideoPanel.tsx
index ec36f9ac1..f1fabfd1d 100644
--- a/apps/web/app/admin/replace-video/ReplaceVideoPanel.tsx
+++ b/apps/web/app/admin/replace-video/ReplaceVideoPanel.tsx
@@ -1,7 +1,11 @@
"use client";
-import { useCallback, useId, useRef, useState } from "react";
-import { getVideoReplaceUploadUrl } from "@/actions/admin/replace-video";
+import type { PresignedPost } from "@aws-sdk/s3-presigned-post";
+import { useCallback, useId, useState } from "react";
+import {
+ getVideoReplaceUploadUrl,
+ invalidateVideoCache,
+} from "@/actions/admin/replace-video";
type Status =
| { type: "idle" }
@@ -9,11 +13,47 @@ type Status =
| { type: "success" }
| { type: "error"; message: string };
+function uploadWithPresignedPost(
+ postData: PresignedPost,
+ file: File,
+ onProgress: (percent: number) => void,
+): Promise<void> {
+ return new Promise((resolve, reject) => {
+ const formData = new FormData();
+ for (const [key, value] of Object.entries(postData.fields)) {
+ formData.append(key, value);
+ }
+ formData.append("file", file);
+
+ const xhr = new XMLHttpRequest();
+
+ xhr.upload.addEventListener("progress", (e) => {
+ if (e.lengthComputable) {
+ onProgress(Math.round((e.loaded / e.total) * 100));
+ }
+ });
+
+ xhr.addEventListener("load", () => {
+ if (xhr.status >= 200 && xhr.status < 300) {
+ resolve();
+ } else {
+ reject(new Error(`Upload failed with status ${xhr.status}`));
+ }
+ });
+
+ xhr.addEventListener("error", () => {
+ reject(new Error("Upload failed"));
+ });
+
+ xhr.open("POST", postData.url);
+ xhr.send(formData);
+ });
+}
+
export function ReplaceVideoPanel() {
const [videoId, setVideoId] = useState("");
const [file, setFile] = useState<File | null>(null);
const [status, setStatus] = useState<Status>({ type: "idle" });
- const xhrRef = useRef<XMLHttpRequest | null>(null);
const videoIdInputId = useId();
const fileInputId = useId();
@@ -26,46 +66,19 @@ export function ReplaceVideoPanel() {
setStatus({ type: "uploading", progress: 0 });
try {
- const { presignedUrl } = await getVideoReplaceUploadUrl(trimmedId);
-
- await new Promise<void>((resolve, reject) => {
- const xhr = new XMLHttpRequest();
- xhrRef.current = xhr;
-
- xhr.upload.addEventListener("progress", (e) => {
- if (e.lengthComputable) {
- setStatus({
- type: "uploading",
- progress: Math.round((e.loaded / e.total) * 100),
- });
- }
- });
-
- xhr.addEventListener("load", () => {
- if (xhr.status >= 200 && xhr.status < 300) {
- resolve();
- } else {
- reject(new Error(`Upload failed with status ${xhr.status}`));
- }
- });
-
- xhr.addEventListener("error", () => {
- reject(new Error("Upload failed"));
- });
-
- xhr.open("PUT", presignedUrl);
- xhr.setRequestHeader("Content-Type", "video/mp4");
- xhr.send(file);
+ const { presignedPostData } = await getVideoReplaceUploadUrl(trimmedId);
+
+ await uploadWithPresignedPost(presignedPostData, file, (progress) => {
+ setStatus({ type: "uploading", progress });
});
+ await invalidateVideoCache(trimmedId);
setStatus({ type: "success" });
} catch (err) {
setStatus({
type: "error",
message: err instanceof Error ? err.message : "Something went wrong",
});
- } finally {
- xhrRef.current = null;
}
},
[videoId, file],
diff --git a/apps/web/content/blog/best-free-screen-recorders-2026.mdx b/apps/web/content/blog/best-free-screen-recorders-2026.mdx
deleted file mode 100644
index 3d8af036e..000000000
--- a/apps/web/content/blog/best-free-screen-recorders-2026.mdx
+++ /dev/null
@@ -1,191 +0,0 @@
----
-title: Best Free Screen Recorders in 2026
-description: Looking for the best free screen recorder? We've tested and ranked the top options available in 2026, covering features, quality, and ease of use.
-publishedAt: "2026-02-24"
-category: Guide
-image: /blog/og.png
-author: Richie McIlroy
-tags: Screen Recording, Tools, Guide
----
-
-Screen recording has become an essential tool for developers, designers, educators, and content creators. Whether you're recording a quick bug report, creating a product demo, or building a tutorial series, having the right free screen recorder makes all the difference.
-
-We've tested and compared the most popular free screen recorders available in 2026 so you can pick the right one for your workflow.
-
-## What Makes a Great Free Screen Recorder?
-
-Before diving in, here's what we evaluated each tool on:
-
-- **Recording quality** — does it capture at full resolution without compression artifacts?
-- **Audio recording** — system audio and microphone support
-- **Ease of use** — how fast can you go from open to recording?
-- **Sharing** — how do you get your recording to someone else?
-- **Platform support** — macOS, Windows, Linux, or browser-based?
-- **Open source** — is the code auditable and self-hostable?
-
----
-
-## 1. Cap — Best Overall Free Screen Recorder
-
-[Cap](https://cap.so) is an open source screen recorder built for fast sharing. It's the closest thing to a free Loom alternative, and in many ways it surpasses it.
-
-**What makes Cap stand out:**
-
-- Records your screen and webcam simultaneously with a clean floating UI
-- Generates a shareable link instantly the moment you stop recording
-- Built-in video editor with trimming, custom backgrounds, and padding
-- AI-generated titles and descriptions via Groq
-- Password protection and expiry dates on shared links
-- Comment and reaction support on shared videos
-- Fully open source — you can self-host the entire platform
-- Available as a desktop app (macOS, Windows) and browser-based recorder
-
-Cap's instant link sharing model is its biggest advantage over traditional screen recorders. There's no export step, no uploading after the fact — your Cap link is live the moment recording stops.
-
-The free tier is generous, and because Cap is open source, there's no vendor lock-in. You can self-host your own Cap instance and own your recordings completely.
-
-**Best for:** Developers, product teams, and anyone who needs to share recordings quickly without exporting files.
-
-**Download:** [cap.so/download](https://cap.so/download)
-
----
-
-## 2. OBS Studio — Best for Power Users and Streaming
-
-OBS Studio is the gold standard for free, open source screen recording and live streaming. It's been around for over a decade and has a massive community.
-
-**Strengths:**
-- Extremely powerful scene composition with multiple sources
-- Virtual camera output for use in video calls
-- Hardware encoding support (NVENC, VideoToolbox, etc.)
-- Completely free with no recording limits
-- Cross-platform: macOS, Windows, Linux
-
-**Weaknesses:**
-- Steep learning curve for new users
-- No built-in sharing — you export a file and share it yourself
-- Interface is overwhelming for simple use cases
-
-OBS is the right choice when you need full control over your recording setup — multiple scenes, overlays, audio routing, and streaming. For quick recordings you need to share immediately, it's overkill.
-
----
-
-## 3. ShareX — Best Free Recorder for Windows
-
-ShareX is a free, open source screen capture tool that's been a staple in the Windows community for years. It covers screenshots, GIFs, and full video recordings.
-
-**Strengths:**
-- Completely free and open source
-- Extensive automation and workflow tools
-- Supports uploading directly to dozens of services
-- Advanced annotation tools
-
-**Weaknesses:**
-- Windows only
-- UI is dated and complex
-- No webcam overlay or camera support for recordings
-
-If you're on Windows and need a powerful, no-cost tool with deep customization, ShareX is a serious option. But it lacks the polish and instant-sharing experience you get with Cap.
-
----
-
-## 4. Loom — Freemium With Limits
-
-Loom popularized the screen + webcam recording format that Cap and others have since adopted. The free tier exists but has significant restrictions.
-
-**Free tier limitations (as of 2026):**
-- 25 videos maximum in your library
-- 5 minutes per video
-- No custom branding
-
-**What Loom does well:**
-- Excellent viewer experience
-- Good team collaboration features
-- Reliable transcription
-
-Loom's free tier has become more restrictive over time. If you're building any kind of regular recording workflow, you'll hit the limits quickly. Cap offers a more generous free tier without the artificial caps, and unlike Loom, it's open source.
-
----
-
-## 5. Screenpipe — Best for AI-Powered Capture
-
-Screenpipe is an open source tool that continuously records your screen and audio, making everything searchable with AI. It's a different paradigm from traditional screen recorders.
-
-**Strengths:**
-- Continuous recording with local storage
-- AI-powered search across your recordings
-- Privacy-focused — everything stays on your device
-- Open source
-
-**Weaknesses:**
-- Not designed for sharing recordings with others
-- High disk usage from continuous capture
-- More of a personal productivity tool than a communication tool
-
-Screenpipe is fascinating but serves a different use case. It's not the right tool if you need to quickly record something and share it with a colleague.
-
----
-
-## 6. Kap — Simple macOS Screen Recorder
-
-Kap is a lightweight, open source screen recorder for macOS. It focuses on simplicity and GIF/video export.
-
-**Strengths:**
-- Extremely simple interface
-- Great for recording short clips and GIFs
-- Open source
-
-**Weaknesses:**
-- macOS only
-- No webcam support
-- No built-in sharing — just local export
-
-Kap is a good choice if you need a simple, clean tool for capturing short screen clips on macOS without any complexity.
-
----
-
-## Comparison Table
-
-| Tool | Free Tier | Platform | Open Source | Instant Sharing | Webcam | Self-Host |
-|------|-----------|----------|-------------|-----------------|--------|-----------|
-| **Cap** | Generous | Mac, Win, Browser | ✅ | ✅ | ✅ | ✅ |
-| OBS Studio | Unlimited | Mac, Win, Linux | ✅ | ❌ | ✅ | — |
-| ShareX | Unlimited | Windows | ✅ | Partial | ❌ | — |
-| Loom | 25 videos, 5 min | Mac, Win, Browser | ❌ | ✅ | ✅ | ❌ |
-| Screenpipe | Unlimited | Mac, Win, Linux | ✅ | ❌ | ❌ | ✅ |
-| Kap | Unlimited | macOS | ✅ | ❌ | ❌ | — |
-
----
-
-## Which Free Screen Recorder Should You Use?
-
-**For most people** — Cap is the best all-around choice. It's free, open source, works on macOS and Windows, and gets a shareable link into someone's hands faster than any other tool on this list.
-
-**For streamers and power users** — OBS Studio. Nothing matches its flexibility for complex recording setups.
-
-**For Windows power users** — ShareX if you live in a file-based workflow and need automation.
-
-**For teams already in the Atlassian/Google ecosystem** — Loom works well if you stay within the free tier limits.
-
-**For privacy-conscious personal use** — Screenpipe or Kap keep everything local.
-
----
-
-## Getting Started with Cap
-
-Cap is free to use and takes about 30 seconds to get started:
-
-1. Go to [cap.so/download](https://cap.so/download) and download the desktop app, or use the browser recorder directly at [cap.so](https://cap.so)
-2. Select your recording region, webcam, and audio sources
-3. Hit record
-4. Stop recording — your shareable Cap link is instantly ready
-
-No exports. No uploading. No waiting.
-
-For teams that need more — custom domains, advanced sharing controls, analytics — Cap's paid plans are available, but the free tier covers the majority of use cases.
-
----
-
-Screen recording technology has come a long way. The best free tools in 2026 are fast, high quality, and — in Cap's case — fully open source. There's no reason to pay for basic screen recording anymore.
-
-[Try Cap for free →](https://cap.so)
diff --git a/apps/web/content/blog/how-to-record-screen-on-mac-with-audio.mdx b/apps/web/content/blog/how-to-record-screen-on-mac-with-audio.mdx
deleted file mode 100644
index 282e724b0..000000000
--- a/apps/web/content/blog/how-to-record-screen-on-mac-with-audio.mdx
+++ /dev/null
@@ -1,156 +0,0 @@
----
-title: How to Record Your Screen on Mac with Audio
-description: Learn how to record your Mac screen with audio — both system sound and microphone — using built-in tools and free third-party apps. A practical 2026 guide.
-publishedAt: "2026-02-24"
-category: Guide
-image: /blog/og.png
-author: Richie McIlroy
-tags: Screen Recording, Mac, Audio, Guide
----
-
-Recording your screen on a Mac is easy. Recording it *with audio* — especially internal system audio — is where most people get stuck.
-
-macOS doesn't make this obvious. Cmd+Shift+5, Apple's built-in screen recorder, can capture microphone audio but won't capture what's playing through your speakers or headphones. If you're recording a demo, a tutorial, or anything where the viewer needs to hear what's on screen, you need a different approach.
-
-Here's everything you need to know.
-
----
-
-## Why Mac Screen Recording with Audio Is Complicated
-
-The short version: Apple restricts system audio capture by default for privacy and copyright reasons.
-
-When you use Cmd+Shift+5 or QuickTime to record your screen, you can:
-- Record video of your screen ✅
-- Record your microphone ✅
-- Record system audio (what's playing through speakers) ❌
-
-To capture system audio with Apple's tools, you need a virtual audio device like BlackHole or Loopback — which involves terminal commands, Audio MIDI Setup configuration, and remembering to switch everything back when you're done.
-
-Or you can skip all of that and use Cap.
-
----
-
-## Method 1: Cap — Screen Recording with Audio in 2 Clicks
-
-[Cap](https://cap.so) handles Mac system audio capture natively. No virtual audio drivers, no Audio MIDI Setup, no configuration.
-
-**How to record your Mac screen with audio using Cap:**
-
-1. **Download Cap** from [cap.so/download](https://cap.so/download) and install it
-2. **Click the Cap icon** in your menu bar
-3. **Enable "Record System Audio"** — this captures everything playing through your Mac
-4. **Optionally enable your microphone** if you want to narrate while recording
-5. **Select your recording area** — full screen, a specific window, or a custom region
-6. **Click Start Recording**
-
-When you stop, Cap generates a shareable link instantly. No exporting, no uploading — your link is live the moment recording stops.
-
-**Why Cap is the best option:**
-
-- Works on macOS Sonoma, Ventura, Monterey and all M-series chips (M1, M2, M3, M4)
-- No kernel extensions or virtual audio devices required
-- Records system audio and microphone on separate tracks — adjust levels independently in the editor
-- Free to use with no recording time limits
-- Open source — [github.com/CapSoftware/Cap](https://github.com/CapSoftware/Cap)
-
----
-
-## Method 2: QuickTime + BlackHole (Free but Technical)
-
-If you prefer Apple's built-in QuickTime, you can route system audio through BlackHole, a free virtual audio driver.
-
-**Setup steps:**
-
-1. Install BlackHole: run `brew install blackhole-2ch` in Terminal (requires Homebrew)
-2. Open **Audio MIDI Setup** (search in Spotlight)
-3. Click the **+** button and choose **Create Multi-Output Device**
-4. Check both your normal output (speakers/headphones) and BlackHole 2ch
-5. Open **System Preferences → Sound → Output** and select the Multi-Output Device
-6. Open QuickTime Player, go to **File → New Screen Recording**
-7. Click the dropdown arrow next to the record button and select **BlackHole 2ch** as the microphone
-8. Record your screen
-
-**The catch:** You need to remember to switch your audio output back to normal speakers when you're done, otherwise your Mac will have no audio output. It's also a multi-step process every time you want to record.
-
----
-
-## Method 3: OBS Studio (Free, Powerful, Complex)
-
-OBS Studio is the standard for professional recording and live streaming. It can record system audio on Mac, but the setup is non-trivial.
-
-You'll need BlackHole installed (same as Method 2), then configure OBS to use it as an audio capture source. OBS gives you complete control over scenes, multiple sources, and output formats — but it's significant overkill if you just want to record your screen with audio and share it.
-
----
-
-## Comparison: Mac Screen Recording with Audio Options
-
-| Method | System Audio | Microphone | Complexity | Cost |
-|--------|-------------|------------|------------|------|
-| **Cap** | ✅ Built-in | ✅ | Simple | Free |
-| Cmd+Shift+5 | ❌ | ✅ | Simple | Free |
-| QuickTime + BlackHole | ✅ | ✅ | Complex | Free |
-| OBS Studio | ✅ (with BlackHole) | ✅ | Complex | Free |
-| Loopback | ✅ | ✅ | Medium | $99 |
-
----
-
-## Recording Both Microphone and System Audio Simultaneously
-
-With Cap, both audio sources are captured at the same time and stored on separate tracks. In the Cap editor, you can:
-
-- Adjust the volume of system audio independently from your microphone
-- Increase or decrease dB gain to fix quiet or loud audio
-- Mute either track entirely for a section
-
-This is particularly useful for tutorials where you're narrating (microphone) while demonstrating software that has its own sound effects or music (system audio).
-
----
-
-## Common Issues and Fixes
-
-**"System audio option is greyed out or missing"**
-
-Make sure you've granted Cap screen recording permission. Go to **System Settings → Privacy & Security → Screen Recording** and ensure Cap is checked. You may need to restart Cap after granting permission.
-
-**"My recording has no audio at all"**
-
-Check that the correct audio source is selected in Cap's recording menu. If using QuickTime, verify BlackHole is set as the input device.
-
-**"FaceTime or Zoom audio isn't being captured"**
-
-Some apps have special privacy protections. In Cap, make sure to select "Record entire screen" (not just a window) to capture protected app audio.
-
-**"There's an echo in my recording"**
-
-This happens when your microphone picks up audio playing through your speakers. Either use headphones when recording, or disable the microphone track if you only need system audio.
-
-**"Recording stopped working after a macOS update"**
-
-macOS updates sometimes reset privacy permissions. Check **System Settings → Privacy & Security → Screen Recording** and re-authorize Cap.
-
----
-
-## Tips for Better Screen Recordings
-
-**Use headphones when narrating.** Prevents echo between your microphone and speakers when recording system audio.
-
-**Record at 60fps for demos.** Cap supports high frame rate recording — enable it in settings for smoother animations and cursor movement.
-
-**Trim before sharing.** Cap's built-in editor lets you cut the first few seconds (where you're getting set up) and the last few (awkward pauses before you remember to stop).
-
-**Add a custom background.** If you're recording a window rather than full screen, Cap can add padding and a custom background color or gradient to make it look more polished.
-
----
-
-## Getting Started
-
-The fastest way to record your Mac screen with audio:
-
-1. Download Cap at [cap.so/download](https://cap.so/download)
-2. Enable system audio recording in the menu bar icon
-3. Hit record
-
-Your recording is shareable as a link the moment you stop. No file management, no uploading, no waiting.
-
-[Download Cap for macOS →](https://cap.so/download)
diff --git a/apps/web/content/blog/how-to-record-screen-on-windows.mdx b/apps/web/content/blog/how-to-record-screen-on-windows.mdx
deleted file mode 100644
index 9282d983f..000000000
--- a/apps/web/content/blog/how-to-record-screen-on-windows.mdx
+++ /dev/null
@@ -1,222 +0,0 @@
----
-title: How to Record Your Screen on Windows 10 & 11
-description: A complete guide to screen recording on Windows 10 and 11. Covers Xbox Game Bar, Snipping Tool, and Cap — the fastest way to record and share your screen.
-publishedAt: "2026-02-24"
-category: Guide
-image: /blog/og.png
-author: Richie McIlroy
-tags: Screen Recording, Windows, Guide
----
-
-Windows has built-in screen recording tools, but they come with significant limitations most people don't discover until they've already started recording. This guide covers every option — what works, what doesn't, and when to use each one.
-
----
-
-## Built-in Screen Recording on Windows 10 & 11
-
-### Xbox Game Bar (Win + G)
-
-The Xbox Game Bar is the most commonly cited way to record your screen on Windows. Press **Win + G** to open it, then click the record button or use **Win + Alt + R** to start recording immediately.
-
-**What it does well:**
-- No setup required — it's built into Windows 10 and 11
-- Records microphone audio alongside screen capture
-- Captures the active window at up to 60fps
-- Free with no time limits
-
-**What it can't do:**
-- Only records one window at a time — you can't capture the full desktop or multiple applications
-- Won't record File Explorer, the Windows desktop, or most system windows
-- Doesn't capture system audio from other apps reliably on all hardware configurations
-- No built-in way to share recordings — files save to `Videos\Captures` and you're on your own
-
-The window restriction is the biggest problem. If your workflow involves switching between applications — a common scenario for software demos, bug reports, and tutorials — Xbox Game Bar isn't viable.
-
-### Snipping Tool (Windows 11)
-
-Windows 11 updated the Snipping Tool to include screen recording. Open it from the Start menu, switch to the video recorder tab, and select your capture area.
-
-**What it does well:**
-- Records a defined region of your screen
-- Simple interface with no configuration
-- Integrated directly into Windows 11
-
-**What it can't do:**
-- No audio recording — it captures video only, no microphone, no system sound
-- No instant sharing — saves as an MP4 file you have to distribute yourself
-- Windows 11 only — not available on Windows 10
-
-The audio limitation makes it impractical for most use cases beyond capturing silent UI interactions.
-
-### Steps Recorder
-
-Steps Recorder (search for it in Start) captures a series of screenshots with annotations as you click through a process. It's not a video recorder — it produces an HTML or ZIP file with annotated screenshots.
-
-It's useful for documenting a series of steps for IT support purposes. It's not useful for recording anything that needs to be watched as a video.
-
----
-
-## Method 1: Cap — The Fastest Way to Record and Share on Windows
-
-[Cap](https://cap.so) is an open source screen recorder built for fast sharing. It removes every friction point: no window restrictions, audio works out of the box, and your recording is instantly shareable as a link the moment you stop.
-
-**How to record your screen on Windows with Cap:**
-
-1. **Download Cap** from [cap.so/download](https://cap.so/download) and install it
-2. **Open Cap** from your taskbar or Start menu
-3. **Choose your recording area** — full screen, a specific window, or a custom region
-4. **Enable audio sources** — microphone, system audio, or both
-5. **Click Start Recording**
-6. **Stop recording** — Cap generates a shareable link instantly
-
-No saving, no exporting, no uploading. Your link is live the moment recording stops.
-
-**Why Cap beats the built-in options:**
-
-- Records the full desktop, any window, or a custom region — no restrictions
-- Captures both microphone and system audio on separate tracks
-- Works on Windows 10 and Windows 11
-- Built-in editor: trim, add backgrounds, adjust audio levels
-- AI-generated titles and descriptions
-- Password protection and expiry dates on shared links
-- Open source — [github.com/CapSoftware/Cap](https://github.com/CapSoftware/Cap)
-- Free to use
-
----
-
-## Method 2: OBS Studio (Free, Powerful, Complex)
-
-OBS Studio is the industry standard for screen recording and live streaming. It's completely free and handles virtually any recording scenario.
-
-**How to record with OBS on Windows:**
-
-1. Download OBS Studio from obsproject.com
-2. On first launch, run the Auto-Configuration Wizard
-3. In the Sources panel, click **+** and add **Display Capture** or **Window Capture**
-4. Add an **Audio Input Capture** source for your microphone
-5. Click **Start Recording** in the Controls panel
-
-**Strengths:**
-- Complete control over resolution, bitrate, and output format
-- Supports multiple simultaneous sources (screen, webcam, audio)
-- Virtual camera output for video calls
-- Hardware-accelerated encoding (NVENC on NVIDIA GPUs)
-
-**Weaknesses:**
-- Significant learning curve for new users
-- No built-in sharing — exports a file you share manually
-- Overkill for most everyday recording tasks
-
-OBS is the right tool when you need maximum control over your recording setup. For quick recordings that need to be shared immediately, it's more work than most situations require.
-
----
-
-## Method 3: ShareX (Free, Windows-Only)
-
-ShareX is a free, open source capture tool with a strong following in the Windows community. It handles screenshots, GIFs, and video recordings, and supports uploading directly to many hosting services.
-
-**Strengths:**
-- Completely free and open source
-- Extensive automation — set up workflows triggered by captures
-- Upload directly to Imgur, Dropbox, Google Drive, and dozens more
-- Advanced annotation tools
-
-**Weaknesses:**
-- Windows only
-- Complex interface with a steep learning curve
-- No webcam overlay support in recordings
-- No instant shareable links — you configure upload destinations manually
-
-ShareX is a serious tool for Windows power users who want deep automation and control. It's not designed for quick, frictionless sharing.
-
----
-
-## Comparison: Windows Screen Recording Options
-
-| Method | Full Desktop | Audio | Instant Sharing | Webcam | Cost |
-|--------|-------------|-------|-----------------|--------|------|
-| **Cap** | ✅ | ✅ System + Mic | ✅ Link | ✅ | Free |
-| Xbox Game Bar | ❌ Active window only | ✅ Mic only | ❌ File | ❌ | Free |
-| Snipping Tool | ✅ Region | ❌ None | ❌ File | ❌ | Free (Win 11) |
-| OBS Studio | ✅ | ✅ | ❌ File | ✅ | Free |
-| ShareX | ✅ | ✅ | Partial | ❌ | Free |
-| Loom | ✅ | ✅ | ✅ Link | ✅ | Freemium |
-
----
-
-## Recording System Audio on Windows
-
-Recording what's playing through your speakers (system audio) varies by tool:
-
-**Cap** — system audio is a toggle in the recording menu. Enable it and it works.
-
-**Xbox Game Bar** — can capture game audio from the active app. Unreliable for non-game applications.
-
-**OBS Studio** — add a **Desktop Audio** source in the Sources panel. Works reliably across all apps.
-
-**ShareX** — configure audio sources in Settings → Screen Recorder. Captures system audio when configured.
-
----
-
-## Recording the Full Desktop vs. a Specific Window
-
-This is where Xbox Game Bar falls short for most people. It's designed for gaming — capturing one foreground application — and that's what it does.
-
-For any workflow that requires:
-- Switching between applications mid-recording
-- Capturing the Windows desktop, File Explorer, or system windows
-- Recording multiple monitors
-
-You need Cap, OBS, or ShareX. Cap is the simplest of the three.
-
----
-
-## Troubleshooting Common Windows Recording Issues
-
-**"Xbox Game Bar won't open" / Win + G does nothing**
-
-Game Bar can be disabled in Windows settings. Go to **Settings → Gaming → Xbox Game Bar** and make sure it's enabled.
-
-**"My recording is a black screen"**
-
-This often happens with hardware acceleration. In OBS, try switching your Display Capture source from "Windows Graphics Capture" to "DXGI Desktop Duplication". In Xbox Game Bar, some games use anti-cheat software that blocks capture.
-
-**"No audio in my recording"**
-
-Check that you've selected the correct audio source. In Cap, make sure the microphone or system audio toggle is enabled. In OBS, verify that Desktop Audio and Mic/Auxiliary are not muted in the Audio Mixer.
-
-**"Recording performance is impacting my game or app"**
-
-Use hardware encoding if available. In OBS, go to **Settings → Output** and change the encoder to NVENC (NVIDIA), AMF (AMD), or QuickSync (Intel). Cap handles encoding efficiently in the background with minimal impact.
-
-**"Snipping Tool video has no sound"**
-
-This is expected — Snipping Tool doesn't record audio. Use Cap or OBS if you need audio.
-
----
-
-## Tips for Better Screen Recordings on Windows
-
-**Set your display scaling to 100% before recording.** Windows display scaling can cause blurriness in recordings. Recording at native resolution produces the sharpest output.
-
-**Close unnecessary applications.** Fewer background processes means more resources for encoding, which reduces dropped frames and stuttering in recordings.
-
-**Use a wired microphone or headset.** Bluetooth audio introduces latency that can cause sync issues between your voice and the screen recording.
-
-**Record at 1080p/60fps for software demos.** This gives smooth playback for fast cursor movements and animations without excessive file sizes.
-
-**Trim the start and end.** Cap's built-in editor makes this quick — cut the "getting ready" moments before you click record and the pause before you click stop.
-
----
-
-## Getting Started
-
-The fastest way to start recording your Windows screen:
-
-1. Download Cap at [cap.so/download](https://cap.so/download)
-2. Select your recording region and audio sources
-3. Hit record
-
-When you stop, your recording is live as a shareable link — no export, no upload, no wait.
-
-[Download Cap for Windows →](https://cap.so/download)