News for hackers. Stuff that matters.
Re:A URL Lengthener by willcipriano on Friday May 14, 2021 @03:03PM (#27158404)
I made a service to store arbitrary files as URLs that is similar. The hard part is files that are too large, I can handle files up to 5mb if you click on them all via local storage. Compression helps a lot as making them base64 increases the size quite a bit.

https://podje.li

Re:A URL Lengthener by prox on Friday May 14, 2021 @04:49PM (#27159528)
Could you make whole webpages just through urls? Such as they will completely portable? Portable being taken with a grain of sand ofc.
Re:A URL Lengthener by boomlinde on Saturday May 15, 2021 @03:47AM (#27163282)
Yes, I did this for self-contained reports in maybe 2014. All images referenced (containing diagrams) were embedded as data URIs. Restrictions are AFAIK more picky now, though so YMMV in 2021.
Re:A URL Lengthener by prox on Sunday May 16, 2021 @05:32AM (#27172449)
Cool project! It is kind of interesting that the link is the content, not sure it’s always useful, but for twitter like short form content perhaps?
Re:A URL Lengthener by makapuf on Saturday May 15, 2021 @03:58AM (#27163337)
Well webpages themselves including links, the embedding would need to be recursive.
Re:A URL Lengthener by lurkerasdfh8 on Friday May 14, 2021 @05:20PM (#27159844)
not the entire content, but a hash id is pretty common https://en.wikipedia.org/wiki/Magnet_URI_scheme