Skip to content

Instantly share code, notes, and snippets.

View chromabox's full-sized avatar
😺
funny!

chromabox chromabox

😺
funny!
View GitHub Profile
@pojntfx
pojntfx / main.sh
Last active July 16, 2024 10:21
Bluesky/AT Protocol: cURL API Interaction Cheatsheet
#!/bin/bash
# This script resolves a DID, retrieves an API key, fetches a user's feed,
# and posts a "Hello, world" message to the user's feed.
# Resolve DID for handle
HANDLE='felicitas.pojtinger.com'
DID_URL="https://bsky.social/xrpc/com.atproto.identity.resolveHandle"
export DID=$(curl -G \
--data-urlencode "handle=$HANDLE" \