this post was submitted on 20 Jun 2023
8 points (100.0% liked)
ObsidianMD
4120 readers
1 users here now
Unofficial Lemmy community for https://obsidian.md
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
This is really difficult to break down because it's (by nature) complicated. but:
A custom python script that reads RSS feeds, picks out keywords, and posts them to a special file with a checkbox. This then monitors the checkboxes so it doesn't repeat a story (still happens but not as bad as without)
A custom python script that checks a bunch of websites for things like when a new video is uploaded. This uses webscraping and is highly customized to each site.
This one's pretty neat: I use Lynx to do a text dump of wttr.in THEN i use a custom python script to add the sunrise, sunset, and moon phases to that text file so it displays them. Since wttr.in goes down fairly often due to overuse, it's also got bypasses built in so it at least shows me the sun/moon info even if the site read fails.
All that runs every hour, though due to intentional design choices it varies the time slightly to avoid being detected for being to regular.
Then, once a day at midnight, it copies my entire vault to a backup directory and puts it into a dated backup folder.
Since the entire thing runs via a single shell script it's easy to start up when i do a reboot. very fire-and-forget.
meanwhile in Obsidian itself i have several panes set up - for the updates, the weather etc - that "bracket" my main viewing page + my calendar.
I love that weather site, thank you for posting it. :)
No sweat! I found it when i was looking for an (easy) way to display weather as text, and instantly fell in love.
Have you thought about running it in serverless architecture such as AWS Lambda. No reboot required ;) Would love to see script!