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 😉
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 😉
@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!
@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!
@viktor @pixelfed why would I shut it down? I've been planning this since 2019 when I added snowflake ids
@dansup @pixelfed I don't know if it will be possible, consider joining 301works.org to backup redirects and have them work in case you shut it down.
@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.
GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.
All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.