News for hackers. Stuff that matters.
Re:Show HN: Print a WiFi Login Card by weejewel on Sunday July 11, 2021 @03:43PM (#27804014)
But now you’re paying for keeping a server online, whereas a GitHub page could’ve hosted this static website for free.
Re:Show HN: Print a WiFi Login Card by cinntaile on Sunday July 11, 2021 @04:15PM (#27804230)
He did this for fun, his motivation wasn't to find the cheapest way to host his content.
Re:Show HN: Print a WiFi Login Card by dividedbyzero on Sunday July 11, 2021 @05:24PM (#27804613)
It's also not like you'd have to have a separate server/vserver for every such project, a very affordable vserver will run quite a lot of nginx containers. Plus I guess some people will have a vserver or something like that anyway (I have a small one to get around NAT at the ISP level), in which case it might be net-zero.
Re:Show HN: Print a WiFi Login Card by 867-5309 on Sunday July 11, 2021 @07:11PM (#27805277)
>get around NAT at the ISP level

genuinely interested in the benefits of this. care to share?

Re:Show HN: Print a WiFi Login Card by dividedbyzero on Sunday July 11, 2021 @10:03PM (#27806176)
My ISP puts everyone behind some sort of NAT, which means I can't reach my home network from elsewhere since I can't open ports. They'd let me buy my own IP address for a monthly fee, but I've found that an old Pi I already had, an autossh-ed reverse shell, SSH forwarding and a cheap cloud instance work just fine for checking sensors and the like, cost less and the cloud instance has other uses, too.
Re:Show HN: Print a WiFi Login Card by 867-5309 on Monday July 12, 2021 @09:56PM (#27816986)
I see, so NAT traversal over SSH as opposed to VPN/DDNS
Re:Show HN: Print a WiFi Login Card by hsn915 on Monday July 12, 2021 @02:09AM (#27807558)
I honestly don't understand where's the fun in using docker for anything.

Unless one is into masochism.

Re:Show HN: Print a WiFi Login Card by dolmen on Monday July 12, 2021 @04:49AM (#27808352)
Especially to host what could be implemented as a single static HTML file.
Re:Show HN: Print a WiFi Login Card by cyral on Sunday July 11, 2021 @04:52PM (#27804454)
React is compiled to static content so this could be hosted with GitHub pages too
Re:Show HN: Print a WiFi Login Card by moltar on Sunday July 11, 2021 @07:49PM (#27805501)
I build static sites in Docker too. But then simply extract the built files out and upload them to any static hosting I need.

This allows me to self contain all the build tooling. And allows other developers to setup a dev environment in a few easy steps.

Re:Show HN: Print a WiFi Login Card by shepherdjerred on Sunday July 11, 2021 @06:25PM (#27804952)
There's no reason that this would have to be hosted on a traditional server.
Re:Show HN: Print a WiFi Login Card by quickthrower2 on Tuesday July 13, 2021 @03:01AM (#27818264)
Free as in beer, yes