Follow

Should I try hosting Pleroma on a phone?

· · Web · 4 · 2 · 6

I realized I have no way of exposing it to the outside, so I'm just gonna try localhost

Well, shit. I'm running out of space, forgot to change system locale and I need to compile Elixir myself.

Fuck it. Nothing is available for ARM64. Maybe if I get a older phone that's ARMHF and on par with Raspi.
Mom has a Samsung S3 Mini she doesn't use.

Maybe doing dpkg --add-architecture armhf will do it.

I'm currently trying to get Raspi version of Erlang installed so I can install the Raspi version of Elixir.

Maybe installing 400MB of armhf libraries will help.

Screw it. Wifi cut out so SSH dropped out.
I'm gonna try tomorrow on a different phone.

@matrix
I believe that armhf code will run fine on an aarch64 phone, with no modifications. Don't quote me on it though.
By the way, nice idea!
@matrix
The CPU supports the instructions, but there's one caveat: the kernel needs to have support enabled for the binary format at compile time.

@tunas I doubt the Linux VM is fully virtualized, so I don't think I can recompile the kernel.
My bet is that it's similar to OpenVZ.

@matrix
Wait, is this a phone or a Scaleway ARM server?

@tunas I think I might be able to dodge this by adding buster, which has Elixir 1.7.4

@matrix yes! I thought of doing it with my S8 a while ago but I am too lazy lol

@rin I'm currently doing it. Do you know a way how to expose it to the outside world if I'm under a NAT?

@matrix reverse ssh tunnel to your server I guess

@rin So run Nginx on a VPS and reverse SSH port 4000 into it?

@ffs Purism has already laid claim to it. I need to run it on a Game Boy for reasons, and stuff.

@matrix @tuxcrafting
@thatbrickster Purism claimed what?
Better luck on a GBA. GB requires delicate assembly, and extreme customization.
@matrix
@ffs @thatbrickster @matrix There's a C compiler for the GB but it's buggy.
The assembly for the GB isn't terribly hard other than a few buggy opcodes deciding that it would be great to corrupt sprite info memory when you feed a few numbers it doesn't like into them... and it's not *actually* a Z80 as it's missing a lot of things while adding a few others.

GBA is ARM. It'll run it if it can fit though. Though that's definitely a Funâ¢Â qualifier.

If you want to get it running on a Z80, try a ZX Spectrum 128. SDCC has a Z80 backend which is probably better than that GB C compiler.
@cutscenes here's something both aren't thinking:
What's your eth0?
@matrix & @thatbrickster would need to tailor or completely write a terminal to Internet device.
GBA already comes with a Wireless Adapter, Infra-Red, the heavily documented AGB-005, Mobile GMT adapter, a proper programming suite, and more power to store a proper database.
It's the little things, unless they want to create their own hardware extensions.
@ffs @matrix @thatbrickster I'm not sure how well converting SPI to RS-232 would work if you were to implement SLIP or PPP over such an interface. You need to send in order to receive.
Sign in to participate in the conversation
Game Liberty Mastodon

Mainly gaming/nerd instance for people who value free speech. Everyone is welcome.