How to render html from url? [closed]

I want to write a web service (preferably in golang) which, given a URL, would render the page, executing all javascript for dynamic content, in order to save it as static html.

It would be used to collect articles or tutorials, without relying on URL being still readable 10 years later.

Are there any libraries that would act as a virtual browser, to acomplish something like this? Maybe a Javascript engine would be enough.

Alternatively I would use another service, hosting node.js or something similar to apply dynamic content to the given HTML.