Repurposing an old Android phone as a web server

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • acc

    Upstream repo: (by Magisk-Modules-Repo)

  • UserLAnd

    Main UserLAnd Repository

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • phonk

    PHONK is a coding playground for new and old Android devices

  • You could use PHONK https://phonk.app/ to create a script that runs a web server and combine it with more custom stuff such as Sound, visuals, MQTT, sms, etc etc

  • caddy-dynamicdns

    Caddy app that keeps your DNS records (A/AAAA) pointed at itself.

  • Sure, you can do this with nginx and dynamic DNS if you really want to, but Caddy does it all for you, with automatic HTTPS, and runs natively on Android (or in Termux): https://caddy.community/t/running-caddy-2-on-android/13993?u...

    Here's the dynamic DNS plugin: https://github.com/mholt/caddy-dynamicdns -- it will just update the A records for your domain directly with your DNS provider, no need for a third-party service.

  • nextcloudpi

    📦 Build code for NextcloudPi on Android (Linux Deploy) (by DesktopECHO)

  • I went the Linux Deploy route and published a couple of container images that Just Work on pretty much any ARM Android device.

    Once you shiv systemd, some pretty elaborate scripts can run in an Android chroot just like they would on bare-metal ARM. Just think of your old Android as an off-brand rPi with case, built-in touchscreen LCD, and way, way fewer GPIO pins. No surprise the server will need a new UPS battery.

    NextCloudDroid: https://github.com/DesktopECHO/nextcloudpi

  • Pi-hole-for-Android

    Pi-hole/Unbound Raspbian APK Installer for Android 5.0+ devices (requires root)

  • acc

    Advanced Charging Controller

  • I use a Magisk module called ACC (https://github.com/VR-25/acc) to set the charge/discharge range to be between 60-75% for my permanently connected old phone. I'm using it to show a Grafana dash of my computer's resources.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts