Cap is an open source and privacy focused alternative to Loom. It's a video messaging tool that allows you to record, edit and share videos in seconds.
The development of Cap is still in its early stages, so please bare with us as we build out this guide.
This guide is for anyone who wants to contribute to Cap. It's a work in progress, and will be updated regularly.
There are many ways to contribute to Cap. You can:
- Report a bug
- Suggest a feature (via Discord)
- Submit a PR
Before anything else, make sure you have the following installed:
- Node Version 20+
- Rust 1.88.0+
- pnpm 8.10.5+
- Docker (OrbStack recommended)
Run pnpm install, then run pnpm cap-setup to install native dependencies such as FFmpeg.
On Windows, llvm, clang, and VCPKG must be installed.
On MacOS, cmake must be installed.
pnpm cap-setup does not yet install these dependencies for you.
Run pnpm env-setup to generate a .env file configured for your environment.
It will ask you which apps you intend to run, whether you'd like to use Docker to run S3 (MinIO) and MySQL locally,
and allow you to provide overrides as needed.
To run both @cap/desktop and @cap/web together, use pnpm dev.
To run only one of them, use pnpm dev:desktop or pnpm dev:web respectively.
When running @cap/desktop from a terminal on macOS,
you will need to grant permissions (screen recording, microphone, etc.) to the terminal, not the Cap app.
For example, if you run pnpm dev:desktop in the macOS Terminal.app,
you will need to grant permissions to it instead of Cap - Development.app.
You can find your recordings at ~/Library/Application Support/so.cap.desktop.dev/recordings on macOS,
and %programfiles%/so.cap.desktop.dev/recordings on Windows.
When running pnpm dev or pnpm dev:web, a MySQL database and MinIO S3 server will also be using Docker.
If you want to only run the @cap/web NextJS app, cd into ./apps/web and run pnpm dev.