@hongminhee@todon.eu
@hongminhee@todon.eu avatar

hongminhee

@hongminhee@todon.eu

An intersectionalist, feminist, and socialist guy living in Seoul (UTC+09:00). Building #Fedify. Write some free software in #Haskell, #Rust, #TypeScript, & #Python. They/them.

I don't accept follow requests from accounts that haven't posted anything. 아무 글도 없는 어카운트한테는 팔로 리퀘스트를 받지 않고 있습니다. 投稿のないアカウントからのフォローリクエストは受け付けません。

#國漢文混用 #한국어 (#朝鮮語) #English #日本語

This profile is from a federated server and may be incomplete. Browse more on the original instance.

hongminhee, to random
@hongminhee@todon.eu avatar

It appears that I need to implement Mastodon's follower synchronization mechanism… 🤔

https://docs.joinmastodon.org/spec/activitypub/#follower-synchronization-mechanism

hongminhee, to Matrix
@hongminhee@todon.eu avatar

#Fractal, a #Matrix client app for #GNOME, is pleasing to the eye and very convenient to use! Maybe it's because it's written in #Rust but it doesn't crash at all.

https://gitlab.gnome.org/World/fractal

hongminhee, to random Japanese
@hongminhee@todon.eu avatar

日本語で“issue tracker”を「課題トラッカー」と言うのが一般的ですか?

hongminhee, to typescript
@hongminhee@todon.eu avatar

My short yak shaving journey is over. Lacking a decent logging library, so I created and started logging in using it, which should make inbox/outbox debugging easier starting with Fedify 0.7.0. ✌️

https://unstable.fedify.dev/manual/log

hongminhee, to node
@hongminhee@todon.eu avatar

Did you know? supports styling in console.log(), just like browsers.

https://developer.mozilla.org/en-US/docs/Web/API/console#styling_console_output

hongminhee, to fediverse
@hongminhee@todon.eu avatar

Today I'm working on putting authorized fetch (aka secure mode) into . The protocol implementation is complete, it's just a matter of polishing the API and docs. It appears that it will be finalized sometime tomorrow. Authorized fetch will be one of the major improvements in Fedify 0.7.0.

hongminhee, to fediverse
@hongminhee@todon.eu avatar

When an server implements authorized fetch (aka secure mode), how does it associate the keyId in an HTTP request with the actual actor? I know major implementations (like Mastodon) use a fragment appended to the actor IRI as a keyId, but in theory a keyId could be any IRI that seems unrelated to the actor IRI, right? Should I maintain a table of actor–keyIds somewhere in the server?

hongminhee,
@hongminhee@todon.eu avatar

@twilliability The problem is that in addition to POST requests with an activity, GET requests can also be signed. When you receive a GET request, you have no way of knowing which actor the signed key belongs to. I asked the same question at the Fediverse Developer Network in Matrix, and we concluded that the only way to do this is to maintain a separate actor–keyId table in the server.

hongminhee, to fediverse
@hongminhee@todon.eu avatar

This document, edited by @snarfed.org@snarfed.org, is really helpful for implementing in practice.

https://swicg.github.io/activitypub-http-signature/

hongminhee, to fediverse
@hongminhee@todon.eu avatar

Version 0.6.0 of , an server framework, has been released! Here are the major changes:

• The docs website has been migrated from Lume to VitePress, is more beautiful, and is finally searchable with ^K/⌘K!

• To improve interoperability with servers that have authorized fetch turned on, also known as secure mode, Fedify has changed to use the authenticated document loader by default in as many cases as possible.

• New @fedify/fedify/x/hono module to help integrate with the Hono web framework has been introduced.

• Added small fixes to help with debugging activity delivery.

https://fedify.dev/changelog#version-0-6-0

hongminhee, to random
@hongminhee@todon.eu avatar

I've written a guide to integrating with web frameworks in the docs, explaining how to use the built-in and integration middleware, as well as the mechanisms for integrating with other frameworks.

https://unstable.fedify.dev/manual/integration/

hongminhee, to fediverse
@hongminhee@todon.eu avatar

Today 0.5.0 was released, and with this version, it comes support for Node.js and ! It's available on both JSR and npm:

https://jsr.io/@fedify/fedify@0.5.0
https://www.npmjs.com/package/@fedify/fedify/v/0.5.0

hongminhee, to fediverse
@hongminhee@todon.eu avatar

I'm writing a section in the docs on the pragmatic side of the Activity Vocabulary APIs, and I want to list how each API is used and how it is displayed in the major implementations.

https://unstable.fedify.dev/manual/pragmatics/

hongminhee,
@hongminhee@todon.eu avatar

@twilliability Although this documentation is being done as part of the Fedify project's docs, it would be great to have a more general docs project for the pragmatic aspects of Activity Vocabulary.

hongminhee, to node
@hongminhee@todon.eu avatar

A pre-released version of is now available on !

https://www.npmjs.com/package/@fedify/fedify/v/0.5.0-dev.90

hongminhee,
@hongminhee@todon.eu avatar

@mjgardner If you want to publish a pre-release version to npm, it's simple. Just use a pre-release version (in accordance with the definition of Semantic Versioning, e.g., 1.2.3-dev.123) and tag it with anything other than latest (you can specify a tag with npm publish --tag option).

hongminhee,
@hongminhee@todon.eu avatar

@mjgardner Oh, right, the pre-release I'm talking about is a pre-release as defined by Semantic Versioning, which means it's not guaranteed to be stable.

hongminhee,
@hongminhee@todon.eu avatar

@mjgardner I don't think so, because revealing that a version is unstable by notation is not a bad idea for many users, it just might not be what you need.

hongminhee, to random
@hongminhee@todon.eu avatar

0.4.0 was just released! Here are the highlights of the changes:

• Added a step-by-step tutorial.
• Integration with the Fresh framework has been made much simpler.
• Added authenticated document loaders: within personal inbox listeners, Context.documentLoader is now automatically authenticated.
• Improved the ergonomics of the vocabulary API.

https://github.com/dahlia/fedify/releases/tag/0.4.0

hongminhee, to random
@hongminhee@todon.eu avatar
hongminhee, to fediverse
@hongminhee@todon.eu avatar

finally has a step-by-step tutorial! It's perfectly fine if you're not familiar with the protocol or the runtime. Here's the link for beta readers:

https://unstable.fedify.dev/tutorial/

hongminhee,
@hongminhee@todon.eu avatar

@mariusor Unfortunately, that's the official installation method that the Deno documentation says. 😥

hongminhee, to random
@hongminhee@todon.eu avatar

Oh no, ActivityPub.Academy seems to be down?

hongminhee,
@hongminhee@todon.eu avatar

@crepels Do you have any idea what happened?

hongminhee, to node
@hongminhee@todon.eu avatar

I made a fedi badge generator, which shows the number of your following/followers/posts. You can embed this on your project README.

Under the hood, it's powered by and , and deployed to Deploy.

https://github.com/dahlia/fedi-badge

  • All
  • Subscribed
  • Moderated
  • Favorites
  • anitta
  • kavyap
  • DreamBathrooms
  • InstantRegret
  • magazineikmin
  • Durango
  • GTA5RPClips
  • thenastyranch
  • Youngstown
  • rosin
  • slotface
  • khanakhh
  • osvaldo12
  • tacticalgear
  • JUstTest
  • cubers
  • everett
  • Leos
  • tester
  • mdbf
  • ngwrru68w68
  • ethstaker
  • modclub
  • megavids
  • provamag3
  • cisconetworking
  • normalnudes
  • lostlight
  • All magazines