2022-06-29 12:10:49 +00:00
|
|
|
# gnuboard5-activitypub
|
|
|
|
ActivityPub implementation for GNUBOARD 5
|
|
|
|
|
|
|
|
## W3C Documentation
|
|
|
|
* https://www.w3.org/TR/activitypub/
|
2022-07-03 14:54:00 +00:00
|
|
|
* https://github.com/w3c/activitypub/issues/194
|
|
|
|
* https://docs.joinmastodon.org/spec/webfinger/
|
|
|
|
* https://organicdesign.nz/ActivityPub_Code
|
2022-07-03 14:54:48 +00:00
|
|
|
* https://socialhub.activitypub.rocks/t/posting-to-pleroma-inbox/1184
|
2022-06-29 12:11:50 +00:00
|
|
|
|
|
|
|
## 사용 전 설정
|
|
|
|
* `apstreams` 게시판 추가
|
2022-06-29 12:11:59 +00:00
|
|
|
* `apstreams` 사용자 추가
|
2022-07-01 09:31:46 +00:00
|
|
|
|
|
|
|
## 작업진행
|
2022-07-01 09:32:30 +00:00
|
|
|
- [x] WebFinger
|
2022-07-01 09:32:14 +00:00
|
|
|
- [x] User
|
|
|
|
- [x] Inbox
|
2022-07-03 14:54:00 +00:00
|
|
|
- [x] Outbox
|
2022-07-01 09:32:14 +00:00
|
|
|
- [x] Followers
|
|
|
|
- [x] Following
|
|
|
|
- [x] Liked
|
2022-07-01 09:33:59 +00:00
|
|
|
|
2022-07-05 09:25:05 +00:00
|
|
|
## 전문 예시
|
|
|
|
|
|
|
|
```json
|
|
|
|
{
|
|
|
|
"@context": "https:\/\/www.w3.org\/ns\/activitystreams",
|
|
|
|
"type": "Create",
|
|
|
|
"id": "",
|
|
|
|
"to": ["https:\/\/www.w3.org\/ns\/activitystreams#Public", "http:\/\/your-own-website.local\/?route=activitypub.user&mb_id=admin"],
|
|
|
|
"actor": "http:\/\/your-own-website.local\/?route=activitypub.user&mb_id=admin",
|
|
|
|
"object": {
|
|
|
|
"type": "Note",
|
|
|
|
"generator": "GNUBOARD5 ActivityPub Plugin (INSTANCE_ID: 4d6076784cbd864ade7c746690d37051)",
|
|
|
|
"id": "http:\/\/your-own-website.local\/bbs\/bbs\/board.php?bo_table=apstreams&wr_id=150",
|
|
|
|
"attributedTo": "http:\/\/your-own-website.local\/?route=activitypub.user&mb_id=admin",
|
|
|
|
"content": "hello world @admin@your-own-website.local",
|
|
|
|
"icon": "https:\/\/www.gravatar.com\/avatar\/bdbd5eb70305f1eaaa0340687758676a",
|
|
|
|
"location": {
|
|
|
|
"name": "xxx.xxx.xxx.xxx, Seoul, Seoul-teukbyeolsi, Korea (Republic of), KR, 06030, +09:00",
|
|
|
|
"type": "Place",
|
|
|
|
"longitude": 126.977943,
|
|
|
|
"latitude": 37.566311,
|
|
|
|
"units": "m"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"published": "2022-07-05T09:22:19Z",
|
|
|
|
"updated": "2022-07-05T09:22:19Z"
|
|
|
|
}
|
|
|
|
```
|
|
|
|
|
2022-07-01 09:33:59 +00:00
|
|
|
## 문의
|
|
|
|
* gnh1201@gmail.com
|