Close Menu

    Subscribe to Updates

    Get the latest creative news from FooBar about art, design and business.

    What's Hot

    Huawei Watch GT Series

    Banks Respond to Kraken’s Federal Reserve Access as Trump Sides with Crypto

    Hyperliquid and DEXs Break the Top 10 — Is the CEX Era Ending?

    Facebook X (Twitter) Instagram
    • Artificial Intelligence
    • Business Technology
    • Cryptocurrency
    • Gadgets
    • Gaming
    • Health
    • Software and Apps
    • Technology
    Facebook X (Twitter) Instagram Pinterest Vimeo
    Tech AI Verse
    • Home
    • Artificial Intelligence

      What the polls say about how Americans are using AI

      February 27, 2026

      Tensions between the Pentagon and AI giant Anthropic reach a boiling point

      February 21, 2026

      Read the extended transcript: President Donald Trump interviewed by ‘NBC Nightly News’ anchor Tom Llamas

      February 6, 2026

      Stocks and bitcoin sink as investors dump software company shares

      February 4, 2026

      AI, crypto and Trump super PACs stash millions to spend on the midterms

      February 2, 2026
    • Business

      Huawei Watch GT Series

      March 4, 2026

      Weighing up the enterprise risks of neocloud providers

      March 3, 2026

      A stolen Gemini API key turned a $180 bill into $82,000 in two days

      March 3, 2026

      These ultra-budget laptops “include” 1.2TB storage, but most of it is OneDrive trial space

      March 1, 2026

      FCC approves the merger of cable giants Cox and Charter

      February 28, 2026
    • Crypto

      Banks Respond to Kraken’s Federal Reserve Access as Trump Sides with Crypto

      March 4, 2026

      Hyperliquid and DEXs Break the Top 10 — Is the CEX Era Ending?

      March 4, 2026

      Consensus Hong Kong 2026: The Institutional Turn 

      March 4, 2026

      New Crypto Mutuum Finance (MUTM) Reports V1 Protocol Progress as Roadmap Enters Phase 3

      March 4, 2026

      Bitcoin Short Sellers Caught Off Guard in New White House Move

      March 4, 2026
    • Technology

      Google’s Gemini rolls out Canvas in AI mode to all US users

      March 4, 2026

      Decagon completes first tender offer at $4.5B valuation

      March 4, 2026

      5 Exciting Harbor Freight Finds Available In March 2026

      March 4, 2026

      The US military is still using Claude — but defense-tech clients are fleeing

      March 4, 2026

      Google Pixel 10a Review: Deja-Vu On A Budget

      March 4, 2026
    • Others
      • Gadgets
      • Gaming
      • Health
      • Software and Apps
    Check BMI
    Tech AI Verse
    You are at:Home»Technology»This blog is running on a recycled Google Pixel 5 (2024)
    Technology

    This blog is running on a recycled Google Pixel 5 (2024)

    TechAiVerseBy TechAiVerseSeptember 3, 2025No Comments7 Mins Read6 Views
    Facebook Twitter Pinterest Telegram LinkedIn Tumblr Email Reddit
    Share
    Facebook Twitter LinkedIn Pinterest WhatsApp Email

    This blog is running on a recycled Google Pixel 5 (2024)

    If you glance over this blog, you will see that I am an avid Android fan. After setting up numerous Linux proot desktops on phones, I wanted to see if I use a phone as a server and run my blog from an Android phone. Since you are reading this, I was successful.

    I was inspired my a few Mastodon posts earlier this week to give it a go. First, I stumbled on a post from @kaimac who is running a site from an ESP32 microcontroller. In the comments of that post, I saw a mention to compost.party created by user @computersandblues that runs completely on an Android device and a solar panel. Last, @stevelord who is essentially running a homelab on a TP-Link router with OpenWRT installed.

    I think a lot about power consumption of my homelab and I also love using old hardware for random projects to give them new life. I was truly inspired by the above works, so I got right down to business.

    The hardware

    I looked through the devices I had laying around and I chose a Google Pixel 5 my brother-in-law gave me after he upgraded. The Pixel 5 is carrier locked to Verizon, which is notorious for making it impossible to also unlock the bootloader and install custom ROMs. At first I wanted a device that I could install PostmarketOS to run a proper Linux server. In the end, I’m glad I didn’t go that route.

    Another reason I chose the Pixel 5 is because it supports USB-OTG and can use docks with hard-wired internet. I didn’t want to run the site on wifi and having an ethernet connection was mandatory.

    Last, it is the most current phone I have. This device is open to the internet, so I wanted to make sure it is an updated as possible.

    Solar powered blog!

    This summer I’ve been testing using a 100w solar panel I got from Harbor Freight Tools so I can learn more about how it all works before diving into larger projects. I have that panel connected to a Jackery 160w power station to keep it charged up and we use it to charge our mobile devices. I got the Jackery last year as a power bank I use while on jobsites.

    Since I already have this set up, I am now using it to power this blog. I’m happy with this setup as I’ve been getting more into permacomputing. Having a website that is fully offgrid using recycled parts is exciting!

    What I used to create the site (Termux is the GOAT)

    While considering what projects I could do with this phone, I was thinking I was going to install a proot desktop and then run from within a Linux environment. Before I started I decided to check out a few packages that are in Termux (the flat out amazing terminal emulator) to see how far I could push it.

    I checked for some basics and read about setting up an ssh connection. Then I randomly searched for Hugo, which is what my blog was already built on. Sure enough, it is right there in the Termux repos! Turns out, it has been in there for a long time. I see a lot of posts from 2018 with people using it.

    How has it been going

    Great! Site is fast and reliable. I ran into a few hiccups on the first day or so, which were mostly around the version of Hugo on my server and the newer version I am using on the phone. The other is related to my solar setup and keeping an eye on the battery levels.

    To be honest, I don’t think anyone can tell it is running on an Android phone instead of a x86 Linux box or a hyperscaler VPS.

    At the moment I have no plans to change this setup and will leave it as-is until some issue arises. But, there’s really not much to report other than it works fantastic.

    Below are my longform notes on how I set it up. But, the short version is it was way simpler than I thought it would be. You can get up and running with a Hugo site by just installing git, screen, your favorite text editor, and hugo straight from the repos.

    Not included in this post is how I add new posts to the phone. I can use scp to send a files, but I prefer to use dufs that is a static file server in that can be accessed in the browser. Using dufs I can upload files and make quick edits straight in the browser from any device. Surprise! dufs is also in the Termux repos and is so easy to get up and running. Again, message me if you’d like to see a write-up about it.


    Installs

    Of course I need some basic utilities. These are the utilities I need to have at a minimum when working with a Linux system:

    • rsync
    • openssh
    • git
    • wget
    • curl
    • fish shell
    • cronie
    • termux-services
    • iperf3
    • speedtest-go
    • screen
    • helix
    • hugo

    Restart Termux and use sv-enable to run certain items as services. I do this for sshd and cronie. It looks like this:

    $ sv-enable sshd
    $ sv-enable cronie
    

    After running sv-enable, restart Termux.

    openssh

    I could build all of this straight from the phone using either the touchscreen keyboard or connecting a standard keyboard and mouse either with a USB-C dock or bluetooth. But, I want to manage this like all of my other servers, which is to ssh into the device and work from my desk.

    There is an official guide for setting up an ssh server. All I will add here is some pointers I learned along the way.

    1. Adding an ssh key is simple and should be one of the first steps done. After generating the key and importing with ssh-copy-id from the desktop, edit the sshd file in $PREFIX/etc/ssh/sshd_config.
    2. Termux generates its own username and cannot be changed. Run whoami to see what it is.
    3. It is the same for the ssh port. As far as I can tell you cannot change the port, which is automatically set to 8022.

    Running the site

    There are lots of guides out there on how to setup a hugo site. I have an existing site that I migrated from a VM to this phone, so my notes do not include how to get a hugo site running. I also do not need to do any port forwarding as I already have a reverse proxy that I just changed where it points for my blog.

    I would like to hear feedback if there is a need to add those notes here. Message me on Mastodon or by email using the links at the bottom of this post.

    Below are notes on how I use the package cronie to start the blog using screen and the automatically reload the blog occasionally. cronie is for setting up cron tasks. Once installed and enabled, run crontab -e like usual to setup tasks.

    This is how I do it.

    First, set a fish alias for the command to reload the blog:

    alias blog_run='cd /data/data/com.termux/files/home/ && /data/data/com.termux/files/usr/bin/hugo serve --bind=0.0.0.0 --baseURL=https://blog.ctms.me --appendPort=false --environment=production --disableFastRender --cacheDir /data/data/com.termux/files/home//cache'
    
    funcsave blog_run
    

    Now, create a script and place in ~/scripts that closes a previous instance of screen, clears the cache, and then starts a new screen session titled “hugo” and execute the alias:

    #! /bin/bash
    screen -X -S "hugo" quit
    rm -rf /data/data/com.termux/files/home//filecache/getresource/
    screen -S hugo -d -m fish -c 'blog_run; exec fish'
    

    Last, set it to run with cron

    */5 * * * * cd /data/data/com.termux/files/home/scripts && sh blog_reload.sh
    

    Backing up

    Since Termux supports ssh connections, I can use it on remote machines to pull the files from the phone using rsync.

    First, need to install rsync on the phone with pkg install rsync.

    Desktop backup

    Now we can run it from my desktop to pull the files:

    rsync -aP pixel:~/ /local/dir/pixel_blog/
    

    On my desktop, I have this for cron

    @reboot sleep 30 && rsync -aP pixel:~/ /local/dir/pixel_blog/ >> $HOME/logs/pixel-hugo-backup.log 2>&1
    

    nas backup

    This is the same configuration. The only difference is the backup location and the cron timing.

    rsync -aP pixel:~/ /local/dir/pixel_blog
    

    The automation:

    5 6 * * * rsync -aP pixel:~/ /local/dir/pixel_blog >> $HOME/logs/pixel-hugo-backup.log 2>&1
    

    git backup

    I have a local self-hosted git instance I push backups to, but you can totally set it up to send them to Github or whatever forge you use. No instructions here because there are plenty of guides out there on how to set this up.

    – – – – –

    Thank you for reading! If you would like to comment on this post you can start a conversation on the Fediverse. Message me on Mastodon at @cinimodev@masto.ctms.me. Or, you may email me at blog.discourse904@8alias.com. This is an intentionally masked email address that will be forwarded to the correct inbox.

    Share. Facebook Twitter Pinterest LinkedIn Reddit WhatsApp Telegram Email
    Previous ArticleGoogle can keep its Chrome browser but will be barred from exclusive contracts
    Next Article Indices, not Pointers
    TechAiVerse
    • Website

    Jonathan is a tech enthusiast and the mind behind Tech AI Verse. With a passion for artificial intelligence, consumer tech, and emerging innovations, he deliver clear, insightful content to keep readers informed. From cutting-edge gadgets to AI advancements and cryptocurrency trends, Jonathan breaks down complex topics to make technology accessible to all.

    Related Posts

    Google’s Gemini rolls out Canvas in AI mode to all US users

    March 4, 2026

    Decagon completes first tender offer at $4.5B valuation

    March 4, 2026

    5 Exciting Harbor Freight Finds Available In March 2026

    March 4, 2026
    Leave A Reply Cancel Reply

    Top Posts

    Ping, You’ve Got Whale: AI detection system alerts ships of whales in their path

    April 22, 2025703 Views

    Lumo vs. Duck AI: Which AI is Better for Your Privacy?

    July 31, 2025288 Views

    6.7 Cummins Lifter Failure: What Years Are Affected (And Possible Fixes)

    April 14, 2025164 Views

    6 Best MagSafe Phone Grips (2025), Tested and Reviewed

    April 6, 2025124 Views
    Don't Miss
    Business Technology March 4, 2026

    Huawei Watch GT Series

    Huawei Watch GT Series – Notebookcheck.net External Reviews Processor: , unknownGraphics Adapter: Display: 1.43 inch,…

    Banks Respond to Kraken’s Federal Reserve Access as Trump Sides with Crypto

    Hyperliquid and DEXs Break the Top 10 — Is the CEX Era Ending?

    Consensus Hong Kong 2026: The Institutional Turn 

    Stay In Touch
    • Facebook
    • Twitter
    • Pinterest
    • Instagram
    • YouTube
    • Vimeo

    Subscribe to Updates

    Get the latest creative news from SmartMag about art & design.

    About Us
    About Us

    Welcome to Tech AI Verse, your go-to destination for everything technology! We bring you the latest news, trends, and insights from the ever-evolving world of tech. Our coverage spans across global technology industry updates, artificial intelligence advancements, machine learning ethics, and automation innovations. Stay connected with us as we explore the limitless possibilities of technology!

    Facebook X (Twitter) Pinterest YouTube WhatsApp
    Our Picks

    Huawei Watch GT Series

    March 4, 20260 Views

    Banks Respond to Kraken’s Federal Reserve Access as Trump Sides with Crypto

    March 4, 20260 Views

    Hyperliquid and DEXs Break the Top 10 — Is the CEX Era Ending?

    March 4, 20260 Views
    Most Popular

    7 Best Kids Bikes (2025): Mountain, Balance, Pedal, Coaster

    March 13, 20250 Views

    VTOMAN FlashSpeed 1500: Plenty Of Power For All Your Gear

    March 13, 20250 Views

    Best TV Antenna of 2025

    March 13, 20250 Views
    © 2026 TechAiVerse. Designed by Divya Tech.
    • Home
    • About Us
    • Contact Us
    • Privacy Policy
    • Terms & Conditions

    Type above and press Enter to search. Press Esc to cancel.