News for hackers. Stuff that matters.
Re:I wish my web server were in the corner of my room by achairapart on Tuesday October 11, 2022 @01:32PM (#33166216)
Funnily enough I had the same wish some time ago, so nowadays I do most of my computing in "fatcity":

https://fatcity.it

Re:I wish my web server were in the corner of my room by all2 on Tuesday October 11, 2022 @01:40PM (#33166322)
> most of my computing

What does this involve? Are you tunneling a browser through ssh? Are you doing development work?

Also, the status page is a rather beautiful bit of text. Did you do that yourself?

Re:I wish my web server were in the corner of my room by achairapart on Tuesday October 11, 2022 @01:49PM (#33166455)
The Raspberry PI is attached at my home router (1Gb fiber connectivity), then I can access it like a local server (so even by SSH) from everywhere with Tailscale[0]. The rest of the world is proxied by a Cloudflare Tunnel[1].

Yes, remote dev work is done mostly with Visual Studio Code Remote SSH[2] (but I wish something similar would exists for Sublime Text).

[0]: https://tailscale.com/

[1]: https://developers.cloudflare.com/cloudflare-one/connections...

[2]: https://code.visualstudio.com/docs/remote/ssh

Edit: Yes, I hacked together the status page, something similar welcomes me when I ssh into the machine.

Edit 2: Some benchmark here: https://pibenchmarks.com/benchmark/62022

Re:I wish my web server were in the corner of my room by b1476 on Tuesday October 11, 2022 @01:42PM (#33166349)
I’m intrigued, care to share more?
Re:I wish my web server were in the corner of my room by achairapart on Tuesday October 11, 2022 @01:57PM (#33166586)
Please see the sibling reply: https://news.ycombinator.com/item?id=33166455

And feel free to ask me anything.

Re:I wish my web server were in the corner of my room by fm2606 on Tuesday October 11, 2022 @02:09PM (#33166781)
>> little Raspberry Pi 4 server that I run from my home ISP, for no reason other than to have some fun

This.

I run mine on RPi 3B+ with a 4 running the database. I reverse proxy to my site via a cloud VPS instance for $4 a month. I switched to the cloud after years on NO-IP when 1) I noticed my IP never changed and 2) my home IP address was public via a look up of my domain name.

On another 3B+ I have a VPN so I can SSH in .

Some day I will get around doing a roll-your-own-ngrok [0] so I don't have to open any ports but have yet to do it. I have done it for a project I was working on and I needed to make the local dev server accessible to a 3rd party. Pretty slick and saves a bunch of time and hassle from having to put the code on the server. (As an aside: Does anyone else dislike the term "grok"? For whatever reason it annoys the hell out of me.)

I really have nothing important on there and go months or years without doing anything to it then get a burst of creativity or what not and update the site or just tinker with it.

[0] https://jerrington.me/posts/2019-01-29-self-hosted-ngrok.htm...

Re:I wish my web server were in the corner of my room by zdw on Tuesday October 11, 2022 @03:30PM (#33168099)
> my home IP address was public via a look up of my domain name.

If you're very concerned about privacy, frequently SMTP headers generally contain IP address info...

Re:I wish my web server were in the corner of my room by fm2606 on Thursday October 13, 2022 @05:56AM (#33189132)
Good to know, thanks!
Re:I wish my web server were in the corner of my room by musicale on Friday October 14, 2022 @02:56AM (#33200393)
> SMTP headers generally contain IP address info...

It's puzzling that email services don't redact the originating (often home/residential) IP address from authenticated clients for privacy reasons.

Re:I wish my web server were in the corner of my room by anderspitman on Tuesday October 11, 2022 @03:34PM (#33168162)
If you're looking for selfhosted ngrok functionality you may also be interested in https://github.com/anderspitman/awesome-tunneling
Re:I wish my web server were in the corner of my room by fm2606 on Thursday October 13, 2022 @05:56AM (#33189131)
Thanks...bookmarked it.