A tool for tailing a labelers' firehose, rehydrating, and storing records for future analysis of moderation decisions.
at main 31 lines 847 B view raw
1# Bluesky Credentials 2BSKY_HANDLE=your-bluesky-handle.bsky.social 3BSKY_PASSWORD=your-app-password 4 5# Bluesky PDS and Labeler URL 6PDS=bsky.social 7WSS_URL=wss://your-labeler-service.com/xrpc/com.atproto.label.subscribeLabels 8 9# PLC Directory (for DID resolution) 10PLC_ENDPOINT=https://plc.wtf 11 12# Blob & Image Handling 13HYDRATE_BLOBS=false # Set to true to download images/videos 14BLOB_STORAGE_TYPE=local # 'local' or 's3' 15BLOB_STORAGE_PATH=./data/blobs # Path for local storage 16 17# S3 Configuration (only required if BLOB_STORAGE_TYPE is 's3') 18S3_BUCKET=your-s3-bucket-name 19S3_REGION=us-east-1 20AWS_ACCESS_KEY_ID=your-aws-access-key 21AWS_SECRET_ACCESS_KEY=your-aws-secret-key 22 23# Database 24DB_PATH=./data/skywatch.duckdb 25 26# Filtering (Optional) 27# Comma-separated list of labels to capture, e.g., "spam,hate-speech" 28CAPTURE_LABELS= 29 30# Logging 31LOG_LEVEL=info