Please no. Phones go into tunnels, run out of battery, and go indoors where there's a poor signal or none at all. They make terribly unreliable servers. Not to mention how much faster this would chew up battery life. If you want to keep a spare phone plugged in all the time in your closet, connected to Wifi/Ethernet, and hack it to be a webserver, then go ahead. But webservers on mobile devices, being used in a mobil…
Nobody is saying that everyone should host websites on your phone. The author is saying you should be able to, if you so choose. Android and iOS put restrictions on what applications on a phone are able to do, often for arbitrary reasons. You can't hack a web server in your closet to run on port 80 without jailbreaking your phone/unlocking the bootloader and rooting your phone, and I can't really think of a reason wh…
Every phone should be able to run personal websites
81–90 of 432 posts
Re: Every phone should be able to run personal websites
#82Earlier quoted context omitted.
Is it? I installed https://play.google.com/store/apps/details?id=com.phlox.simp... , and https://play.google.com/store/apps/details?id=com.foxdebug.a... (the first two apps I found) and had a http server with custom html in all of about 5 minutes.
None of them can run server on port 80/443
Re: Every phone should be able to run personal websites
#83Running a personal website is a metaphor for actually using the device fully and with agency.
It cannot not happen. The drivers are the ever increasing commoditisation of quality hardware, the slow but steady maturity of open source software and the fact that it takes machination at planetary scale to prevent it from happening (ie keeping these ever more powerful devices locked for scrolling down social).
Ofcourse the timing and manner the revolution will happen is unpredictable.
Re: Every phone should be able to run personal websites
#84I never finished the proof of concept setup to do it, but I know I could have done it.
Re: Every phone should be able to run personal websites
#85Please no. Phones go into tunnels, run out of battery, and go indoors where there's a poor signal or none at all. They make terribly unreliable servers. Not to mention how much faster this would chew up battery life. If you want to keep a spare phone plugged in all the time in your closet, connected to Wifi/Ethernet, and hack it to be a webserver, then go ahead. But webservers on mobile devices, being used in a mobil…
Personal websites are info only. Don't change that much. Google can and should cache results. Once synced, the website could be behind Cloudflare to avoid DDoS.
This might allow a smartphone to host a publicly-accessible website with caching and DDoS protection for free. You'd still have to buy a domain, but https://gen.xyz/number is $1/year.
Though the keepalive traffic would eat your battery, unless cloudflared were integrated with Firebase Cloud Messaging somehow... seems easier to just put content on Neocities.
Re: Every phone should be able to run personal websites
#86May soon be commercially viable.
Re: Every phone should be able to run personal websites
#87Re: Every phone should be able to run personal websites
#88I disagree with this, but it is possible with one of those Linux shell emulators for Android, I forget if I tried it on iOS, but I've managed to do it both via Python and Golang.
Without root access you're not going to be able to use port 80 or port 443 on Android. I don't think iOS has the same restriction, but I can't find any documentation about it so I'm not sure.
Re: Every phone should be able to run personal websites
#89Earlier quoted context omitted.
Nobody is saying that everyone should host websites on your phone. The author is saying you should be able to, if you so choose. Android and iOS put restrictions on what applications on a phone are able to do, often for arbitrary reasons. You can't hack a web server in your closet to run on port 80 without jailbreaking your phone/unlocking the bootloader and rooting your phone, and I can't really think of a reason wh…
Actually I thought this was silly, but if your service provider provided and upstream cdn/cache, I think it could work pretty well. So when you are out of service area, they simply hit the cache.
There's no real difference between a site on a server and a cache on a server from any kind of philosophical decentralization point of view.
Just put the thing on the server in the first place and forget about the phone entirely.
Re: Every phone should be able to run personal websites
#90Earlier quoted context omitted.
It's not exactly hard, you can download web servers from the Play Store. The problem is that you'll need to set up port forwards and such to get traffic to port 8080 or whatever your web server of choice offers. Termux can install nginx, PHP, and various SQL clients, so I'm sure someone can make a copy/paste script that'll set up a WordPress server on your phone.
Someone correct me if I'm wrong but I think this port issue will get solved with the introduction of new SVCB/HTTPS RR record types. Basically the dns server will include port info along with existing IP info in it's response.
https://datatracker.ietf.org/doc/draft-ietf-dnsop-svcb-https...