I was inspired by @computersandblues and @kaimac yesterday (plus @stevelord today) and decided to test out running a website from an old phone. Last night I made a mirror of my blog running on a Verizon Pixel 5 using only Termux.
-
I was inspired by @computersandblues and @kaimac yesterday (plus @stevelord today) and decided to test out running a website from an old phone. Last night I made a mirror of my blog running on a Verizon Pixel 5 using only Termux.
Check it out at https://pixel.ctms.me
-
Update on this: Moved to a solar setup I have been testing with a 100w panel and a small battery bank. So, now runs completely offgrid with a used phone I rescued. It also configured it to run my main blog and now can visit https://blog.ctms.me that is served on a Pixel 5 running on solar.
-
I've hit my first snag on this. After adding a new post, I can't get Hugo to rebuild with the changes. The site continues to run, but will not show any changes. Not the new post, not if I remove a post, not even an edit on an existing. I've tried rebuilding a few ways, tried disabling cache and fast render. Even rebooted the device and still won't show any changes.
-
It really feels like a caching issue. Feels like Hugo is just rebuilding the site from cache and not the directories mapped. But, I can't figure it out. Trying to run with debug turned on, but nothing obvious.
-
Wait! I got it. A theme issue. Updated theme and fixed up. Now working on html rendering for videos.
-
And got it all working. https://blog.ctms.me is now pointing to the Pixel 5 and its also able to embed some short videos like the one in today's post.
-
Lesson learned today with phone server. Solar panel charges a Jackery power bank. This morning the Jackery turned off the AC outlet as the draw was below the cutoff and it's designed to automatically turn off the outlet. So then the phone ran on its own battery and died about noon. I will need to figure out a notification system for when it loses AC power. Might be able to do it with Tasker and/or ntfy.
-
An absolute mammoth post about how I am running this blog site from a Google Pixel 5 Android phone using only Termux. It includes what inspired me, what I'm using for the setup, and my longform notes on the entire project.
https://blog.ctms.me/posts/2024-08-29-running-this-blog-on-a-pixel-5/
-
Update: I moved the blog back to my Debian server. Absolutely nothing wrong with running the blog from this Pixel phone and never once had any issues. I just have too many misc devices around and I wanted to consolidate. It's also the end of my solar panel testing. Now it happily runs in a VM but I can move it back at anytime.
-
@cinimodev That explains why the bookmark didn't work for me.