Install and run the first check
These instructions are for installers and IT helpers on macOS or Linux. Windows has build evidence only; its runtime and credential workflow remain unverified. See Method and validation. Site owners can use the installer handoff.
-
Get ready
Obtain permission to test one feed. Confirm its exact video address. Obtain an approved viewing account if needed. Confirm that the feed uses H.264 over RTSP or RTSPS with TCP delivery. H.264 is a video format. RTSP requests a video feed. RTSPS adds encryption. TCP carries the data.
A VPN is an approved connection to another network. Use the computer that needs to receive the video, through its intended network or approved VPN. If you cannot install there, ask its owner or monitoring provider to run the test. A different computer tests only its own connection, even on the same network.
-
Install the preview
This early preview is for invited installers. The repository is private. Ask your inviter for an approved preview and support route. There is no public signup or installer. Without an invitation, prepare the installer handoff.
Obtain the
glassknock-previewartifact for your operating system and architecture from a successful private Checks workflow run, or ask your inviter to supply it through an approved channel. Artifact names include the runner’s OS and architecture, such asglassknock-preview-macOS-ARM64orglassknock-preview-Linux-X64;X64meansamd64. They expire after 30 days. Each contains the exact native archive that job started and itsSHA256SUMS. No Git or Go installation is needed.Terminal window uname -s -mDarwinmeans macOS (darwin); Linux useslinux.arm64oraarch64meansarm64;x86_64meansamd64. Each archive is namedglassknock-OS-ARCH.tar.gz. Verify its digest against the matchingSHA256SUMSentry usingshasum -a 256on macOS orsha256sumon Linux. Obtain both files from the same approved source; a checksum alone does not establish authenticity.Extract your selected archive into a new folder. For example, on macOS with Apple silicon:
Terminal window shasum -a 256 glassknock-darwin-arm64.tar.gztar -xzf glassknock-darwin-arm64.tar.gzcd glassknock-darwin-arm64./glassknock versionRead the included
INSTALL.txt. Install FFmpeg 5.1 or newer separately, with H.264 decoding, through your approved package source. These binaries are unsigned. If execution is blocked, ask IT or your inviter for an approved path. The workflow supplies only its native Linux and macOS archives. The local packager also buildslinux-arm64anddarwin-amd64; those have build evidence only. Startup does not establish real-camera compatibility.Source installation needs repository access and online access to source code, tools, and Go dependencies. Install these tools on the receiving computer:
Tool Required version Purpose Go 1.26.10 or newer Build Glassknock. FFmpeg 5.1 or newer, with H.264 decoding Read the received video data. Git An installed version Download the source code. Open a terminal, a window where you type commands. Set up GitHub HTTPS authentication for your approved account, then clone
main:Terminal window git clone --branch main --single-branch https://github.com/rimward/glassknock.gitcd glassknockFrom this project folder, run each command separately:
Terminal window go versionffmpeg -versiongo build -o glassknock ./cmd/glassknock./glassknock versiongit rev-parse HEADRecord the complete Glassknock and FFmpeg versions alongside your reports. The Glassknock version includes its source revision;
.dirtymeans local changes were present, andunknownmeans the revision is unavailable. The report’stool_versionhas the same value without the leadingv. Keep this executable for the repeat test:maincan change. Correct installation errors before continuing. Offline installation remains unvalidated. Read Method and validation for tested behavior and limits. -
Set up one feed
Create
feed.jsonin the project folder. Replace the entire example address with the address supplied by the installer. The example cannot connect to a real camera.feed.json {"id": "rear-gate","url": "rtsps://camera.example.invalid:322/live","duration_seconds": 30,"timeout_seconds": 5,"gap_seconds": 3}Choose a label in
idthat is safe to share. These settings request a 30-second sample, allow five seconds for a connection or request, and allow gaps up to three seconds. They are starting values, not site acceptance criteria. Agree the limits with the system owner. For intermittent problems, sample during the reported incident or repeat at relevant times; a short pass cannot rule out later interruptions. Each sample can last up to 300 seconds.No camera available? Keep the reserved
.invalidaddress and follow Practice without a camera. This exercises an incomplete result; it cannot prove video reception.For
rtsps://, confirm the device certificate trust with IT. Forrtsp://with a viewing account, obtain approval for the unencrypted connection first. Then add"allow_plaintext_credentials": trueto the JSON object, with a comma before the new field. Set this before saving the first report.See Advanced commands for configuration rules and credential options.
-
Save the first result
If the feed needs a viewing account, run:
Terminal window ./glassknock check --config feed.json --credentials --output before.jsonEnter the approved username and password in the local terminal. Neither value appears while you type. Press Enter after each value. Keep them out of AI conversations and support messages.
If the feed needs no account, run:
Terminal window ./glassknock check --config feed.json --output before.jsonRead the terminal result and keep
before.json. Foroutput_unavailable— “Cannot create the private report file. Choose a new file in a writable folder.” — choose an unused filename, such asbefore-2.json, in a folder you can write to. Glassknock refuses to overwrite a report.A nonzero exit status can still include a useful result. Read Understand the result, then follow Correct and repeat.
Your local files
Keep the executable and settings in the project folder. The checks create reports, not video recordings. The repeat test adds a new report.
Directoryglassknock/
- glassknock
- feed.json
- before.json
- after.json