-- Leo's gemini proxy

-- Connecting to git.thebackupbox.net:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini

repo: veilid-hacks
action: blob
revision:
path_from: query.sh
revision_from: refs/heads/trunk:
path_to:
revision_to:

git.thebackupbox.net

veilid-hacks

git://git.thebackupbox.net/veilid-hacks

blob of:

veilid-hacks

/ query.sh

refs/heads/trunk:/query.sh
 #!/usr/bin/env bash
 ### to ask the veilid server something and show only the first non-update json blob
 host=127.0.0.1
 port=5959
 nc "$host" "$port" | jq -n 'inputs | select(.type != "Update") | halt_error(0)' 2>&1

-- Response ended

-- Page fetched on Sun Jun 2 09:20:36 2024