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
3626
 
 

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

3627
3628
 
 

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

3629
3630
 
 

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.

3631
 
 

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"!

3632
3633
3634
3635
3636
3637
3638
3639
3640
 
 

On Thursday, the Louis D. Brandeis Center for Human Rights and StandWithUs sued the state of California, its Department of Education, and several school districts, alleging that officials allowed antisemitic harassment of Jewish and Israeli students to “fester” in K-12 schools. The lawsuit seeks court-ordered oversight of campus antisemitism and limits on funding for districts that fail to enforce nondiscrimination policies.

Earlier in the week, the Trump administration’s Justice Department filed suit against UCLA, accusing the university of permitting a hostile work environment for Jewish and Israeli employees following pro-Palestinian encampments in 2024. And at UC Santa Barbara, former student body president Tessa Veksler sued the university, alleging it failed to protect her from antisemitic harassment after she condemned the October 7 attacks.

Against that backdrop, antisemitism was the dominant theme at Thursday’s forum.

Candidates pledged to enforce Assembly Bill 715, a law signed last year aimed at combating antisemitism in K-12 schools, and to ensure its implementation across districts. They denounced the Boycott, Divestment, and Sanctions movement and affirmed Israel’s right to exist, even as some voiced criticism of Israeli Prime Minister Benjamin Netanyahu’s government.

AB 715 bans the teaching of Palestinian history in schools...

3641
3642
3643
3644
3645
3646
3647
3648
 
 

What is also interesting is that advertisements for smoking, and for fossil fuels and fossil technology are often remarkably similar.

For example, ads for cars show a lone man in a shiny verhicle in front of a lonely, desert landscape with a clear, wide sky. Such a breath of fresh air, LOL!

Who would associate such a view with burning forests, cities crowded with traffic jams, flooded communities, children with heavy asthma (produced by NOx emissions from cars, causing photochemical smog), and relatives painfully dying in hospitals from circulatory failure during a heat wave? These ads are everything but enigneered to mislead about the effects of pollution and climate change.

3649
 
 
3650
 
 
view more: ‹ prev next ›