1
0
bot/test/feed.zsh
syui 84efc31248
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 3s
add feed watch
2024-08-18 01:30:48 +09:00

6 lines
255 B
Bash

function feed(){
token=`cat ~/.config/ai/token.json|jq -r .accessJwt`
url=at://did:plc:4hqjfn7m6n5hno3doamuhgef/app.bsky.feed.generator/cmd
curl -sL "https://public.api.bsky.app/xrpc/app.bsky.feed.getFeed?feed=$url" -H "Authorization: Bearer $token"
}