tradicije

joined 2 weeks ago
[–] tradicije@lemmy.zip 2 points 1 hour ago

As a UI/UX hobby designer I absolutely understand what you are talking about and yes, I should add the ability of the carousel to move with fingers/mouse, just haven’t gotten into it yet

[–] tradicije@lemmy.zip 2 points 1 day ago

It sounds like a good idea until you remember that USB provides 5V and the battery contacts are designed for a Li-ion battery and its management circuitry.

Wiring USB directly to the battery contacts would basically be like noticing your car runs on petrol and pouring it directly into the engine instead of the fuel tank. The general concept of “engine needs fuel” is technically correct. The implementation leaves something to be desired.

The USB port and the phone's power-management circuitry exist for a reason, and bypassing them could damage the phone or make it behave in exciting new ways.

A properly regulated dummy battery, however, might actually work. Unfortunately, that means I now have another terrible idea to investigate.

[–] tradicije@lemmy.zip 2 points 1 day ago

Great idea! Just can't promise I get everything setup any time soon lol. But I will try for sure.

[–] tradicije@lemmy.zip 2 points 1 day ago (2 children)

Lol, indeed. The music is stored on the Motorola, and it's being served by the Motorola.
And thanks for the compliment about my music! The mix is shit, but on the other hand, it was made by my own two hands — no AI involved.

[–] tradicije@lemmy.zip 7 points 2 days ago (1 children)

Your contribution is noted and landed you a new position at Pettyl Industries!

Read Here

[–] tradicije@lemmy.zip 1 points 2 days ago

Just like all mushrooms are edible once...

[–] tradicije@lemmy.zip 5 points 2 days ago

Yeah, for 40 bucks I get a phone with good specs and a free pillow!

[–] tradicije@lemmy.zip 5 points 2 days ago (2 children)

Maybe not an identical one, but I did find an interesting Note 9 for around $40...

I guess this is foreshadowing...

[–] tradicije@lemmy.zip 4 points 2 days ago (4 children)

Now we're speaking the same language!

[–] tradicije@lemmy.zip 2 points 2 days ago

Thank you for the kind words 🎩

[–] tradicije@lemmy.zip 8 points 2 days ago

You are absolutely fine!

People here, including you, have been very respectful and thoughtful, and I am all for feedback.

I don’t have the knowledge of the whole universe, do I? So please, by all means, I want to hear your critiques, it makes the project better and I learn along the way!

[–] tradicije@lemmy.zip 6 points 2 days ago* (last edited 2 days ago) (7 children)

Nah, an actual UPS with 7kg batteries is way cooler.

But I really appreciate the feedback!

 

This post is an update of the second part of my Moto server series: https://lemmy.zip/post/72142441

Rumor has it that keeping an 8-year-old phone permanently plugged in with its equally ancient Li-ion battery might not be the greatest idea ever conceived.

Some even claimed that a phone needs a battery to work.

Very negative people.

Anyway, I removed it.

Pettyl did not care.

nginx: UP PHP-FPM: UP MariaDB: UP WordPress: UP cloudflared: UP sshd: UP

The battery is currently sitting next to the phone, contributing absolutely nothing to the project.

Pettyl is now running entirely from USB power, at around 37°C, while continuing to serve the website like this is completely normal.

There is, however, one tiny detail the haters may enjoy:

It can’t boot without the battery.

So the official Pettyl disaster recovery procedure is now:

  1. Insert battery
  2. Boot Pettyl
  3. Connect USB power
  4. Remove battery
  5. Pretend this is enterprise infrastructure

The battery is no longer a battery.

It is the starter motor.

I see no problems with this architecture.

Anyway, Part 3 is going great.

 

We did it boys! Battery is no more: https://lemmy.zip/post/72181546

This post is a follow-up to my original post: https://lemmy.zip/post/71885626

Surprisingly, it wasn’t that tough to set up.

My original plan was to install postmarketOS and turn the phone into a proper tiny Linux server. Unfortunately, my Moto E5 Play is the pettyl variant, while the available postmarketOS port is for james. I decided that turning the phone into a brick probably wasn’t an essential part of the project.

So I went with Termux instead.

It’s now running nginx, PHP, MariaDB, WordPress, SSH and cloudflared directly on the phone. Everything starts automatically on boot, and I even made a tiny WordPress plugin for anonymous Today / Total / Online visitor stats.

And yes, the website is being served by the exact phone in the photo.

1 GB of RAM. Somehow this thing is now a production server.

I named it Pettyl, after the device codename.

You can actually visit it at https://moto.dimitrium.org/.

The website is barebones, I plan to push it to the limits. Also, this project will soon be available on my GitHub page https://github.com/tradicije

Next problem: figuring out how long an old Motorola can tolerate my bullshit.

177
submitted 1 week ago* (last edited 3 days ago) by tradicije@lemmy.zip to c/selfhosted@lemmy.world
 

Update is here: https://lemmy.zip/post/72142441

Hey guys, since I got into hosting my own servers, any electronic device I see I wonder - can it become a server?

This is probably not a crazy and new idea with android phones, but I had to share it with you. If you don’t know, there’s this thing called postmarket OS, full linux experience on an android phone.

Of course, not all phones are supported, but a phone like Galaxy Note 9 is a great candidate - it supports LAN over usb, postmarket OS fully supports it (the Exinos version) and setting up a phone as a selfhosted server has it’s real perks. Pis got really expensive, not to mention they don’t have a built-in UPS (phones have batteries), they use slow SD cards, while phones have faster UFS memory, phones draw way less power.

What do you guys think? I will for sure get a used Galaxy Note 9 and explore this idea, and if all goes well, I might even buy more of them and create a cluster.

view more: next ›