A simple tool which lets you scrape twitter accounts and crosspost them to bluesky accounts! Comes with a CLI and a webapp for managing profiles! Works with images/videos/link embeds/threads.
at main 22 lines 655 B view raw
1#!/usr/bin/env bash 2 3set -euo pipefail 4 5echo "🔧 Rebuilding native modules for Node $(node -v)..." 6 7if npm rebuild better-sqlite3 >/dev/null 2>&1; then 8 echo "✅ better-sqlite3 rebuilt successfully." 9 exit 0 10fi 11 12echo "⚠️ Standard rebuild failed. Retrying with --build-from-source..." 13if npm rebuild better-sqlite3 --build-from-source; then 14 echo "✅ better-sqlite3 built from source." 15 exit 0 16fi 17 18echo "❌ Failed to rebuild better-sqlite3 for this Node version." 19echo " macOS: run 'xcode-select --install'" 20echo " Debian/Ubuntu: sudo apt-get install -y build-essential python3 make g++" 21echo " Then run: npm run rebuild:native" 22exit 1