Discussion
Loading...

#Tag

Log in
  • About
  • Code of conduct
  • Privacy
  • About Bonfire
dansup
dansup
@dansup@mastodon.social  ·  activity timestamp 8 hours ago

So one tricky aspect I had to solve with Loops is how we use a hashid of the snowflake id for videos, comments and replies in public links, but also deference them to their full ActivityPub permalink.

I built a `matchUrlTemplate` helper that uses regexes to match our url schemas in a way that supports `/v/abcdefg1-` and `/ap/users/1/video/1234567890` links.

It works great, and I will be bringing this to Pixelfed to improve federation support ✨

https://github.com/joinloops/loops-server/blob/main/app/Federation/Handlers/LikeHandler.php#L150-L175

#LoopsDev #ActivityPub

  • Copy link
  • Flag this post
  • Block
dansup
dansup
@dansup@mastodon.social  ·  activity timestamp 10 hours ago

Light or Dark mode.

Shipping Soon 🚀✨

#Loops #LoopsDev

3 media
Loops appearance settings
Loops appearance settings
Loops appearance settings
Loops app profile in light mode
Loops app profile in light mode
Loops app profile in light mode
Loops app profile in dark mode
Loops app profile in dark mode
Loops app profile in dark mode
  • Copy link
  • Flag this post
  • Block
dansup
dansup
@dansup@mastodon.social  ·  activity timestamp 4 days ago

I'm spending a few hours every other day working on Loops, while I focus on Pixelfed.

One exciting new feature is Admin Invites, allowing admins to close registrations and share powerful invite links that have many interesting side effects (like auto follows, bypassing email verification and email notifications).

Thanks to @shlee for suggesting this feature, and while I do want to support Curated Onboarding eventually, this is a great temporary alternative.

#Loops #LoopsDev

Loops Admin Invites Dashboard
Loops Admin Invites Dashboard
Loops Admin Invites Dashboard
  • Copy link
  • Flag this post
  • Block
dansup
dansup
@dansup@mastodon.social  ·  activity timestamp 4 days ago

loops-server $ git log --author="Daniel Supernault" --oneline | wc -l
827

#LoopsDev

  • Copy link
  • Flag this post
  • Block
dansup
dansup
@dansup@mastodon.social  ·  activity timestamp 6 days ago

Loops also uses snowflake ids for ActivityPub actor identifiers!

I noticed that Mastodon has adopted this too, great to see. I will be bringing this to Pixelfed later this year as well 😁

https://browser.pub/https://loops.video/ap/users/1

#Loops #ActivityPub #LoopsDev

  • Copy link
  • Flag this post
  • Block
dansup
dansup
@dansup@mastodon.social  ·  activity timestamp 6 days ago

I'm super proud of how I implemented deeply nested comment permalinks in Loops.

It's a bit trickier than say Mastodon, where you just need the parent post context (and maybe children) since we only display comments in the video permalink.

And the UI I designed for this makes it really easy to view the comment and even the parent if applicable.

Parent: https://loops.video/v/d86zgftFT9?cid=d90x2bWT5f

Child: https://loops.video/v/d86zgftFT9?rid=d9VqOD2_gu

#Loops #LoopsDev

  • Copy link
  • Flag this post
  • Block

A small Bonfire corner on the internet

This is a small personal instance of Bonfire in the Fediverse.

A small Bonfire corner on the internet: About · Code of conduct · Privacy ·
Bonfire social · 1.0.1-beta.33 no JS en
Automatic federation enabled
Log in
  • Explore
  • About
  • Code of Conduct