diff --git a/ja%2FAiat.md b/ja%2FAiat.md new file mode 100644 index 0000000..a4d8225 --- /dev/null +++ b/ja%2FAiat.md @@ -0,0 +1,57 @@ +# Aiat + +[bluesky-social/atproto](https://github.com/bluesky-social/atproto)のselfhostと、clientを開発しています。 +```json +{ + "name": "Aiat", + "id": "ai.at", + "repo": "ai/at", + "bundle": "ai.syui.at", + "domain": "at.syui.ai" +} +``` + +## なぜatprotoを使うのか + +`atproto`はprotocolです。 + +アカウントシステムを構築するうえで便利なpkgが揃っています。 + +ユーザーは、didというidを与えられ、domainがuriになります。 + +```sh +at://did:plc:6qyecktefllvenje24fcxnie +at://did:web:6qyecktefllvenje24fcxnie +at://ai.syui.ai +``` +### request example + +```sh +$ did=did:plc:6qyecktefllvenje24fcxnie +``` + +```sh +$ curl -sL "plc.syu.is/${did}" + +$ curl -sL "syu.is/xrpc/com.atproto.repo.describeRepo?repo=${did}" +``` + +## selfhost + +pds, bsky, bgs, plc, jetstream, ozone, social-appを動かしています。 + +```json +{ + "pds": "date", + "bsky": "api", + "bgs": "timeline", + "plc": "did", + "jetstream": "feed", + "ozone": "moderation", + "social-app": "web" +} +``` + +## client + +[bluesky-social/social-app](https://github.com/bluesky-social/social-app)をベースにios/web clientを作っています。 \ No newline at end of file