lemmy.net.au

46 readers
1 users here now

This instance is hosted in Sydney, Australia and Maintained by Australian administrators.

Feel free to create and/or Join communities for any topics that interest you!

Rules are very simple

Mobile apps

https://join-lemmy.org/apps

What is Lemmy?

Lemmy is a selfhosted social link aggregation and discussion platform. It is completely free and open, and not controlled by any company. This means that there is no advertising, tracking, or secret algorithms. Content is organized into communities, so it is easy to subscribe to topics that you are interested in, and ignore others. Voting is used to bring the most interesting items to the top.

Think of it as an opensource alternative to reddit!

founded 1 year ago
ADMINS
3601
 
 

Hey selfhosters 👋

A few weeks ago I shared Ideon here and got great feedback that shaped a lot of what I've been working on since.

Since my last post here, Ideon crossed 200 stars on GitHub and I wanted to say thank you ❤. It means a lot to see people interested in what started as a side project. It motivated me to work on it literally every day since then.

For those who missed it: Ideon is a self-hosted visual workspace where you lay out everything about a project on an infinite canvas: notes, Git repos, code snippets, checklists, sketches, links and connect them together. Two containers, no external dependencies.

Since then, a lot has changed and I wanted to share an update.

Self-hosting got smoother. Docker permission issues with bind mounts are gone, build times are faster, and there's a new GIT_ALLOWED_HOSTS env variable so you can whitelist your internal Git servers (Gitea, Forgejo, GitLab behind a VPN, etc.) without the SSRF filter blocking them.

Collaboration got real structure. There are now 4 project roles (Creator, Owner, Editor, Viewer), a Request Access workflow for private projects, and the canvas supports real-time multiplayer with conflict-free editing.

The canvas got a lot more usable. Keyboard navigation (arrow keys + vim keys), a command palette, freehand sketch blocks, drag-and-drop checklists with progress bars, markdown tables and task lists, emoji reactions on blocks, edge labels, and a bunch of stability fixes for large projects.

Where this is going next:

Right now Ideon lets you see your project. Git stats, issues, PRs show up on the canvas, but you can only look at them. For the v1 I want to move from visibility to control. Merge a PR from the canvas. Trigger a deployment. Restart a service. Turn the workspace into an actual cockpit where you operate your project, not just view it.

That's the direction. Curious what this community thinks about it.

If you tried it and hit something rough, or if you've been waiting to try it, now's a good time. Feedback always welcome.

GitHub: https://github.com/3xpyth0n/ideon

Docs: https://www.theideon.com/docs

3602
3603
 
 
3604
 
 
3605
 
 
3606
 
 

February has been a month of high‑profile corporate court cases in Australia, both shining a spotlight an economy where customer welfare is incidental to the pursuit of profit.

3607
 
 

The Tax Authority has placed the management of the new VAT system entirely in the hands of the American company FAST Enterprise

3608
 
 

Defence Minister Vasilis Palmas has categorically denied reports that Iranian missiles were fired towards Cyprus, directly contradicting claims made by UK Defence Secretary John Healey on Sunday.

3609
3610
3611
85
submitted 3 weeks ago* (last edited 3 weeks ago) by flork@lemy.lol to c/selfhosted@lemmy.world
 
 

My goal is to to fully ditch Google Photos for Immich. I have about ~3TB of photos and videos. Looking for a super simple way of backing up the library to cloud storage in case of a drive failure without spending a ton.

Ideally, this will require nothing on my part besides copying files into a given folder. And ideally the storage will be encrypted and have basic privacy assurances.

Also if it matters my home server is running Debian. But I'd prefer something that runs in docker so I can more easily check on it remotely.

3612
3613
3614
3615
 
 

Ayatollah Khamenei was the only authority preventing Iran from getting the nuclear bomb.

The idiots in Washington don’t realise that you just pushed Iran into getting the bomb.

That’s all on you.

Source: https://t.me/FotrosResistancee/18559

3616
3617
 
 

cross-posted from: https://slrpnk.net/post/34570090

I think my camera is busted (or it's just my lack of photography prowess), they are looking pinkish in the photo, but it should be red

It is a Malpighia genus, but I don't know the exact species to be honest

Studies show it has around 1,000–4,500 mg, of vitamin C, per 100 grams of fresh fruit, which is around 50–100 times than that of orange or lemon

3618
3619
 
 

Foreign Minister Penny Wong has indicated that airspace closures caused by Iranian retaliatory strikes are likely to limit the federal government's ability to organise repatriation flights for Australians stranded in the Middle East.

3620
 
 

You know how it goes. You're happily using Homer or Homepage for your home-lab dashboard. It's great. It looks nice. It does its job. But then one evening you think: "Wouldn't it be cool if the dashboard actually showed whether my services are alive without building a custom tile for homer?"

And instead of, oh I don't know, contributing to homer or using Uptime Kuma next to it like a reasonable person, you go full not-invented-here and build your own thing from scratch.

So here's ilias, a static HTML dashboard generator that actually checks your stuff.

OfozH6AxZoPCIc7.png

What makes it different from Homer / Homarr / Dashy / the other 47 dashboards?

It actually runs arbitrary checks. You give it a YAML config with HTTP endpoints and shell commands, and it:

  1. Executes all the checks in parallel (so treat it like a shell script and don't be stupid!)
  2. Matches results against rules you define (status codes, exit codes, regex on output)
  3. Bakes everything into a single, self-contained HTML file. No JavaScript, no API server, no database, no Docker container running in the background

The output is literally one .html file. You can scp it to a Raspberry Pi running nginx, open it from a USB stick, email it to yourself ... it just works. It's HTML and CSS. That's it.

The "why should I care" summary

  • Zero runtime dependencies. No Node.js, no Docker, no database. One tiny binary, one HTML file out.
  • Active health checks. HTTP requests, shell commands, regex matching on output. Not just a bookmark page.
  • Generate blocks. Run a command before rendering: pipe a Prometheus query into a chart, embed the image as a banner: now your dashboard can show graphs.
  • Single HTML file output. Icons, CSS, images, everything is inlined. The file is fully self-contained.
  • NixOS module included. Systemd timer, nginx vhost, sandboxed service. If you're a NixOS person, it's services.ilias.enable = true and you're done (after verifying my code ofc, I'm just a rando on the internet!).
  • ~1,100 lines of Go. One external dependency (gopkg.in/yaml.v3). That's the whole thing. You can read the entire codebase during lunch.

Quick taste

Minimal config:

title: My Lab  
groups:  
  - name: Services  
    tiles:  
      - name: Jellyfin  
        icon: https://cdn.jsdelivr.net/npm/simple-icons@v9/icons/jellyfin.svg  
        link: http://jellyfin.lan:8096/  
        slots:  
          - name: status  
            check:  
              type: http  
              target: http://jellyfin.lan:8096/health  
            rules:  
              - match: { code: 200 }  
                status: { id: ok, label: "✅" }  
              - match: {}  
                status: { id: down, label: "❌" }  
ilias generate -c config.yaml -o index.html  

Done. Open index.html. Your Jellyfin tile shows ✅ or ❌ based on whether /health returns 200.

Want to check disk space too? Add a command check:

      - name: Disk  
        slots:  
          - name: root  
            check:  
              type: command  
              target: "df / --output=pcent | tail -1 | tr -d ' '"  
            rules:  
              - match: { output: "^[0-6]\\d%$" }  
                status: { id: ok, label: "✅ <70%" }  
              - match: { output: "^[7-8]\\d%$" }  
                status: { id: warn, label: "⚠️ 70-89%" }  
              - match: {}  
                status: { id: full, label: "🔴 ≥90%" }  

Hover over any status to see the raw command output in a tooltip. Regex matching on stdout. Exit codes. The works.

"But what about..."

Uptime Kuma? Uptime Kuma is excellent for monitoring with alerting, history, and notifications. ilias can't do any of that! It's for when you want a single glanceable status page that you regenerate every 5 minutes via cron ro whatever. No history, no alerts, no database. Just "is everything green right now."

Homer? Homer is a beautiful bookmark dashboard. ilias took that idea and asked "what if the bookmarks could tell you if my random, unsupported service behind them is actually working?" If you just want a pretty link page or use the services already supported, Homer is great. If you want status checks for everything baked in, give ilias a try.

Links


Edit:
Based on the suggestions from the comments that the config might be a tiny bit noisy, I implemented a few easy ways to simplify bigger configs (see here ). Since I'm misusing semver for pride-versioning, that bumped my version up to a whopping 0.2.0 🥳


Edit 2:
Someone said they might use this to make service health publicly available to customers, which made me worry about information leakage.

And since I couldn't stop worrying, I added:

  • --no-tooltips param: Don't include command output for hover tooltips to prevent system information from leaking
  • --no-timestamp param: Omit the "Generated at" timestamp to hide system clock and monitoring cadence.

If you're using these, I feel much better about making the html publicly accessible, but when you set up a config please remember that link-tags can expose your internal topology and the tile/slot name might do the same! Don't go naming your tiles something like "Database Primary", "Payment Service Worker", or "Internal Auth API"!

3621
3622
3623
3624
3625
view more: ‹ prev next ›