Profile img

AmaseCocoa

@cocoa@hackers.pub · 17 following · 19 followers

I maybe use Engrish in this account

Pythonista/Author of apkit. An Modularized ActivityPub Toolkit.

main (Iceshrimp)
@AmaseCocoa@i.amase.cc
YarukiNotFound
amase.cc
Zenn
@amasecocoa
1
0
1
2

It seems the time has come to seriously consider migrating to another platform like Codeberg...

But, GitHub is also another side to it, that's a Social Platform. This is getting in the way migrating to Codeberg.

1
1
1
0
5

I making next-version of apmodel, that uses pydantic for better validation and better loader.

Currently, this feature is either not implemented or not fully implemented:

  • export to json is not avaliable

Additionally, some models have not been migrated to pydantic, so they cannot be used properly.

If you interested this, can read this branch: https://github.com/fedi-libs/apmodel/tree/pydantic

3
0

ActivityPub関係のリクエストをに別のサーバーがプロキシになって取得するようにできないかなーなんて思ったけど、信頼性とか鮮度の観点から厳しそう

やるとしたら、署名周りの問題や鮮度をどうするかっていうのが重要なポイントになる

1
1
4
1
4
0
0
1
3
1
1
1
1

Currently, apkit is experiencing a critical issue... It appears there are problems with interoperability with Mastodon... I'm investigating where exactly it is failing... (https://github.com/fedi-libs/apkit/issues/19)

However, I think I'll try to sleep today... If I keep researching, my day-night reversal will probably get worse...

1
2
0
3

I don't like FEP-044f...

I think the idea itself is good, but the problem is that it adopts an opt-in approach. First, it cannot be quoted in software that hasn't implemented it. Second, static file-based servers cannot support quoting (044f requires sending a QuoteAuthorization when approving a quote). I've never actually seen a static file-based ActivityPub server, so you probably don't need to worry too much about that...

Also, since the canQuote policy seems to only serve as advice, it appears we can't make it approval-free... :(

(Please let me know if there are any errors in this; it would be helpful.)

5
1
0
0
1
0
0
0
0

まぁ念の為typeフィールドのチェック自体入れるつもりだけど (例えばtypeが指定されてた場合はそのtypeの一致もチェックで効力するみたいな?少なくともActor関連はtype違いのモデルがあるから必須になる)

とはいえそれは微妙な気も

0
0
0
1
1