59 points · by lnyan · 2y ago · 18 comments
llIIlIIIlIllIIIIIIlIIIlIllIlIIII.llIlI.lI
lIllIllllIIllIllIIllllllIIIIIlII.llIlI.lI
lIlllIIIIlIIlIlIIllllIlIlIlIIlII.llIlI.lI[1] https://github.com/chenxuuu/shit-url/blob/llIlI.lI/inc/class...
You could have just an encoding and compression scheme, with no storage, but it wouldn’t be able to shorten the urls by much in most cases.
Yes, a link shortener does need to be stable but luckily they are extremely simple to operate.
You should be able to run a very popular link shortener on a leftover 1U with very low associated bandwidth and power costs. It's not unrealistic for a person, or group, to commit to this indefinitely.
The novelty here is that the service deliberately makes itself unusable for comedic effect
await fetch('https://llili.li/api/set.php', {method: 'POST', body: JSON.stringify({url: "https://news.ycombinator.com/item?id=40332992"})}).then(r => r.json()).then(d => d.content.url)