Hacker News new | past | comments | ask | show | jobs | submit login
Embed a JavaScript website inside a binary with Go 1.16 (lawrencejones.dev)
2 points by lawrjone 17 days ago | hide | past | favorite | 1 comment

Author here! If you have any cool ideas of how to use this new feature, I'd be really interested to hear them.

One suggestion that is probably a terrible idea is bundling other go binaries into your app. Say fzf, which really wants to be used as a external binary? Embed it and ship the compiled asset alongside your program.

There are many reasons why this might be a bad idea, but I'm sure people are going to try. Might be interesting to see how they go wrong...

Applications are open for YC Summer 2021

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact