Skip to content

Instantly share code, notes, and snippets.

@verdverm
Created August 11, 2025 08:28
Show Gist options
  • Save verdverm/83966e76df82b75108b4d2921a625748 to your computer and use it in GitHub Desktop.
Save verdverm/83966e76df82b75108b4d2921a625748 to your computer and use it in GitHub Desktop.
Find out who you love on @atproto
CGO_ENABLED=1 go install github.com/blebbit/at-mirror
at-mirror repo sync verdverm.com
at-mirror repo duckdb ./data/repos/did:plc:2jtyqespp2zfodukwvktqwe6.car
duckdb ./data/repos/did:plc:2jtyqespp2zfodukwvktqwe6.duckdb
SELECT
split_part(record->'$.subject.uri', '/', 3) as did,
count(*) as likes
FROM records
WHERE nsid = 'app.bsky.feed.like'
GROUP BY did
ORDER BY count(*) desc
LIMIT 32;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment