Posts

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

hongminhee, to mastodon
@hongminhee@todon.eu avatar

The max_id, since_id, and min_id parameters in #Mastodon's Timeline API assume that the post ID is a sortable number. (Is this correct?) #Hollo, the #ActivityPub implementation I'm building, uses UUIDs for post IDs internally, so I'm stuck on how to implement a Mastodon-compatible API.

https://docs.joinmastodon.org/methods/timelines/

#fedidev

dansup,
@dansup@mastodon.social avatar
6d03,
@6d03@mathstodon.xyz avatar

@hongminhee Did they finalize the RFC yet?

hongminhee, to fediverse
@hongminhee@todon.eu avatar

I actually started because I was working on a single-user implementation called and felt like I needed some groundwork, and now that I'm somewhat done yak shaving, I'm back to working on Hollo, although I still jump back and forth between Hollo development and Fedify when I think of features I need for Fedify.

hongminhee,
@hongminhee@todon.eu avatar

I'm actually resisting the temptation to rewrite all of my Hollo code. 😂

hongminhee,
@hongminhee@todon.eu avatar

For your information, hollo (홀로) means alone in Korean.

hongminhee, to fediverse
@hongminhee@todon.eu avatar

, an server framework, has released version 0.8.0! Here are the highlights of this version:

fedify lookup: a command to look up any ActivityStreams objects (including actors); see also https://todon.eu/@hongminhee/112341925069749583
fedify inbox: a command to spin up an ephemeral ActivityPub server so that you can debug and test the activities you send; see also https://todon.eu/@hongminhee/112354353470490915
• followers collection synchronization mechanism
• improved overall performance
• fixed several bugs

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

hongminhee, to linux
@hongminhee@todon.eu avatar

I built for . The build succeeds on the first try, but it barely runs.

hongminhee,
@hongminhee@todon.eu avatar

@annyeong I can't wait for the official binaries of Zed for Linux!

melroy,
@melroy@mastodon.melroy.org avatar

@hongminhee @annyeong me too! Still waiting where the hype is coming from. Since I'm not an osx user. But I'm also using Linux.

hongminhee, to node
@hongminhee@todon.eu avatar

's tutorial, which previously assumed you were using , can now be followed using .js and ! (What is Fedify? It's an ActivityPub server framework.)

However, they are written for Fedify 0.8.0, which hasn't been released yet. You can test it with the pre-release version, 0.8.0-dev.164, though.

https://unstable.fedify.dev/tutorial

hongminhee, to typescript
@hongminhee@todon.eu avatar

Should I rewrite #Fedify in a programming language other than #TypeScript? 😅

https://todon.eu/@hongminhee/112359155272283786

twilliability,
@twilliability@genart.social avatar

@hongminhee I think JS/TS really is a very widely understood language. My take is that your limited energy is better spent documenting, improving and maintaining a single system, and making that very accessible.

I look at Fedify as an independent "reference implementation" and I have no trouble checking its behavior and source even if I'm building something in a different language/framework.

thisismissem,
@thisismissem@hachyderm.io avatar

@hongminhee perhaps that's an area to get beginners involved? Documentation can help people learn the framework & find flaws/rough edges in it.

hongminhee, to fediverse
@hongminhee@todon.eu avatar

I'm working on adding a CLI toolchain to to help with debugging. The first feature I implemented is the ActivityPub object lookup.

Here's a demo.

The demo video on my terminal

mariusor,
@mariusor@metalhead.club avatar

@hongminhee I like the part of "spinning up a temporary ActivityPub server", but how does that work? The key needs to be reachable from the internet, so DNS and such must be already set up.

hongminhee,
@hongminhee@todon.eu avatar

The fedify inbox command, which will be shipped in the next release, is a tool that creates an ephemeral server so that you can debug and test the activities you send.

Here's a demo of it.

https://unstable.fedify.dev/cli#fedify-inbox-ephemeral-inbox-server

The demo video of the

hongminhee, to fediverse
@hongminhee@todon.eu avatar

is an server framework in & . It aims to eliminate the complexity and redundant boilerplate code when building a federated server app, so that you can focus on your business logic and user experience.

The key features it provides currently are:

• Type-safe objects for Activity Vocabulary (including some vendor-specific extensions)
client and server
• HTTP Signatures
• Middleware for handling webhooks
protocol

If you're curious, take a look at the Fedify website! There's comprehensive docs, a demo, a tutorial, example code, and more:

https://fedify.dev/

hongminhee, to fediverse
@hongminhee@todon.eu avatar

#Fedify, an #ActivityPub server framework, has released version 0.7.0! Here are the key changes in this version:

• Access control for actors, collections, and more via authorized fetch (i.e., secure mode)
• Generalized object dispatcher
• Logging with #LogTape for easier debugging

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

#fedidev #authorizedfetch

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,
@hongminhee@todon.eu avatar
hongminhee, to Matrix
@hongminhee@todon.eu avatar

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

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

SnorriSturluson,
@SnorriSturluson@social.tchncs.de avatar

@mo8it @hongminhee no, I don't find a command to start it from commandline - doesn't matter much - I will try some weeks later - the version is from January

bragefuglseth,
@bragefuglseth@fosstodon.org avatar

@SnorriSturluson flatpak run org.gnome.Fractal

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

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

nogajun,
@nogajun@mastodon.social avatar

@hongminhee 課題トラッカーも使いますが意味が微妙に違うので、カタカナでイシュートラッカーを使う人もいます。訳が定まっていないので混在していますね

hongminhee, to typescript
@hongminhee@todon.eu avatar

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

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

#fedidev #TypeScript

thisismissem,
@thisismissem@hachyderm.io avatar

@hongminhee mildly curious why a well established package like pino (or winston) didn't meet your needs?

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 #Fedify. 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.

#authorizedfetch #fedidev #ActivityPub

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