Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It's literally a webpage with some javascript, so if you save it along with the asset files, you can just open the page in browser from your filesystem, no need to specially host it or start anything.

But yes, I agree running a command like qrencode from terminal is easier in the long run.



Saving a webpage and expecting your browser to render this the same way in a few years is only possible if you are saving the browser version with it.

The command line tool will have a longer life


You could just use google to find the same thing in a few years. The project is so simple I could replicate it and have it hosted in a few hours.


"so simple" ... "in a few hours"

The project is so simple that it would be easier to rewrite it from scratch in that time frame. But the qrencode CLI allows to just avoid that.


Does that work for node.js apps?


Yes, but it depends if the node.js app has the option of generating a fully static site. But it will also need to generate relative links for the browser to be able to directlyy load the site




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

Search: