4 ms·
Thanks! For now, I added a warning under the gist. Not that this is an excuse, but I put this together in about 30 minutes using GPT-4 for fun without much cons
by srimukh 3y ago
Thanks! For now, I added a warning under the gist. Not that this is an excuse, but I put this together in about 30 minutes using GPT-4 for fun without much consideration about robustness or security. I will maybe try to rewrite it when I find time.
- deleted 3y ago[deleted]
- jfdi 3y agoPlease do! Besides being a fun exercise it’s also a neat idea. Comments from the HN community make the content posted almost always more interesting imho
- srimukh 3y agoI took the advice and updated the code to generate DOM nodes instead of setting HTML directly - it should decrease the risk of XSS