Hacker News new | ask | show | jobs
by willcipriano 2190 days ago
Thank you! Most of the heavy lifting is done by the lz-string library[0], the compression works well for small text files, sometimes the URL out will be shorter than the input in that case. Things like images work out to be hundreds of URLs unfortunately.

[0]https://pieroxy.net/blog/pages/lz-string/index.html

1 comments

Cool! Yeah I tried a pdf and it generated a bunch of URLs ;)