Something went wrong. Try again.
A local, encrypted notebook that grows as one line of replies. Every paragraph is at most 300 characters. You write the next one as a reply
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829#!/bin/zsh# Start bellows on 127.0.0.1 and open it in a Chrome incognito window.# Nothing is reachable from outside this machine.# Incognito keeps extensions out and leaves nothing of the input box on disk after you close it.# To stop the server, double-click stop.command.
DIR="$(cd "$(dirname "$0")" && pwd)"PORT=8782URL="http://127.0.0.1:${PORT}/"LOG="${TMPDIR:-/tmp}/bellows-server.log"
if ! curl -s -o /dev/null --max-time 1 "$URL"; then nohup python3 "$DIR/app/server.py" "$PORT" </dev/null >"$LOG" 2>&1 &! for i in {1..30}; do curl -s -o /dev/null --max-time 1 "$URL" && break sleep 0.2 donefiif [ -d "/Applications/Google Chrome.app" ]; then open -na "Google Chrome" --args --incognito --new-window "$URL"else open "$URL"fi
# Close the Terminal window this script openedWID=$(osascript -e "tell application \"Terminal\" to get id of (first window whose tty of selected tab is \"$(tty)\")" 2>/dev/null)[ -n "$WID" ] && ( sleep 0.5; osascript -e "tell application \"Terminal\" to close window id $WID" ) </dev/null >/dev/null 2>&1 &!exit 0