gnuboard5-activitypub/README.md

58 lines
1.9 KiB
Markdown
Raw Normal View History

2022-06-29 12:10:49 +00:00
# gnuboard5-activitypub
ActivityPub implementation for GNUBOARD 5
2022-07-05 09:46:57 +00:00
## References
* https://www.w3.org/TR/activitypub/
* https://www.w3.org/TR/activitystreams-core/
* https://www.w3.org/TR/activitystreams-vocabulary/
* https://github.com/w3c/activitypub/issues/194
* https://docs.joinmastodon.org/spec/webfinger/
* https://organicdesign.nz/ActivityPub_Code
* https://socialhub.activitypub.rocks/t/posting-to-pleroma-inbox/1184
* https://github.com/broidHQ/integrations/tree/master/broid-schemas#readme
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
{
2022-07-05 09:38:19 +00:00
"@context": "https://www.w3.org/ns/activitystreams",
2022-07-05 09:25:05 +00:00
"type": "Create",
2022-07-05 09:38:19 +00:00
"id": "http://website.local/bbs/board.php?bo_table=apstreams#Draft",
"to": ["https://www.w3.org/ns/activitystreams#Public", "http://website.local/?route=activitypub.user&mb_id=admin"],
"actor": "http://website.local/?route=activitypub.user&mb_id=admin",
2022-07-05 09:25:05 +00:00
"object": {
"type": "Note",
2022-07-05 09:38:19 +00:00
"generator": "GNUBOARD5 ActivityPub Plugin (INSTANCE_ID: 4d6076784cbd864ade7c746690d37051, INSTANCE_VERSION: 0.1.10-dev)",
"id": "http://website.local/bbs/board.php?bo_table=apstreams&wr_id=156",
"attributedTo": "http://website.local/?route=activitypub.user&mb_id=admin",
"content": "hello world @admin@website.local",
"icon": "https://www.gravatar.com/avatar/bdbd5eb70305f1eaaa0340687758676a",
2022-07-05 09:25:05 +00:00
"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"
}
},
2022-07-05 09:38:19 +00:00
"published": "2022-07-05T09:37:06Z",
"updated": "2022-07-05T09:37:06Z"
2022-07-05 09:25:05 +00:00
}
```
2022-07-01 09:33:59 +00:00
## 문의
* gnh1201@gmail.com