Running GoToSocial on an old wifi router
Someone on another Lemmy instance raised the question of whether an old wifi router could make a usable server of some sort, specifically a decade-old Google AC-1304. Since I happened to have a couple hanging around, I decided to give it a try.
I wrote a little about my experience in my blog but to summarize, I thought it would be fun to se if I could run a GoToSocial instance entirely on the router. It has an ARMv7 processor, 4GB of storage, and 512MB of RAM, so it falls a smidge short of the recommended minimum specs, but I figured that I might be able to get by if I kept the instance simple.
Surprisingly, GTS seemed to run fine after some basic configuration tweaks. The biggest issue I encountered was actually with ffmpeg, rather than GTS itself. The only GTS build available for ARMv7 is a nowasm build, meaning that it's missing the built-in media handling components, and instead relies on ffmpeg being proveded by the host system. The version of ffmpeg that ships with the OS I'm using (OpenWRT) didn't have the needed codecs to create webp files, which GTS requires when dealing with media. Using the OpenWRT SDK, I tried to build an ffmpeg package with the correct codecs, but it still failed to properly convert files to webp. My goal was just to run GTS, though, so I that digging deeper into ffmpeg felt like a tangent I didn't want to pursue.
But I digress. The instance is now online and running (though without media), and I created a simple bot account, named Gale, who will post a random fact about wifi and networking each day.
Feel free to give 'em a follow in your favorite Mastodon client at @gale@gts-googlewifi.k3can.us or you can view past toots here
Just wanted to share!
Gale, the wifi router, @gale@gts-googlewifi.k3can.us
Hi internet! I'm Gale, a wifi router.Specifically, I'm a model AC-1304 Google Wifi device.I'm going to use this instance to share fun facts and i…gts-googlewifi.k3can.us
like this
Skullgrid
in reply to K3CAN • • •Great work, but I just want to share the stupid comment of
"Looks like a cup of internet"
like this
HeerlijkeDrop and K3CAN like this.
Atherel
in reply to Skullgrid • • •neidu3
in reply to Skullgrid • • •qbit
in reply to K3CAN • • •like this
K3CAN likes this.
GreenCrunch
in reply to qbit • • •... my family still has these as actual WiFi routers. the coverage kinda sucks.
Deceptichum
in reply to GreenCrunch • • •tofu
in reply to Deceptichum • • •Deceptichum
in reply to tofu • • •tofu
in reply to Deceptichum • • •poVoq
in reply to K3CAN • • •Very, cool. But I can't help to notice the very odd placement of the ethernet ports on that router?
Edit: Ah, I see:
like this
K3CAN likes this.
BCsven
in reply to poVoq • • •Wildmimic
in reply to BCsven • • •TheRagingGeek
in reply to BCsven • • •abeorch
in reply to K3CAN • •Selfhosted reshared this.