this post was submitted on 30 Nov 2023
3 points (100.0% liked)

Self-Hosted Main

21 readers
1 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

For Example

We welcome posts that include suggestions for good self-hosted alternatives to popular online services, how they are better, or how they give back control of your data. Also include hints and tips for less technical readers.

Useful Lists

founded 1 year ago
MODERATORS
 

I don’t want to hear about your Plex, your NPM, your notes application or science forbid, your budgeting application. I want to hear the most exotic thing you setup to selfhost, that probably only you and a hand full of people around the world actually use or even need. A problem that you solved in a way, that makes people go WTF. Go!

I’ll start: I live in the mountains, and there is snow, lots of snow. I often tell people “We had 3m of snow last year”, but is that really true? So, I thought to myself: Can you measure snowfall? It seems you can, so I setup a USH-9 ultra sound measuring device, connected it via IC2 to my Home Assistant and now I can tell people with confidence, that we had a total of 3.45m of snowfall last season, with max snow height of 60cm on January 5th.

Future project: I have chickens. They lay eggs. I have cameras. I want to know which hen lays how many eggs. Solution? AI image recognition of the hens (who is who) and if they have laid an egg. Any inputs welcome.

top 50 comments
sorted by: hot top controversial new old
[–] terAREya@alien.top 2 points 1 year ago

The industry I work in has many many companies. For whatever reason they all seem to use a very similar website template. Job openings are almost always listed on their webpage. Almost always its a plugin from workday or whatever their HR software is. Years ago I noticed that job listings were almost always published to their websites before they appeared on major job sites like linkedin.

I used a business to business website that lists every single company in this industry by location and has a link for each to generate a list of companys and URLS. I monitor this for changes with changedetection.io

Then changedetection.io + company list and their job posting URLS that look like this company.com/careers/join-us/?_sft_job_posting_category=technical

So I now have about 800 companies that I am able to monitor for job leads and get notified via NTFY with company, job title and job description.

Its turned off currently cause I am actively employed, but when I was looking about a year ago I had it running hourly and if I look again I will indeed use it

[–] Void_0000@alien.top 2 points 1 year ago

I self hosted searxng, but the problem is after I was done I realised that defeats most of the privacy benefits of searxng: If I'm the only one using it, then I might as well just be using the search engines themselves directly.

So now I also have firefox running in a docker container, searching random junk on searxng every couple of minutes.

[–] leafynospleens@alien.top 2 points 1 year ago (2 children)

I have kubernetes cluster running a vanilla warcraft server full of computer controlled bots that play in the world while I'm offline, just chuggs away all day then sometimes I log in and see how the bots are doing and play a little.

load more comments (2 replies)
[–] BaggySack@alien.top 1 points 1 year ago

RemindMe! 3 Days

[–] trexxeon@alien.top 1 points 1 year ago (2 children)

Well we all need a 100G capable firewall sometimes

[–] Patient-Tech@alien.top 1 points 1 year ago (1 children)

I need a connection that warrants a 100g firewall.

[–] ElevenNotes@alien.top 1 points 1 year ago (1 children)

If you have fiber, chances are you can get a 100G+ connection.

[–] Patient-Tech@alien.top 1 points 1 year ago

Really? I’ve seen fiber being a nice treat only in some locations. Most of them are pushing 1gig with 10gig as the new option in select areas. I haven’t heard of any 100g broad rollout as a residential connection. Heck, who can even utilize that pipe? Besides a distributed mesh type network, I think even your best CDN’s can’t dedicate more than 10g (maybe 1) to a single client. Besides, what would that cost? Holy smokes.

[–] ElevenNotes@alien.top 1 points 1 year ago

One can never do without one.

[–] ProgrammerPlus@alien.top 1 points 1 year ago (1 children)
[–] VisualBuilder4@feddit.de 2 points 1 year ago

I know it only as a german expression for something extremely common or regular. Apparently it was a type of machine gun used in WW1 and WW2 that was the default weapon and / or of lower quality.

[–] DyceFreak@alien.top 1 points 1 year ago

Spank me and tell me you host your own email.

[–] isleepbad@alien.top 1 points 1 year ago (1 children)

Mine is a bit exotic I guess. I use Terraform to manage my home lab. I tried all of the docker update solutions out there and they'd always make my Terraform out of sync. So I built my own solution that interacts with an orchestrator, a backend and a front-end.

I use Terraform to create flows for each service. Then the flows interact with the backend to manage the actual updates. The frontend is there to let me see the latest change log of each project before I update.

For my next project I want to set up an oil tank monitor for our heating. Then I can use Prometheus and Grafana to monitor usage. From there I can start making predictions and so on

[–] chin_waghing@alien.top 1 points 1 year ago

Sounds very cool, and I'm going to be a huge ass and say that could have easily been done with k3s and either flux or argo image watcher.

+1 for terraform at home tho, I do the same and people look at me like I've curb stomped their child

[–] driversti@alien.top 1 points 1 year ago

RemindMe! 2 days

[–] evansharp@alien.top 1 points 1 year ago (1 children)

When I lived off grid, I wrote an energy production measurement application. With both hydroelectric and solar going through a 1990s inverter, it was something. Nowadays these are off the shelf for suburban yuppies, but for my DYI-everything homestead, only DIY would do. Measurement was via shunts. I put it online over satellite internet and could watch my production and static consumption from work.

[–] ElevenNotes@alien.top 1 points 1 year ago (1 children)

You built your own hydro? Tell me more!

[–] kekonn@alien.top 1 points 1 year ago

From what I've gathered from youtube you'll usually need to create a height difference of some sort by damning up a bit of a stream, then have the overflow go through a pipe that's a sheer drop down onto an impeller attached to an electric motor (bonus points if it's recycled from something like a washing machine).

Then from that motor it's on to battery chargers etc....

[–] shbatm@alien.top 1 points 1 year ago

Future project: I have chickens. They lay eggs. I have cameras. I want to know which hen lays how many eggs. Solution? AI image recognition of the hens (who is who) and if they have laid an egg. Any inputs welcome.

You'd probably like this: https://www.reddit.com/r/homeassistant/comments/schcw0/diy_smart_chicken_coop_and_inapp_egg_counter/

[–] geek_at@alien.top 1 points 1 year ago (1 children)
load more comments (1 replies)
[–] Illustrious-Many-782@alien.top 1 points 1 year ago (1 children)

I'm not hosting anything exotic right now, but in the past, before the -arrs existed, back in the 2000s:

  • Linux computers in every room, all PXE booted thin clients I crafted myself from a pallete of off-lease computers
  • A custom RSS feed to rtorrent to a MythTV setup that migrated video as you walked between rooms.

The first one was actually useful. The second one was more of a novelty I'd show to visitors.

[–] jdlnewborn@alien.top 1 points 1 year ago

MythTV. There is a name I haven’t heard of for a while. Whoa.

[–] Still-Snow-3743@alien.top 1 points 1 year ago

I have an automation that is triggered by a door open/close sensor that I have attached to the flushing arm in my toilet with a custom made 3d printed mount for the sensor, which triggers a script on the server which connects to the chromecast speaker in the bathroom and plays the final fantasy 7 battle victory theme whenever someone flushes the toilet. It is perhaps my favorite part of my home.

[–] pzl@alien.top 1 points 1 year ago (1 children)

I have two! The first is exotic purpose, the second is just tightly integrated so much that it might be only useful to me.

Smashcam

I live on a busy corner, in an otherwise slow and sleepy town right outside the city line. I live between a lot of town services on one side (fire house, library, athletic fields, town hall) and the elementary school on the other side. Pedestrian traffic is very high, the amount of children crossing is very high, bicycles abounds, and the cross street between them is decently high traffic.

So I see a decent amount of car accidents on my corner. 30mph limits on both streets so usually not catastrophic, you might be driving away instead of towed. But the repairs will be substantial on most of these. To provide an objective reality-as-a-service, I set up a camera high up in the eaves of my roof pointed right at the intersection. I've sent the police enough clips that they know where to archive my emails for evidence by routine. I've started training a model to detect car crash noises (and honks) to cut and save the clips automatically. It's not reliable enough yet, but this could become a reasonable pipeline:

Car crash audio detected ->
Notification "Possible crash, do you want to review the footage and send to the po-po?" ->
manual human review to make sure we're not sending false positives ->
hit send ->
email with clip constructed and sent

Photos

This is not exotic in terms of its purpose. Lots or people have self-hosted photo sites (heres a whole chart of them all!)

But none of them integrated with my foss RAW editor darktable.

So I built my own photo site alternative that parses the darktable edit files and DB.

So now on the web, I can see the ☆ ratings I gave the photos in my editor. The tags and labels, etc. I parse the RAW files to show the focus boxes that the cameras write in the metadata when they took the picture, the facial recognition bounding boxes, etc.

And it shows the edit history stack and all the edits from my RAW editor. And of course, it has the left-right swiper to show before/after the photo edits. I can export any size, and it calls out to darktable with command-line control to export with the given edit stack to make the JPG of whatever size I'm requesting.

So yes, alternatives exist. Mine is simply very specialized to a particular editor program. I don't believe I made the repo public, so as far as I know, I (and my family) are the only ones using it. It's probably more featureful than things I have released.

[–] ElevenNotes@alien.top 1 points 1 year ago

That with the car crash is awesome. I’ve read a few month ago of a gun shot detector someone was deploying around their city to triangulate where it happened, that’s more sci-fi than anything the law enforcement is doing. Kudos to you for helping out the police.

[–] maof97@alien.top 1 points 1 year ago (1 children)

I don’t know how exotic hosting a SIEM and EDR (Elastic Security) solution for self hosting ist but I do that. Complete with custom alerts and all. Additionally I use Wazuh for vulnerability management and integrity monitoring on my assets. Also I run a SOAR-like script that enriches my alerts with other SIEM and external Threat Intel data.

[–] mlazzarotto@alien.top 1 points 1 year ago (1 children)

Is Elastic Security free? I have Graylog but the security functionality is not included in the free edition.
Also, if you don’t mind, what triggers did you implement?

[–] maof97@alien.top 1 points 1 year ago

It’s completely free even the EDR and Threat Intel functionality. It blows my mind too. The only things that are not free are things like machine learning detection, ransomware and cloud (k8) protection and other enterprise stuff like SSO. Besides the prebuilt elastic rules (https://github.com/elastic/detection-rules) I implemented about 50 of custom rules for stuff like too many failed logins, unusual traffic flow (you can also send flows from your FW to Elastic), user account creation, network reconnaissance, unusual geo-ip location etc.

The stack is based on the „pfELK“ docker compose file (meaning it integrates automatically with Pfsense/OPNsense logs) that I further modified to automatically include the fleet server and threat intel agent and stuff: https://github.com/maof97/pfelk-docker

[–] IllegalD@alien.top 1 points 1 year ago (1 children)

I selfhost text-generation-webui (LLM's), mimic3 (TTS), and whisper (STT) on a pair of GPU's and tie them all together to make self-contained AI voice interactive chatbots and other nasty stuff.

[–] ElevenNotes@alien.top 1 points 1 year ago

Same! Would be nice if someone sits down and makes a ready to consumer product for this, turning your house into Jarvis, without any cloud.

[–] highedutechsup@alien.top 1 points 1 year ago (1 children)

100g in the mountains? Where is this mythical place?

[–] vnangia@alien.top 1 points 1 year ago

Switzerland, has to be. Once you learn about Init7's $70 25Gbps FTTH service, you get sad panda.

[–] mlbarrow@alien.top 1 points 1 year ago

This sounds like r/diwhy for homelabs! 🤣

[–] OutsidePerception911@alien.top 1 points 1 year ago (2 children)

I’m up for the chicken challenge, dad wants to have chickens, we live too far apart. It’s reusable, plus now you can know which chickens will go to nuggets and which give you omelette

[–] Voklav@alien.top 1 points 1 year ago

Lol thanks for mealie.io... I didn't know that.

[–] ElevenNotes@alien.top 1 points 1 year ago

Problem is training the model which hen is which from different angels. I would need to provide a lot of video material for every single chicken and then apply ML to get a match. With 40 birds, that's a lot of prime video footage per hen. Maybe I'm missing a better solution?

[–] BloodyIron@alien.top 1 points 1 year ago

I bought a Samsung Galaxy S4 from my GF like 6 years ago for $50. She of course upgraded her phone. I replaced the OS with LineageOS and slammed the ability to boot from ISOs over USB onto it. I now use it as a backup way to boot from ISOs over microUSB->USB-A in many different forms. It's not as fast as I can get with better USB thumb drives, but in a pinch, it's there for me! I know this isn't exactly me writing code here, but I had to unlock the boot loader, replace the OS, root it, make sure Google Play worked on it (that was a touch of hacking, but again not my code), and stuff like that. So it's a legit device as far as Google Play can tell and all that! Also the S4 has a removable battery so yay!

Yes this is self hosted related because I use these ISOs for server stuff, be it Proxmox VE OS install, OPNSense, or even firmware bootable ISOs (although those I probably should have on a dedicated thumb drive that doesn't require a battery to live lol).

[–] thisisabore@alien.top 1 points 1 year ago (1 children)

The stupid printer didn't have decent Linux support, so after we moved I couldn't change its wifi settings to give it the credentials to the new network. Solution: I created a secondary, isolated SSID on the wifi AP to replicate the old wifi network that the printer knew, and now we could connect to the printer over wifi again. (And security bonus, it was now on an isolated subnet.)

load more comments (1 replies)
[–] sturgeon01@alien.top 1 points 1 year ago (1 children)

The last place I lived was heated with an enormous pellet stove which would run itself out of pellets entirely before letting out an ear-splitting series of beeps and forcibly shutting off for about an hour. To avoid this, I taped an ultrasonic distance sensor to the lid of the hopper and had an ESP32 send me alerts and display the current pellet level on a little OLED.

Not a terribly dumb idea, except for the fact that ultrasonic distance sensors seem to be incredibly bad at measuring a constantly shifting mass of porous pellets. I don't even know how many hours I spent working on an algorithm to get accurate readings, and by the time I moved out it still wasn't quite right. I'll also note that this pellet stove was in the living room, about 5 feet away from where I spent most of my time, and I could've just, ya know, got up and checked the hopper occasionally.

[–] ElevenNotes@alien.top 1 points 1 year ago

That’s not what we do here sir! We do not apply common sense, we find fancy automatic solutions to simple problems.

[–] jakoberpf@alien.top 1 points 1 year ago

Love the stuff from the comments here.

For me, not so WTF but still a little overkill. My Parents have a sauna in the Garden which we occasionally use. But in the winter it’s cold and you don’t want to check outside for the temperature of the sauna until you go in. So my cousin and be build a little WebUI and Python script which allows us to monitor the temperature and control the state of the sauna remotely. 10m from living room garden sauna saved 😅

[–] tjernobyl@alien.top 1 points 1 year ago

I used to pull AIS data and filter by sightlines to buzz my Blackberry to let me know when I could see boats out my window.

Long-term plans are to put up a tower and get flight data, ionospheric conditions, weather, lightning, particulate, light quality, as well as a pair of cameras to get sunrise and sunset.

[–] CountZilch@alien.top 1 points 1 year ago (1 children)

Would probably get more zanier responses on the Home Automation or Home Assistant subreddits.

load more comments (1 replies)
[–] justinrlloyd@alien.top 1 points 1 year ago (1 children)

Just about all my projects are (or rather were) on github. The hidden ones are due to redditors trolling or being outright shitheads, so I had to hide some projects temporarily.

Timezone aware clocks

I have a wall of eight timezone aware clocks, with the arms controlled via stepper motors to a single raspberry pi. The Raspberry Pi also controls eight separate OLED displays that are made to emulate VFDs. And then I set each clock to the timezone it corresponds to, pull the weather and temps from the internet and send them to each display, and also show some headlines for the region. When you need to talk to a client, you know what time it is there, what the weather is like, and recent news headlines.

Chore list

I have a chore list that displays on 12"x4" touch screen, with physical electromechanical toggle switches that are controlled by a raspberry pi. This chore list reminds me to clean the litter box, water the plants, pay the car insurance, etc. When I complete a chore, I flip the physical toggle switch and the chore gets marked as done until the next time. After a while, the chore disappears from the display, and the raspberry pi releases the electromagnet and resets the physical toggle switch back to the "undone" position.

Jukebox

I have a physical jukebox I built, that mounts on the wall, that streams music from my Synology. It has a bunch of super satisfying to press clicky tactile LED illuminated arcade buttons for track select, and the track lists are shown on two 4K 12"x4" touch screens. There's two more 1920 curved touchscreens for the marquee to show album art and for navigation. That's a single raspberry pi controlling four separate touch screens and about 50 buttons. When you press a button to play a track, the button locks down, like on the old car radios, but the raspberry pi when switching tracks can physically retract or release the buttons too. There's a software defined jog wheel that has an OLED display to control the volume, but the raspberry pi can turn the physical dial too. That's wired into chatgpt, speech to text and text to speech, with cortana as the voice, and I can say things like "whatever happened to the lead singer of this band?" or "Play a random shuffle of more tracks from this year."

Memories

18x 9" OLED screens that display a photo montage and photo gallery of family pictures all controlled by a raspberry pi.

The Wall

It's a half-dozen salvaged OLED displays built into a false wall behind some sliding shoji screens. The displays are driven by some old piece-of-shit computer and GPU. They display nature scenes. It's an enormous digital window.

Home Health

I have a smart dashboard that tracks my cats, phones, wallets, weather, and a bunch of other info that is displayed on an ipad by the coffee machine.

Daily Guk

It's an old 21" android tablet that displays only good headlines, daily funny comics, weather, upcoming calendar, etc.

Cat Toy

It's a 55" touch screen that entertains my cats. Android stick plugged into the back running some custom Unity3D games.

Walking Timer

I built a timer that tracks how long we walk, and how many laps we do around the block, and then I grab the images from the doorbell camera and use computer vision and gait analysis to automatically detects when we leave, when we return, and how many times we walked past the front door on our laps, and calculates our speed.

CNC Controller

I have a CNC controlled by a Raspberry Pi, which in turn is controlled by an Android tablet. So if the UI crashes, the CNC will continue running the gcode. This could now be replaced by other open source projects that have become available since I created this setup.

RV Sync

I have an all flash NAS at the RV which is set to automatically sync the video & music directories, and a few other directories, between my NAS at my home and the NAS in the RV so that all the contents are available when on the road, even if internet is a bit wonky.

Retired Projects

Cat Litter Robot

This was a litter box, with a Kinect, a web cam, a Fujitsu robot arm, and Amazon's Mechanical Turk. The robot arm was controllable via a web UI and it live streamed the litter box. When a cat did their business, the kinect detected that, weighed the litter box, and then sent a request to mechanical turk to have someone clean the litter box for 25 cents. And then when they were done, two more requests were sent to mechanical turk to have other people independently verify that the video showed the litter box being cleaned adequately.

Giant Waterfall Ring Toss

An art gallery in Los Angeles wanted something as an attraction due to the pandemic, so I salvaged a 55" display, built an enclosure, and installed it in the upper glass portion of the door frame of the art gallery, and people could play the classic "Waterfall Ring Toss" game by mashing a great big button.

Remote Control Cat Toy

I built a web browser controlled remote cat toy with one of those feathers on a wand controlled by a number of servos. And also added a laser point option too. Then had a bunch of web cams live stream the adoptable cats in the shelter. And people could donate a $1 to "play the arcade game" with cats that would get unlocked as people contributed more money.

Planetarium

I built a 12 foot wide classic planetarium driven by a raspberry pi and a lot of really strong high torque servos for a science museum exhibit. Kids could use a jog shuttle dial to rotate the planetary orbits.

The Matrix Camera Capture Rig

I built a cheap camera capture rig for a science museum that works like the Bullet Time rigs, but this was done with cheap point & shoot SONY cameras. Patrons sit on a couch, or pose in a movie set, and the capture rig takes a snapshot, puts a video on the monitor for them that orbits the subjects.

Digital Sandbox RTS

A box of physical "wet sand" that you could play in, that projected an image from three overhead projectors, and you controlled a small army you could send into combat against other people playing in the sandbox. Kind of like a simple Populous game. That was on display at one of the Los Angeles kids science museums for a few years.

[–] deg0nz@alien.top 1 points 1 year ago
[–] cspybbq@alien.top 1 points 1 year ago (1 children)

I have 4 kids. I had a kid-management app running at home for a while.

It assigned chores in a rotation, including periodic chores like cleaning out the fridge which didn't need to happen every day. The kid interface had a simple green button they could click to say they'd done their chore.

When THAT happened, their fake bank allowance balance would increase.

The server side piece would track how long they were logged in and lock their screen after 30 minutes of screen time a day

The parent side included a form to track spending (decreasing their balance) and to enable and disable their user accounts on the computer. It could also grant additional screen time if needed.

The kids are older now and like hoarding cash instead of a balance, and they aren't as motivated by screen time as they used to be. So the app is no longer in use.

load more comments (1 replies)
[–] drMonkeyBalls@alien.top 1 points 1 year ago (1 children)

My town used to post our garbage pickup schedule as a photo pdf to our town's website.

They tend to change when garbage will be picked up randomly espcially near holidays, so it can be annoying and we'd end up running out in the morning when we heard the truck driving by on 'off' days

The changes always made it into the calendar at least the night before.

I wrote a horrible python abortion to grab the PDF, OCR the data, and then put it into HA so I can have HA turn a light on in my hallway the night before.

These days they make the calendar available as an iCal file so data ingest is way easier.

load more comments (1 replies)
load more comments
view more: next ›