alcinnz,
@alcinnz@floss.social avatar

Every Phone Should Be Able to Run Personal Website - Rohan D: https://rohanrd.xyz/posts/every-phone-should-be-able-to-run-personal-website/

I also like the idea of pushing to make static webservers a standard feature in every consumer router!

steeph,
@steeph@todon.eu avatar

@alcinnz I like the idea that running a web server with a personal web site unprofessionally and possibly unreliably could become a common thing to do and a normal part of the open web. If that site offers some piece of software or information that some people rely on in some way, you'll find people who are willing to mirror that site.

I don't know what it is that I like about the idea of a more rudimentary and "home-grown" kind of open web. It seems much more personal and less commercial. That's certainly a big reason.

Naich,
@Naich@fosstodon.org avatar

@steeph @alcinnz
This is what the golden age of the web was like before everything became the same.

steeph,
@steeph@todon.eu avatar

@Naich @alcinnz I don't know. I joined in the 1990s already. But I had no sense for the difference between a commercial service and a hobby web site as a kid. But I do remember how large of a percentage of web sites were the product of geeking brains and how much of what I found was noncommercial high-quality content. I think a big reason for that was that we didn't have today's search engines, their algorithms and on the other hand, SEO.

When typing my post I mainly meant web sites hosted at home, on laptops or possibly on phones. Most web sites were even in the late 90s hosted at least on dedicated machines if not servers in a data center.

the,

@steeph @Naich @alcinnz every phone is already able to run a web server and is not even really that hard. The thing is, if you want it to run reliably, it cannot be your main phone. It has to be a phone you don't want to use anymore that is permanently connected to a charger on a reliable connection to the internet closer to the router, not on the other side of the house.

And even in that case possibly with some sort of screenlock mechanism and/OR with all battery saving features disabled for the web server.

in that case, YES, it can be done .

FOr your current phone on your pocket: it'll drain your battery. It's as simple explanation as it gets for why isn't this common.

alcinnz,
@alcinnz@floss.social avatar

@the @Naich @steeph Yeah there's a reason why home routers appeal to me more for this usecase...

the,

@alcinnz @Naich @steeph home routers YES, 100% agreed. But then you'll find their cost skyrocketing pretty quickly for giving you something they could have already given you before (most run on cut-down version of freebsd anyway) by just letting you install whatever package you wanted on them first or in other words, what's needed is fully OPEN SOURCE routers firmware so we can add whatever features we want. Including web servers.

the,

@alcinnz @Naich @steeph in the meantime, a RasPi can do the trick.

Or you can go open source hardware with 👇

https://opensource.com/article/22/1/turris-omnia-open-source-router

alcinnz,
@alcinnz@floss.social avatar

@the @Naich @steeph Or personally, I keep ending up with outdated hardware for me to find a use for...

the,

@alcinnz @Naich @steeph

you know what I've found to be the most cost-effective home server?

OLD THINKPADS!

They abound. Companies lease them, then bin them, and they end up all over auction homes and second-hand stores for peanuts. And unlike RasPis you don't need to buy a separate keyboard/screen/mouse and they come with hard drives, not puny laughable breakable flash drivers.

And you're recycling and undoing the job of Tailor Swift.

What's not to like?

steeph,
@steeph@todon.eu avatar

deleted_by_author

alcinnz,
@alcinnz@floss.social avatar

@steeph @the @Naich Those are common here in NZ!

I'm not sure where you live.

the,

@steeph @Naich @alcinnz you can always create your own router as far as you have the right modem for your ISP as part of it. But since most ISPs prefer to have (at least my experience with fibre optics) the router and modem now as separete things, you can directly dispose of your supplier's router and use your own RasPI or other cheap implementation with ALL your desired glory.

steeph,
@steeph@todon.eu avatar

@the @Naich @alcinnz Yeah, a phone is probably not the best choice. At least when it travels. When it doesn't, a phone is a mix between a server and a PC already. It even has a UPS built in.

But I have thoughts about what it would be like if running a web server would be such a common thing to do that somebody would do it because they felt like it after writing something on a train. Or they'd maintain a web site on the only computer they ever had access to: their phone.

the,

@steeph @Naich @alcinnz you could have a cloud server with a load balancer, if LB sees IP of phone accesible then serves all traffict through there, if phone is not accesible it sends traffict to alternative server B (which could be itself).

It wouldn't be hard to implement either, just a bunch of NGINX conf files and zero-tier on cloud server and phone to make it simpler in case your phone changes IP (it will)

Then you can LIVE edit your site on your phone and whenver you lose signal (e.g.: you're on a train) site B will be served, that could be either the last working version OR a page saying "I'll be back in a bit".

steeph,
@steeph@todon.eu avatar

@the @Naich @alcinnz I guess there are reasons why people use machines that are always online for that. As long as the phone is online, I don't need to exit the site locally. And when it isn't, I can't serve the locally edited site. So editing remotely always makes more sense.

But it is interesting to think about.

the,

@steeph @Naich @alcinnz not always, you can have a local copy.

mkl.lol for example could have a copy (and indeed it has) runining on the machine I'm typing to you, that has all changes I want to make to its code, and a production copy that is on mkl.lol and is the one sending you this message.

That's why we have development and production environments. With sometimes a third one called staging.

the,

@steeph @Naich @alcinnz what's more important is

what is your use case?

steeph,
@steeph@todon.eu avatar

@the @Naich @alcinnz Having fun, I guess. (Sorry, no more thought went into this from me today.)

the,

@steeph @Naich @alcinnz have fun, allow me to introduce you to

Termux. Yay!

srtcd424,
@srtcd424@mas.to avatar

@steeph
You've inadvertently made me feel rather old (I remember when this was normal the first time around!), but I do agree :)
@alcinnz

steeph,
@steeph@todon.eu avatar

deleted_by_author

srtcd424,
@srtcd424@mas.to avatar

@steeph @alcinnz ah, OK, the hosting rather than just the content being personal, got you. Definitely an interesting thought - and perhaps increasingly do-able as 5G and FTTP increase uplink speeds..

thibaultmol,
@thibaultmol@en.osm.town avatar

@alcinnz
Oh God. Doesn't that sound like a security nightmare? With consumer reports infamously being updated insecure iot garbage usually

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • Durango
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • osvaldo12
  • khanakhh
  • Youngstown
  • mdbf
  • slotface
  • rosin
  • everett
  • ngwrru68w68
  • kavyap
  • InstantRegret
  • JUstTest
  • GTA5RPClips
  • cubers
  • ethstaker
  • normalnudes
  • tacticalgear
  • cisconetworking
  • tester
  • Leos
  • modclub
  • megavids
  • provamag3
  • anitta
  • lostlight
  • All magazines