uakihir0 on Nostr: Mastodon 互換 Nostr Rest API である NostrRest を CloudRun ...
Mastodon 互換 Nostr Rest API である NostrRest を CloudRun にデプロイした。認証情報に npub を突っ込むと Mastodon っぽいユーザー情報が取得できる。以下はこの Nostr のアカウント情報。
curl --request GET \
--url https://nostr-rest-ervoyfxxqq-an.a.run.app/api/v1/accounts/verify_credentials \
--header 'Authorization: Bearer uakihir0 (npub1wah…ppzu)' \
--header 'Content-Type: application/json'
curl --request GET \
--url https://nostr-rest-ervoyfxxqq-an.a.run.app/api/v1/accounts/verify_credentials \
--header 'Authorization: Bearer uakihir0 (npub1wah…ppzu)' \
--header 'Content-Type: application/json'