Skip to content
GlassknockDocumentation
Rimward.ai

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.

  1. 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.

  2. 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-preview artifact 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 as glassknock-preview-macOS-ARM64 or glassknock-preview-Linux-X64; X64 means amd64. They expire after 30 days. Each contains the exact native archive that job started and its SHA256SUMS. No Git or Go installation is needed.

    Terminal window
    uname -s -m

    Darwin means macOS (darwin); Linux uses linux. arm64 or aarch64 means arm64; x86_64 means amd64. Each archive is named glassknock-OS-ARCH.tar.gz. Verify its digest against the matching SHA256SUMS entry using shasum -a 256 on macOS or sha256sum on 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.gz
    tar -xzf glassknock-darwin-arm64.tar.gz
    cd glassknock-darwin-arm64
    ./glassknock version

    Read 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 builds linux-arm64 and darwin-amd64; those have build evidence only. Startup does not establish real-camera compatibility.

    Record the complete Glassknock and FFmpeg versions alongside your reports. The Glassknock version includes its source revision; .dirty means local changes were present, and unknown means the revision is unavailable. The report’s tool_version has the same value without the leading v. Keep this executable for the repeat test: main can change. Correct installation errors before continuing. Offline installation remains unvalidated. Read Method and validation for tested behavior and limits.

  3. Set up one feed

    Create feed.json in 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 id that 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 .invalid address 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. For rtsp:// with a viewing account, obtain approval for the unencrypted connection first. Then add "allow_plaintext_credentials": true to 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.

  4. Save the first result

    If the feed needs a viewing account, run:

    Terminal window
    ./glassknock check --config feed.json --credentials --output before.json

    Enter 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.

    Read the terminal result and keep before.json. For output_unavailable — “Cannot create the private report file. Choose a new file in a writable folder.” — choose an unused filename, such as before-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