swiftcap records your screen and takes screenshots on X11 and Wayland. It ships a CLI (swiftcap) for scripting and a desktop app (swiftcap-ui) built with Fyne.
- Screen recording on X11 (x11grab) and Wayland (xdg-desktop-portal)
- Region, freeform, and full-screen capture
- Pause and resume, with segments joined on stop
- Screenshots copied to the clipboard with a desktop notification
- System tray controls with a live timer
- In-app preview with a built-in video player
- Countdown before capture
git clone https://github.com/almightynan/swiftcap.git
cd swiftcap
./scripts/install.shThe installer detects your package manager (apt, dnf, pacman, zypper, apk), pulls in the runtime dependencies, builds both binaries, and adds a desktop entry. It needs Go 1.22+.
Common flags:
./scripts/install.sh --prefix ~/.local # install somewhere else
./scripts/install.sh --no-deps # skip dependency installUninstall with ./scripts/uninstall.sh.
Launch the app from your menu or run swiftcap-ui. Set the FPS and output directory, then start a recording or grab a screenshot.
The CLI works standalone:
swiftcap record --out out.mp4 --fps 60 --audio on
swiftcap record --out out.mp4 --region 1280x720+0+0
swiftcap screenshot --out shot.png
swiftcap --helpffmpeg(required)xcliporwl-clipboardfor clipboard supportxdg-desktop-portal,pipewire, andgstreamerplugins for Wayland capture- OpenGL and X11 libs for the GUI (
libGL,libX11,libXcursor,libXrandr,libXi)
On Fedora and RHEL, ffmpeg lives in RPM Fusion rather than the base repos.
go build -o swiftcap ./cmd/swiftcap
go build -o swiftcap-ui ./cmd/swiftcap-uiThe CLI is pure Go. The UI uses cgo to link against system GL/X11.
Issues and pull requests are welcome. Please run go build ./... and go test ./... before opening a PR.