Skip to content
d-green-grunePublic
forked from wulkano/Kap

About

An open-source screen recorder built with web technology

Resources

Code of conduct

Contributing

Stars

0 stars

Watchers

0 watching

Forks

 
 

Repository files navigation

Kap

An open-source screen recorder built with web technology

About this fork

This fork of Kap 3.6.0 runs on macOS 27 on Apple silicon. Upstream Kap is not maintained.

Changes from upstream

  • Native helper binaries. Several dependencies (mac-windows, mac-open-with, macos-audio-devices, mac-screen-capture-permissions) ship x86_64-only binaries. Without Rosetta they fail with spawn Unknown system error -86, and Kap cannot open the recorder. The sources are in native/, and yarn install builds them for the build machine.
  • Screen Recording permission. The permission check uses CGPreflightScreenCaptureAccess() and CGRequestScreenCaptureAccess(). The old check used CGDisplayStream, which is unavailable in the macOS 27 SDK.
  • gifsicle 5.3.0. This version includes an arm64 binary.
  • Stage Manager alignment. With Stage Manager enabled, macOS moved the cropper window 16–20 px down, so recordings were offset from the selection. The cropper now stays on the display bounds. When you select an app from the side strip, Kap reads the window frame again after the app moves to the stage.
  • arm64 only. macOS 27 does not run on Intel Macs, and ffmpeg-static downloads the binary for the build machine only.
  • No update checks. The update checker is removed, so an upstream release cannot replace this build.
  • Faster launch. The cropper appears about 3 times faster at launch and about 5 times faster when you open it again. Menus that the cropper built on every render are now built when they open, and the Open With apps are loaded in the background when a recording starts.

Install from the DMG

Use these steps if someone gave you a Kap-<version>-arm64.dmg file. You need a Mac with Apple silicon.

  1. Open the DMG and drag Kap to the Applications folder. If an older Kap is open, quit it first.

  2. Open Kap. macOS blocks it, because this build is not notarized by Apple. Close the message.

  3. Open System Settings → Privacy & Security. In the Security section, click Open Anyway next to the message about Kap, and then confirm. As an alternative, run this command in Terminal:

    xattr -dr com.apple.quarantine /Applications/Kap.app
  4. Open Kap again. When Kap asks for screen recording access, open System Settings → Privacy & Security → Screen & System Audio Recording and turn on Kap. If the list has an old Kap entry, remove it first.

  5. Quit Kap and open it again. macOS applies the screen recording permission only after a restart.

  6. Click the Kap icon in the menu bar to record. If you turn on audio recording, allow microphone access when Kap asks.

Kap does not update itself. To update, quit Kap and install the new DMG in the same way. If the new build has the same signature, Kap keeps its screen recording permission.

Build and install

Requirements: macOS on Apple silicon, Xcode, and Node.js 16 with Yarn 1 (for example through Volta).

volta run --node 16 --yarn 1 yarn install
volta run --node 16 --yarn 1 yarn run pack

Use yarn run pack. yarn pack is a Yarn command that writes a tarball.

The app is written to dist/mac-arm64/Kap.app. Quit Kap, and then copy the app to /Applications. Kap must be in /Applications to start.

To choose the signing identity, set CSC_NAME. If the Apple timestamp service is not available, turn off the timestamp for a local build:

CSC_NAME="Your Name (TEAMID)" volta run --node 16 --yarn 1 yarn electron-builder --dir -c.mac.timestamp=none

To make a DMG for other people, run yarn dist instead of yarn run pack. It writes dist/Kap-<version>-arm64.dmg and a ZIP file with the same app. The DMG is notarized only when the APPLE_ID, APPLE_ID_PASSWORD and APPLE_TEAM_ID environment variables are set and the app is signed with a Developer ID certificate. Without notarization, people must use the steps in Install from the DMG.

After you install a new build

  • A new signature needs a new Screen Recording permission. In System Settings → Privacy & Security → Screen & System Audio Recording, remove the old Kap entry, open Kap, and turn on Kap in the list. Then quit and open Kap again.
  • Plugins are installed from npm into ~/Library/Application Support/Kap/plugins and are not changed by this fork. Plugins that include x86_64-only binaries fail with error -86 unless Rosetta is installed. For example, kap-do-not-disturb, kap-hide-desktop-icons, and kap-key-cast fail.

How to use Kap

Click the menu bar icon to bring up the screen recorder. After selecting what portion of the screen you'd like to record, hit the record button to start recording. Click the menu bar icon again to stop the recording.

Tip: While recording, Option-click the menu bar icon to pause or right-click for more options.

Plugins

For more info on how to create plugins, read the plugins docs.

Contribute

Read the contribution guide.

About

An open-source screen recorder built with web technology

Resources

Code of conduct

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages