Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ActivityPub #1281

Closed
syuilo opened this issue Mar 25, 2018 · 4 comments
Closed

ActivityPub #1281

syuilo opened this issue Mar 25, 2018 · 4 comments
Labels
💬Discussion Being discussed or needs discussion ✨Feature This adds/improves/enhances a feature

Comments

@syuilo
Copy link
Member

syuilo commented Mar 25, 2018

https://www.w3.org/TR/activitypub/

TL;DR

ActivityPubを実装し、MisskeyをMastodon互換にします。
Misskeyは分散型SNSではありませんでしたが、これを実装することによって分散型SNSになります。
つまり、ほかのインスタンス(ほかのMisskeyサーバーやほかのMastodonサーバー)のユーザーをフォローしこっちのインスタンスのタイムラインに流したり、逆にこっちのインスタンスの投稿がほかのインスタンスに流れたりすることになります。
Misskeyは閉ざされた世界でしたが一気に世界と繋がることになり、これはMisskey史上最も大きな変化と言えるでしょう

(たぶん)決定事項

  • 差異の吸収はMisskeyサーバーがやる
  • データベースのコレクションは他インスタンスのものと分けない
    • 代わりに各投稿やユーザー情報にインスタンス情報を付与し識別する
      • 自分のサーバーのユーザーや投稿は instance: null にする?
  • リモートユーザーの投稿には:+1:のリアクションしか付けられないようにする

提案

  • 位置情報の Misskey --> Mastodon トランスフォーム: GoogleMapsのURLにする

まだ決まっていないこと(議論)

SEE ALSO

@syuilo syuilo added the ✨Feature This adds/improves/enhances a feature label Mar 25, 2018
@syuilo
Copy link
Member Author

syuilo commented Mar 26, 2018

MisskeyのユーザーとMastodonのユーザーとか、Misskeyの投稿とMastodonの投稿では形式に違いがありますが、データベース上はMisskeyに合わせる形で変換するとかそういうことは一切せずに、そのまま保管することにしましょうかね
差異はアプリケーション(Webクライアント)レベルで対応する感じで

@syuilo
Copy link
Member Author

syuilo commented Mar 26, 2018

サーバー側で差異を吸収するべきだとの意見もありますね

@syuilo syuilo added the 💬Discussion Being discussed or needs discussion label Mar 26, 2018
@syuilo
Copy link
Member Author

syuilo commented Mar 26, 2018

ユーザーコレクションにインスタンス情報を格納するプロパティを増設すればいいかな
instance: "syuilo@mstdn.maud.io"
みたいな感じで

自分のサーバーのユーザーなら instance は null にするとか

@syuilo
Copy link
Member Author

syuilo commented Mar 26, 2018

ActorのIDって例えば私だったら

https://misskey.xyz/syuilo

とかでいいの?

@syuilo syuilo closed this as completed Apr 9, 2018
nokotaro pushed a commit to nokotaro/misskey that referenced this issue Jun 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💬Discussion Being discussed or needs discussion ✨Feature This adds/improves/enhances a feature
Projects
None yet
Development

No branches or pull requests

1 participant