Something went wrong. Try again.
Monorepo for Aesthetic.Computer aesthetic.computer
Something went wrong. Try again.
Shell
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859#!/bin/bash# Quick reference commands for moods ATProto integration# All commands assume you're in /workspaces/aesthetic-computer/at
echo "๐ฆ Moods ATProto Integration - Quick Commands"echo "=============================================="echo ""
echo "๐ Phase 1: Lexicon Creation"echo " node scripts/create-mood-lexicon.mjs --deploy"echo ""
echo "๐ Phase 4: Migration"echo " # Dry run"echo " node scripts/migrate-moods-to-atproto.mjs"echo ""echo " # Migrate single user"echo " node scripts/migrate-moods-to-atproto.mjs @jeffrey --execute"echo ""echo " # Migrate all users"echo " node scripts/migrate-moods-to-atproto.mjs --execute"echo ""
echo "๐ Phase 5: Auditing"echo " # Audit specific user"echo " node scripts/audit-mood-atproto-sync.mjs @jeffrey"echo ""echo " # Audit first 10 users"echo " node scripts/audit-mood-atproto-sync.mjs 10"echo ""echo " # Audit first 50 users"echo " node scripts/audit-mood-atproto-sync.mjs 50"echo ""
echo "๐ Testing Commands"echo " # Test mood creation (local)"echo " curl -X POST http://localhost:8888/api/mood \\"echo " -H 'Authorization: Bearer YOUR_TOKEN' \\"echo " -H 'Content-Type: application/json' \\"echo " -d '{\"mood\": \"testing atproto integration!\"}'"echo ""echo " # Test mood retrieval"echo " curl https://aesthetic.computer/api/mood/all"echo ""echo " # Query MongoDB for moods with ATProto sync"echo " mongosh 'mongodb+srv://...' --eval 'db.moods.find({\"atproto.uri\": {\$exists: true}}).limit(5)'"echo ""
echo "๐ Monitoring Queries"echo " # Count moods missing ATProto sync"echo " mongosh 'mongodb+srv://...' --eval 'db.moods.countDocuments({deleted: {\$ne: true}, \"atproto.uri\": {\$exists: false}})'"echo ""echo " # Count moods with ATProto sync"echo " mongosh 'mongodb+srv://...' --eval 'db.moods.countDocuments({\"atproto.uri\": {\$exists: true}})'"echo ""
echo "=============================================="echo "See MOODS-ATPROTO-INTEGRATION-PLAN.md for full details"