fix
57
ja%2FAiat.md
57
ja%2FAiat.md
@@ -1,57 +0,0 @@
|
|||||||
# 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": "data",
|
|
||||||
"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を作っています。
|
|
||||||
Reference in New Issue
Block a user