Discussion
Loading...

Discussion

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

Notice how short Loops URLs are?

https://loops.video/v/d86zgftFT9

Do you know why and how?

Great URLs never change.
But usernames can.

Not including usernames in URLs means we can properly support username changes without breaking federation!

How we do this is a combination of snowflake ids (hard to guess, to prevent enumeration) and hash ids (to base encode huge ids to shorten them).

We can easily decode and encode 18 digit numbers into 10 chars.

Also, they federate ✨

https://browser.pub/https://loops.video/v/d86zgftFT9

  • Copy link
  • Flag this post
  • Block
Federation Bot
Federation Bot
@Federation_Bot replied  ·  activity timestamp 3 months ago

@dansup wonderful explanation, thank you.

  • Copy link
  • Flag this comment
  • 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 no JS en
Automatic federation enabled
Log in
  • Explore
  • About
  • Code of Conduct