Skip to content

Instantly share code, notes, and snippets.

View surabhivasudev's full-sized avatar

surabhivasudev

View GitHub Profile
@surabhivasudev
surabhivasudev / bootstrap-droplet-console.sh
Created May 21, 2026 22:35
intelligeni droplet bootstrap (private repo)
#!/bin/bash
# Run on the droplet as root (DigitalOcean web console or SSH).
# Repo is PRIVATE — set GITHUB_TOKEN before running (classic PAT with repo scope).
#
# export GITHUB_TOKEN="ghp_xxxxxxxx"
# bash bootstrap-droplet-console.sh
#
# Or paste this entire file into the console after exporting GITHUB_TOKEN.
set -euo pipefail