Skip to content
/ KapMod Public

Kap is open source screen recording app on Mac. I made a default path so no export waiting time.

License

Notifications You must be signed in to change notification settings

ilovejs/KapMod

Repository files navigation

KapMod

An open-source screen recorder built with web technology

XO code style

Is this mod working ?

Yep !! But his is a modification on top of Kap. Make sure you like it first, then you can make your own functions :)

OS: big sur

Fork from Kap3.3.2 - 10th Sep 2020

Aperture is a swift lib for MacOs

Upstream Kap's issue:

Can not pause

Instalation Steps:

  • Read How to build section

  • Especially, Copy Kap.app to Application

  • Fix issues in issues section

Motivation - WHY ?

  • Low CPU Fan RPM !

    Normally, recording in Chrome + Movavi (for example) bump 2/4 CPU to 80%... Fan burst to max level.

    With Kap + Safari, you can spend less energy and CPU cycle to record video. say 15mins, the fan slightly pick up at low-middle rpm.

    Try to show Fan RPM and CPU temperature:

    $ sudo powermetrics --samplers smc
    $ sudo powermetrics --samplers smc |grep -i "CPU die temperature"
    
  • Kap is open source screen recording app on Mac. It's elegant. I want to make use of its UI (Electron)

  • I made a default path so no Export waiting time. No convertion when export.

  • Aperture is a swift lib for MacOs. Kap use it as binary and js-binding. We can optimized parameter as practice.

    2k - 4k rpm, 50 degree (+20 room temperature)

WHY NOT ?

Upper souce library no API for Pause Recording

Require swift skills & time..

Get original Kap to learn GUI

Download the latest release (macOS only)

Or install with Homebrew-Cask:

$ brew install --cask kap

Plugins

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

Dev builds

Download master or builds for any other branch using: https://kap-artifacts.now.sh/<branch>. Note that these builds are unsupported and may have issues.

Related Repositories

Newsletter

Subscribe

Thanks

  • ▲ Vercel for fast deployments served from the edge, hosting our website, downloads, and updates.
  • ● CircleCI for supporting the open source community and making our builds fast and reliable.
  • △ Sentry for letting us know when Kap isn't behaving and helping us eradicate said behaviour.
  • Our contributors who help maintain Kap and make screen recording and sharing easy.

New binding for aperture

Looking at the aperture inside main, I put a executable file and index.js for module config.

Files: index.js main/with reference by aperture.js device.js

yarn remove aperture
yarn add -D file-url

Making sure Intelij IDE is used for developing. Since vscode would quit after run, so as from CLI . Bash.

How to build

bash build.sh

Copy Kap.app to Application !!

TODO:

tempy is still used by recording-history and convert

we can further extend !!

[1] CICD

https://circleci.com/

appcenter

Issue fix log

[1] spawn error ENMOT

Recording error after setCurrentRecording()
Error: Command failed with ENOENT: /Applications/Kap.app/Contents/Resources/app.asar.unpacked/main/utils/aperture/aperture {"destination":"file:///Users/mike/Movies/Kaptures/a3d6294fb5fae827b4a5a45723412b18.mp4","framesPerSecond":30,"showCursor":false,"highlightClicks":false,"screenId":69733632,"audioDeviceId":"AppleHDAEngineInput:1F,3,0,1,0:1","cropRect":[[419,379],[227,209]]}
spawn /Applications/Kap.app/Contents/Resources/app.asar.unpacked/main/utils/aperture/aperture ENOENT

Again, this is spawn issue,

  • Quick Fix:

U can create subfolder main/utils/aperture/ and copy binary aperture there.

Binary is available after install from yarn, visit node_modules/aperture ...

  • Proper Solution: Need to publish aperture as separated npm package

like others: Kap.app/Contents/Resource/app.asar.unpacked/node_modules: file-icon

About

Kap is open source screen recording app on Mac. I made a default path so no export waiting time.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages