I’ve been scrolling around and I’m wondering what sort of projects everyone here is working on? I have not worked on anything in awhile but I wanna see more projects and maybe that’ll change haha

  • confusedpuppy@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    4
    ·
    3 days ago

    For the past couple weeks I’ve been working on getting a small self hosted server up and running. It’s running off a Rasberry Pi 5 + a portable USB 3 hard drive so it’s quite small and simple. It runs Alpine Linux and I’m using rootless podman to manage my containers.

    I’ve been writing my own backup system which are all POSIX portable scripts focused around rsync. One script handles chains of rsync commands based on files. One script handles the number of backups and the current script I’m writing handles stopping and starting containers for before and after a backup.

    All the scripts are minimal, focus on one specific task and easy to use in scripts. There’s lots of focus on making them safe to use with lots of error handling.

    After that I need to make a keep alive script because I lose all connectivity to the server sometimes, including ssh. The device isn’t frozen, just stops talking for reasons unknown. After that I want to secure my ssh connection with wiregaurd and my server will be secure and low maintenance enough for my liking.

    I have my completed scripts up on codeberg.

    • Cyn@infosec.pubOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      3 days ago

      I like the look of the backup scripts and I might use the dynamic motd script. Id love to hear more about what your selfhosting? (also btw you using codeberg is hella respect)

      • confusedpuppy@lemmy.dbzer0.com
        link
        fedilink
        arrow-up
        2
        ·
        3 days ago

        Thanks, I’ve learned a lot about Linux focusing on learning POSIX portable scripts. It’s been an experience.

        I just have two containers. Caddy which handles let’s encrypt certificates and Kiwix to host Wikipedia plus about 10 other wikis, ranging from Linux coding to first aid, gardening, and other stuff meant for local self sufficiency.

        I also use Caddy as a basic file server. I have a number of self sufficiency books on there, POSIX coding references and all my scripts and notes on Alpine Linux. I also have a static blog site there simply using Caddy as well.

        I have a strong focus on minimalism so I don’t intend in going crazy with self hosted services. Also I have huge trust issues with so many self hosted projects so making my own projects when possible means less exposure to security vulnerabilities, AI or enablers of Authoritarian powers.

        I spent a lot of time making it secure with some added obscurity so only myself and those who I share my site with can feel safe connecting to my server. It’s been quite the learning adventure.

        Let me know if you have any issues with the motd script. I gather most of the information from /sys/ and /proc/ files so hopefully it’s consistent and accurate across other distributions. I’ve only tested it on Alpine Linux.

        • Cyn@infosec.pubOP
          link
          fedilink
          English
          arrow-up
          2
          ·
          2 days ago

          I have a strong focus on minimalism so I don’t intend in going crazy with self hosted services. Also I have huge trust issues with so many self hosted projects so making my own projects when possible means less exposure to security vulnerabilities, AI or enablers of Authoritarian powers.

          I feel this heavy bro. I used to make minimal projects to satisfy what I needed like a kabanboard or pgp management or wtr. I wish more software took the time to protect against their real-world threat model but alas alot of the times there is negative profit incentive to do so…

          also, If I remember to let you know I will, I hardly make stuff anymore so I don’t use my vps’ often