SkateSpots/scripts/cordn-join-watcher.sh
SkateSpots 66fc47cc28 feat: restore map footer, inline crew roles, Cordn reactions/push
- Keep the map footer links permanently visible; remove the hide toggle.
- Publish inline founder promote/demote from the member row.
- Add encrypted MLS reaction/delete/read control messages and UI.
- Add the minute Cordn join watcher: NIP-17 DMs + encrypted bell notices.
- Add the browser translation-matrix runner and a low-end performance finding.
2026-10-28 11:02:47 +07:00

10 lines
448 B
Bash
Executable file

#!/usr/bin/env bash
# Background watcher for Cordn private-chat join requests. Runs from the local
# repo so it can reach the coordinator and send NIP-17/NIP-78 notifications.
set -euo pipefail
cd "$(dirname "$0")/.."
if [ -d "$HOME/.nvm/versions/node" ]; then
NODE_BIN="$(ls -d "$HOME"/.nvm/versions/node/*/bin 2>/dev/null | sort -V | tail -1)"
[ -n "$NODE_BIN" ] && export PATH="$NODE_BIN:$PATH"
fi
exec npx tsx scripts/cordn-join-watcher.ts