Better HN
topnewbestaskshowjobs
Log inSign up

arpakuutio

3 karma · joined Jun 28, 2022 (4y ago) · 2 submissions

Submissions

comment 1mo ago · link · parent

Good work! Funnily enough, I actually very recently also made a document sharing tool with very similar approach to sharing an "app as URL", but for a different kind of use case. I'm sharing arbitrary files, code snippets and scraped articles to friends or other devices of mine.

https://linkify.ink/about

Readability of the link itself wasn't a goal for me, so I've opted to zstd compress the content instead for shorter urls. Can still get quite big of course, depending on content. But I have successfully shared even some small image files with this.

https://linkify.ink/#AgACe30otS_9YAATHRMAcsgaGHBZBwCDZiUYf1d...

comment 4y ago · link · parent

My solution to this was to run tsc from Jest tests and do snapshot tests for the error messages

https://github.com/noppa/get-optional/tree/master/tests/typi...