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.

  • luciferofastora@feddit.org
    link
    fedilink
    English
    arrow-up
    2
    ·
    20 hours ago

    I have one accessibility quibble:

    WCAG 2.2.2 recommends that any moving content, such as your carousel of reviews, have some mechanism to pause it. More information can be found in the accompanying Understanding WCAG document.

    I didn’t do any full accessibility test on your page. I don’t know if you care about WCAG compliance anyway, and frankly, I wouldn’t expect it for a hobby project. It’s just one of the details a professor of mine drilled me on so thoroughly that I still remember it eight years later.

    • tradicije@lemmy.zipOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      12 hours 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

      • luciferofastora@feddit.org
        link
        fedilink
        English
        arrow-up
        2
        ·
        10 hours ago

        Then you’re probably more knowledgeable on the topic than me. I did a great job of only learning the basic minimum of frontend development in my WebDev classes, never mind UI design or UX testing. If it weren’t for a webapp QA gig I did for a while, I would’ve had no experience with usability at all.