{"id":39377974,"url":"https://github.com/mgerb/spacecap","last_synced_at":"2026-04-27T06:03:51.690Z","repository":{"id":309309925,"uuid":"1035293293","full_name":"mgerb/spacecap","owner":"mgerb","description":"A hardware accelerated replay capture tool focused on performance. Currently only supports Linux.","archived":false,"fork":false,"pushed_at":"2026-04-27T04:46:07.000Z","size":5758,"stargazers_count":0,"open_issues_count":16,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-27T05:28:42.265Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Zig","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mgerb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-08-10T04:38:57.000Z","updated_at":"2026-04-27T04:33:58.000Z","dependencies_parsed_at":"2026-02-15T05:03:35.647Z","dependency_job_id":"2c690b69-8331-4525-833b-e43f84ef6170","html_url":"https://github.com/mgerb/spacecap","commit_stats":null,"previous_names":["mgerb/spacecap"],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/mgerb/spacecap","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mgerb%2Fspacecap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mgerb%2Fspacecap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mgerb%2Fspacecap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mgerb%2Fspacecap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mgerb","download_url":"https://codeload.github.com/mgerb/spacecap/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mgerb%2Fspacecap/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32324555,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T23:26:28.701Z","status":"online","status_checked_at":"2026-04-27T02:00:06.769Z","response_time":128,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-01-18T02:57:34.782Z","updated_at":"2026-04-27T06:03:51.686Z","avatar_url":"https://github.com/mgerb.png","language":"Zig","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Spacecap\n\nA hardware accelerated replay capture tool focused on performance. Currently\nonly supports Linux. Still in early development (see roadmap below).\n\n![screenshot2](./screenshots/screenshot_3.png)\n\n\u003cp align=\"center\"\u003e(very early screenshot - UI still in development)\u003c/p\u003e\n\n- Written in [Zig](https://ziglang.org/).\n- Hardware accelerated encoding with Vulkan Video ([vulkan-zig](https://github.com/Snektron/vulkan-zig)).\n- UI built with [imgui](https://github.com/ocornut/imgui)/[SDL3](https://github.com/allyourcodebase/SDL3).\n\n## Features\n\n- Desktop/window/region capture.\n- Save last n seconds of video (video buffered in memory).\n- Global keybinds.\n\n## Roadmap\n\n- Screenshots.\n- Toggle recording (currently only replays are supported).\n- Video player/editor.\n  - Simple video editor (trim start/end).\n  - File browser to select videos to edit.\n- Additional video output formats (mp4, mov, mkv, gif, etc.).\n- Windows capture.\n\n## Why would you want to use this?\n\nYou're looking for a lightweight and performant way to capture video replays.\nThe goal of Spacecap is to be as fast and resource efficient as possible. To do\nthis, frame buffers stay on the GPU (via dma-buff) for the entire duration of\nthe encoding pipeline.\n\n## Requirements\n\n- A GPU that supports Vulkan Video.\n\n**NOTE:** Only tested on an Nvidia GPU so far. AMD will be supported, I just\nhave no way of testing at this time.\n\n### Linux\n\n- vulkan\n- pipewire\n- pipewire-pulse\n\n#### Global Keybinds\n\nIf your version of Linux supports [xdg-desktop-portal global shortcuts](https://wiki.archlinux.org/title/XDG_Desktop_Portal#List_of_backends_and_interfaces)\nthen they can be configured that way. Alternatively, Spacecap runs an IPC\nserver, which can be communicated with via Spacecap CLI.\n\nFor example, here is what a config in [niri](https://github.com/YaLTeR/niri) would look like:\n\n```kdl\nbinds {\n    Mod+Shift+R hotkey-overlay-title=\"Spacecap: save replay\" { spawn-sh \"spacecap -s save-replay \u0026\u0026 notify-send 'Spacecap' 'Replay saved'\"; }\n}\n```\n\nUse `spacecap -h` to see available commands.\n\n### Windows\n\nWindows is not yet supported. Spacecap is architected in such a way\nthat it can be cross platform. For Windows support, the audio/video capture\ninterfaces need to be implemented. It's on the roadmap, but is not currently\na priority.\n\n## Development\n\n[Nix](https://nixos.org/download/#download-nix) is required for development,\nunless you want to install all dependencies manually. See `flake.nix` if you'd\nlike to do so.\n\n```sh\n# Build\nnix develop -c zig build -Dnix\n\n# Run\nnix develop -c zig build run -Dnix\n\n# Test\nnix develop -c zig build test -Dnix\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmgerb%2Fspacecap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmgerb%2Fspacecap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmgerb%2Fspacecap/lists"}