Email or username:

Password:

Forgot your password?
Top-level
dansup

@pixelfed It's a very basic link shortener that will work with every pixelfed instance

Basically how it works is each instance is assigned an ID when the admin enables the feature, and then using a clever namespace syntax and base encoding, instances can generate links without having to send them to the px.lfed.co domain - and the px.lfed.co service simply decodes the syntax to the proper pixelfed url using the id of the instance!

4 comments
dansup

@pixelfed And to be clear, this is only for shortening links to pixelfed posts, profiles, stories, collections, etc.

This is not used to shorten links inside captions or comments!

The only data this service stores is instance domains and ids, we do not generate urls, they are simply shortened patterns that are expanded and redirected using a simple php server!

Neven Falica

@dansup @pixelfed That's a great idea, let's hope more instances enable the feature!

prasoon

@dansup @pixelfed On the surface, it seems to me to be adding a central authority (certainly unintentionally) to the fabric of the interactions/interop. A simple fix, perhaps, could be to release the link shortening logic as a tiny spec that can outlive the service itself.

Go Up