this post was submitted on 31 Mar 2026
29 points (96.8% liked)

Programming

26316 readers
944 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 2 years ago
MODERATORS
 

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

you are viewing a single comment's thread
view the rest of the comments
[–] confusedpuppy@lemmy.dbzer0.com 4 points 1 day ago (3 children)

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.

[–] comrade 2 points 1 day ago (2 children)

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 2 points 1 day ago (1 children)

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.

[–] comrade 2 points 1 day 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