I’m self hosting on an old laptop, and I’m a convert for life. Self-hosting is amazing. Looking for other people’s weirdest examples of what they’re doing as inspiration.
My example, I recently set up a grammar script, where I have a couple 8b LLMs and an html landing page. I upload a doc and it corrects grammar and highlights changes it made, or just proofreads and I make changes manually. I can upload a novel before bed, and have suggestions based on specific writing styles in the morning. All local, perfectly suited for my own work.
I have a lot of custom stuff, esp. regarding HomeAssistant integrations. But my favorite “stupid/not stupid if it works” solution is the following:
I have an LG TV and attached Nvidia Shield. The Shield is the only input we ever use on the TV, and since its remote also can turn the TV on/off and control volume, its all we need. Which is pretty neat, only one remote.
Except for image settings (i.e. proper bright picture during the day, different less bright image mode during the night). I don’t want to keep the extra remote on the couch just for that, but unfortunately, these settings are not exposed via HDMI CEC.
They are, however, exposed via a web API on LG TVs. So my utterly stupid solution is this:
- install quick actions app on the shield
- reconfigure Netflix button on the shield remote to open quick actions popup
- add two quick actions, night and day, that curl simple HTTP endpoints on a VM I set up
- on the VM, a simple flask server listens, and then sends the (too complex for the quick actions app) API request to the TV.
(I feel the need to add: the TV is in an isolated subnet and has never once communicated with the internet, and it will damn well die an internet virgin.)
Anyways, this has been working flawlessly for 2+ years! I also have toggles in HA for the same endpoints, but honestly, never use them. It’s so nice to just be able to toggle the image via remote.
That’s cool, and I’m glad you’ve made the TV take a vow of solitude!
did you think about automating even the switching of the brightness? HA could do this based on the day-night cycle, dawn, etc. or it could also work with a room brightness detector
Hah, great question. I did. And then I realized, this only works if the TV is on the moment the switch happens.
Which in the evening is actually pretty commonly the case… But never in the morning.
oh right, because the TV is not available on the network when it’s sleeping.
then you could save the desired brightness into some variable, and when the TV gets turned on apply the settings. I believe HA should be able to make an event when that happens. if there’s a large delay, you could make a timer that forcibly refreshes the TV state every few seconds
Hmm, you mean when HA sees the TV come back? Interesting, that might work.
I’s rather not do the force refresh option, because sometimes you do want different profiles. Very dark show, sometimes I want the bright setting at night. Very overcast day, sometimes the dark setting is better during the day.
Holy shit! I’m going to need this, so +1 if you’re taking requests to put this on GitHub. I’ve been complaining to my partner for a while that our TV’s remote has a million fucking buttons that we never need, but doesn’t have brightness up/down buttons that we need every day.
Is it an LG though? The APIs I’m using are WebOS specific
Yup, LG c1 or c2 iirc.
Llm that reads my whatsapp chats and extract events then make calendar events for me
Oh, that seems like it could come in handy often.
I didn’t implement this because it stopped being needed, but a text to print converter for my hearing impaired and non-techie elderly mom. Basically an email gateway running on VPS so if she got an email or text from a family member, a raspberry pi in her bedroom would immediately print out the message on a receipt printer where she would see it. I was going to use a cheap thermal printer but another family member objected (I guess reasonably) to the toxic crap in thermal paper, so I found someone selling a still affordable impact receipt printer on craigslist. Nothing actually happened with this, but I liked the idea.
Sist2 (Lightning-fast file system indexer and search tool). I’m not suggesting this is most unique use case, but noone mentioned it. I was mind blown when I became aware of it. I was looking for a way to manage my digital book and document archive for a long time. Tried various book management solution but none had full text search across whole library. Its lighting fast (like instant) you get excerpts with thumbnails and links to the files. Point it to your storage and you will gain extremely efficient way to look at your archives and references. Btw. I was already well organized and structured with my files, but going through it and searching for things I knew were there, was always a bit of a pain.
I know some guys that might be into that. Thanks for mentioning it!
Another idea I haven’t pursued: something that monitors the movement of local transit (BART trains, and buses) so I can check their ETA’s and locations from a phone browser. There are existing apps and sites for this but they unfortunately suck. They always answer “when will the next bus/train arrive at stop XYZ” which is almost never what I want to know.
What I want is usually either “I’m on the #123 bus RIGHT NOW and want to get off at XYZ, how many more stops do I wait?”, or else “my friend is on BART and just passed station X. When will she get to station Y where I’m supposed to meet her?”. Anyone implementing anything like that, please take it into account. The transit agencies usually have API’s to get the relevant data.
Oh, yeah, that’s a tough one, but seems workable.
It doesn’t seem so technically difficult if you can get the transit data. The phone GPS supplies your current location for the bus version, or alternatively you can just identify the most recent stop you saw. San Francisco has around 1000 city buses (I looked that up a while back) and you can put fairly precise coordinates, bus number, and route number of a bus into 4 or 5 bytes. So the complete locations of all the buses is around 20K which is less data than the javascript bloat that nextbus.com sends on every new visit. You do want the route maps (from transit agency) and street maps (openstreetmap) but overall it’s not huge.
Yeah, and things like arrival times could be flipped around, so time until your stop is also just the ETA of that bus to the stop anyway. Just changes to how you slice and dice the same data.
There might be other buses ahead of the one you are on, en route to that stop. You really want the phone GPS to figure out what bus you’re on, maybe showing a selection of possible bus numbers or route numbers. It would be great if you then see a route map showing your location as you move.
I have wireless wyze cameras in my house that are connected to a private network segmented away from internet access.
because of that, it’s impossible for them to retrieve updates. So I wrote a proxy in crystal-lang that can proxy web requests over my private network to the public internet.
this allowed me to pull the new hacked firmware and installed them from github while maintaining network privacy.
a year or so later I began selfhosting gitlab and now I just have a job that pulls a clone there and all the cameras pull from within my networks.
so, I’m self hosting for many years, with many many tools that i tried out and a couple that stuck.
not sure if this counts as weird, but I guess the most fitting example is the following:
i have a matrix server, which basically only a few relatives use to communicate with me, but I make heavy use of the bridges, so i don’t need to run those shit apps like Whatsapp on my phone.
anyway, i really dislike voice messages, because most of the time i read messages at the computer or in the tram and i don’t want to get headphones out, or simply don’t want to listen to five minutes of car noise to get the information off the words. so when my next productive episode comes I’m planning to set up a matrix bot that sends those audio files to some stt engine and returns a transcript to the chat. I’ll set up the bridge to ignore this bot, so the whatsnot user doesn’t get spammed.
My wife often writes groceries lists using her phones note app, and sends it to me if I’m doing the shopping. Each item in the list is in it’s own line.
I use Nextcloud Notes, I’m pedantic and want to use a markdown checkist for shopping lists (also bad at shopping). I wrote a Matrix bot, or rather added a feature to an existing one, that adds
- [ ]in the beginning of each line of a received message and sends the result back. I then copy-paste the response into NC notes.for this my wife and i use grocy. we don’t really use the stock feature (which is probably the original main feature), bit is nice to do shipping lists by just clicking stuff that you already wrote and the shopping mode of the app is awesome. also the chores feature we use heavily, i just needed to tweak the ics export a bit.
I use vi to write my list and then lp that to my printer. I hate looking at my phone when I’m at the store trying to double check if I got everything.
yeah, i understand you. i don’t want to use my phone for every single thing either. in particular I’m not using it when I’m home. but in this case it’s really nice for me personally, because stuff that i marked disappears from the top and often my wife and i go together, so having a synced up list is neat
I have a script that reads over one of the Canada Lemmy groups I am in and sees if a petition has been posted from ourcommons.ca than shares it in the Lemmy group if it has not been shared yet.
I’ve (with lots of assistance from Claude) created a selfhosted app for managing a beer cellar and or well stocked fridge, which keeps track of drink-by dates, has push reminders to a PWA web app and much more.
deleted by creator
I have an Invidious instance going, and a boatload of MP3s from the last 30 years… Tell me more.
deleted by creator


