this post was submitted on 12 Apr 2024
99 points (99.0% liked)

Selfhosted

40329 readers
380 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.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
99
submitted 7 months ago* (last edited 7 months ago) by ptz@dubvee.org to c/selfhosted@lemmy.world
 

This is my new favorite thing. I don't have a CRT to display this on, but I'll settle for an old 4:3 LCD monitor I have sitting on a shelf in the basement - it's old and blurry enough to be a reasonable facsimile.

This project aims to bring back the feel of the 90's with a weather forecast that has the look and feel of The Weather Channel at that time but available in a modern way.

Live demo: https://weatherstar.netbymatt.com/

docker run -p 8080:8080 ghcr.io/netbymatt/ws4kp

Access on http://localhost:8080

Screenshots

you are viewing a single comment's thread
view the rest of the comments
[–] node815@lemmy.world 2 points 7 months ago* (last edited 7 months ago) (1 children)

From their readme. I asked about that last night and he replied an pointed me to it. :)

Kiosk mode

Kiosk mode can be activated by a checkbox on the page. Note that there is no way out of kiosk mode (except refresh or closing the browser), and the play/pause and other controls will not be available. This is deliberate as a browser's kiosk mode it intended not to be exited or significantly modified.

It's also possible to enter kiosk mode using a permalink. First generate a Permalink, then to the end of it add &kiosk=true. Opening this link will load all of the selected displays included in the Permalink, enter kiosk mode immediately upon loading and start playing the forecast.


I didn't see IIS mentioned, but I didn't take a close look at the code. They give you a docker run command to set it up, so I converted it to a docker compose file so I can run it later. All of this is running on a Debian 12 system, so if IIS is needed, I'd wager that is if you are running a Windows setup.

I have mine embedded in Home Assistant now as an iframe using the Kiosk mode setting which works.

[–] ptz@dubvee.org 1 points 7 months ago* (last edited 7 months ago)

Thanks!

Ah, Kiosk mode, I think, is literally brand new. There was an issue/request he was working on for that, and I did a build from that branch yesterday. As I was building my Docker image from that, it was literally getting new commits as I was building it. Talk about bleeding edge haha.

I'll check that out again now that he may have merged it into main. Mine only has the configuration URL string to preset the options/location. You still have to click "fullscreen" on the weather window thing.

This one is in JS. I was referring to the parent project that required IIS and seems to be in C# (I didn't dig too deep into it). That's where I bailed out. If there were Docker instructions for that one, I wouldn't have seen them as IIS is basically an instant deal breaker for me lol. Too much pain and misery in my past to ever want to deal with that again 😆

Update: Yep, latest release works amazing, including Kiosk mode. No need for my custom build anymore.