I bought a short domain for @pixelfed and built a link shortener that turns links like
pixelfed.social/i/web/post/602440349148636439
into
px.lfed.co/1/hcTE5BXeUX
It will be available soon 😉
9 comments
@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! |
@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!