this post was submitted on 06 Nov 2023
33 points (86.7% liked)

Selfhosted

39222 readers
392 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

Hey y'all, I was reading this self hosting user survey at selfh.st and noticed that some people said they self-host on a mobile phone.

I have an Android phone here I could use and I can picture setting up the phone and then just leaving it plugged in, in a corner somewhere. That seems like a good use for all that computing power but I'm not sure how to get started.

I found this article showing how we can use a phone for a web server:

https://www.digitalocean.com/community/tutorials/host-a-web-server-on-android

But is there any way to host other apps / services on a phone? Does it have to be rooted first?

Any pitfalls or other tips you can share when to doing this?

Thanks!

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 10 months ago (1 children)

Based on my personal experience at least one year on a 5 years old mobile. It can last longer but I decommissioned it because I got a NUC.

I had setup a charge limiter (between 20% and 80%) with Magisk, initially it was through an automation in homeassistant but the battery usage was very high.

In terms of charge cycles it was one or two per day max

[–] [email protected] 0 points 10 months ago (1 children)

Thanks. I'm wondering if maybe I could just use something simple like a lamp timer, to control when juice comes through to the phone's charger/cable. I could enable that only for like 6 hours a day and keep it "off" otherwise.

[–] [email protected] 1 points 10 months ago

That's a possibility for sure. My suggestion would be first to test the capability of the device before buying anything. Once you're satisfied with it, you can take the next steps and buy additional hardware. In my experience a USB-C -> ETH port was a great purchase as I was experiencing shaky WiFi connection possibly due to battery saving settings.