Something went wrong. Try again.
Monorepo for Aesthetic.Computer aesthetic.computer
Something went wrong. Try again.
Shell
1234567891011121314151617#!/bin/bash# Fast pipe script - send lines to session server asynchronouslywhile IFS= read -r line; do # Echo immediately (no delay) echo "$line" # Send to server in background (fire and forget) ( escaped_line=$(echo "$line" | sed 's/\\/\\\\/g' | sed 's/"/\\"/g') curl -s -X POST https://session-server.aesthetic.computer/build-stream \ --header "Content-Type: application/json" \ --data "{\"line\": \"$escaped_line\"}" > /dev/null 2>&1 ) &done# Wait for all background jobs to finishwait