02-13-2021, 09:02 PM
(This post was last modified: 02-13-2021, 09:49 PM by Zebulon Walton.)
I hosted a small, static website for my own use on a smartphone-sized Linux tablet called a "SmartQ 5" about 10 years ago. (It was more an experiment to just see that it could be done rather than trying to run a "real" website that way.) Anyhow, that device had considerably less powerful hardware than a Pinephone and it worked. I used a very simple and lightweight open source web server available free from IBM:
https://www.ibm.com/developerworks/syste...index.html
Might be able to run something a bit more functional like lighthttpd or nginx on the Pinephone, especially if you have the 3GB memory version. Just don't expect to run a busy site with a lot of users!
Edit: It looks like the download of nweb from the IBM site no longer works, it just yields Error 500 "Internal server error". Oh, well, it hadn't been maintained since 2012 so that's not suprising!
Another edit: Although the original IBM download page no longer works, a version of nweb updated in 2016 is available on sourceforge:
http://nmon.sourceforge.net/pmwiki.php?n=Site.Nweb
Just for grins I downloaded the nweb25.c source file, compiled it on my desktop, and it works. Will have to try it on the Pinephone...
https://www.ibm.com/developerworks/syste...index.html
Might be able to run something a bit more functional like lighthttpd or nginx on the Pinephone, especially if you have the 3GB memory version. Just don't expect to run a busy site with a lot of users!
Edit: It looks like the download of nweb from the IBM site no longer works, it just yields Error 500 "Internal server error". Oh, well, it hadn't been maintained since 2012 so that's not suprising!
Another edit: Although the original IBM download page no longer works, a version of nweb updated in 2016 is available on sourceforge:
http://nmon.sourceforge.net/pmwiki.php?n=Site.Nweb
Just for grins I downloaded the nweb25.c source file, compiled it on my desktop, and it works. Will have to try it on the Pinephone...