by metahost on 10/27/23, 11:31 AM with 23 comments
Let me know what you think!
Source is at https://github.com/say4n/hn, pull requests welcome!
by Obscurity4340 on 10/27/23, 3:45 PM
by mortallywounded on 10/27/23, 6:49 PM
Thanks... I see nothing. Next is really doing well, eh.
by FractalHQ on 10/27/23, 6:28 PM
I wanted to do it all locally / serverless but I struggled to find a good client friendly library for parsing meta tags that was 0 deps and typed so I wound up making a cloudflare worker to bypass cors and manually streamed the html to extract and parse the head element with a bit of regex and elbow grease.
It worked out, but I wish the HN api would cache and provide that stuff once to save the authors from the extra load of all the clients like mine that need to make extra requests to each articles home page.
by LargoLasskhyfv on 10/27/23, 2:21 PM
by redder23 on 10/27/23, 4:02 PM
by notnmeyer on 10/27/23, 11:24 PM