Local REST, SSE, and WebSocket control for Sony cameras, built on top of Sony's official Camera Remote SDK.
This MIT-licensed open-source repository lets customers add REST API coverage for additional Sony Camera Remote SDK features.
Local SDK/vendor artifacts are intentionally excluded:
- Sony Camera Remote SDK files and binaries are not redistributed. Download the SDK yourself from the official Sony download page.
- The
shared/core/SDK integration wrapper (CameraDevice,PropertyValueTable, etc.) is Sony sample-derived and is also not redistributed. It ships in the SDK download and is placed locally by the extraction helper; only itsCMakeLists.txtandREADME.mdare tracked here. - OpenCV headers and runtime files copied from the SDK sample archive are local setup artifacts and are ignored.
- Generated client-SDK output and build folders are excluded — the clients are regenerated from
api/openapi.yaml, not committed. See the hosted SDK overview.
api/server/- C++ REST API server (MIT-licensed, in this repo).api/openapi.yaml- REST API contract (the single source of truth).shared/core/- SDK integration wrapper. Sony sample-derived, obtained from the SDK download (see docs/SDK_SETUP.md); onlyCMakeLists.txtandREADME.mdare tracked here.cli/- thecrsdkdeveloper CLI (build the server, manage the SDK, build the MCP bundle). Run it from the repo root with./crsdk.mcp/- the Alpha Camera MCP server for AI camera control, generated + hand-written from the same spec.fern/- Fern config that generates the TypeScript/Python client SDKs fromapi/openapi.yaml.site/- the documentation site (Astro Starlight), published to GitHub Pages.docs/- contributor documentation (this folder).skills/- agent skills for contributors adding API coverage.tests/unit/- deterministic unit tests that do not require camera hardware.
Hosted docs (GitHub Pages — the site has no custom domain):
Sony SDK files are not distributed in this repository. Download the SDK from the official Sony download page, then place it with crsdk install --zip <sony-sdk.zip> (see docs/SDK_SETUP.md for the expected folder layout).
The server is built from source — it links Sony's SDK, which cannot be redistributed, so there is no prebuilt binary to install. The quickest path:
./crsdk install --zip <sony-camera-remote-sdk.zip> # accept the EULA + place the SDK
./crsdk build # compile the CameraWebApp server
./crsdk start # run it on :8080For the manual CMake recipe, a specific platform, or a different SDK version, see docs/BUILDING_BINARIES.md.
Start with CONTRIBUTING.md. For adding missing SDK features, use docs/ADDING_SDK_APIS.md.
See docs/TESTING.md for unit/static checks, build checks, and camera-backed e2e curl flows.
The open-source project code is intended to be released under the MIT License. Sony Camera Remote SDK files remain subject to Sony's SDK license and must be obtained separately by each contributor.