Git Product home page Git Product logo

miso's Introduction

Hi there 👋

Srgr0's GitHub stats

If my github status widget above did not loaded correctly, please reload this page.

Social

Domain

  • srgr0.com (include sub-domains)

Contact

I accept inquiries via e-mail. Please check the contact email address using this form.

miso's People

Contributors

srgr0 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

miso's Issues

Misskey以外への対応

ActivityPub全般の投稿やユーザーを表示できるようにする。
インスタンスの照会に投げれば概ね処理できるが、misoでは機能拡張のためにurlで判別してから投げているので、この部分の判別ルールを作る必要がある。

  • ユーザー
    misskey/mastdon: {domain}/@{user}, {domain}/@{user}@{domain}

  • ノート
    misskey: {domain}/notes/{noteid}
    mastdon: {domain}/@{user}/{noteid}, {domain}/@{user}@{domain}/{noteid}

対応するプロジェクト:misskey, mastdon, 他に何があるのか分かっていない

ホームページを作る

現状misoのホームページとしてRepoのurlを指定しているが、開発者以外のユーザーは見辛いと感じる可能性がある。
GitHub Pages辺りで適当にホストするのがよさそう。

urlを判別する

related: #1 , #2 , #3
現状では、与えられたurlがmisskeyプラットフォームの物であることを前提として処理を行っている。
しかし、今後Misskey以外に対応したり( #3 )ページ内のリンクに対応したり( #1 )することで、対応していないurlが与えられることが多くなることが考えられる。
プラットフォームの判別やActivityPubのurl以外を除外する処理において、何らかの方法でurlの判別が必要。

無効なurlに対する対応

主に以下の二つのケース

  • Misskeyインスタンスであるがリモートでは表示できないページ(ページなど)
  • Misskeyインスタンスではない

対応が必要な理由

  • /ap/showは正常にリクエストが完了できないと500を吐く
  • Chromeは、500が数回吐かれるとDDoS防止のため拡張機能の通信を制限する(スロットリング)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.