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

Selfhosted

40696 readers
300 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 2 years ago
MODERATORS
99
submitted 8 months ago* (last edited 8 months ago) by [email protected] to c/[email protected]
 

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

top 22 comments
sorted by: hot top controversial new old
[–] [email protected] 11 points 8 months ago (2 children)
[–] [email protected] 2 points 8 months ago (1 children)

Just figured out there are 10 places called Lisbon dotted around the US, according to the search.

[–] [email protected] 3 points 8 months ago

The new world isn't famous for its creativity with place names. You'll find Beijing and Shanghai in there too.

[–] [email protected] 1 points 8 months ago

Aw, I was wondering about that.

[–] [email protected] 8 points 8 months ago (1 children)

Been using this for quite a while. Pair this with some Trammell Starks "Music For Local Forecast" music and you're set. Those can be found on archive.org.

[–] [email protected] 6 points 8 months ago (1 children)
[–] [email protected] 2 points 8 months ago

And the transformation is complete. This is my favorite thing in the world now also.

[–] [email protected] 6 points 8 months ago (2 children)

has the look and feel of ...

Has zero screenshots.

[–] [email protected] 8 points 8 months ago (1 children)

Updated the post with some screenshots from my install.

[–] [email protected] 9 points 8 months ago

Yep, pretty accurate.

[–] [email protected] 2 points 8 months ago (1 children)
[–] [email protected] 2 points 8 months ago

On my phone the map view is just black. Doesn't matter where I try to view, it's just black. Screenshots make sure we all see an accurate view regardless of device or whether or not the demo server is up.

[–] [email protected] 3 points 8 months ago (1 children)

Looks nice! I set mine up and have it as an Iframe in Home Assistant. The app is a fork from https://github.com/vbguyny/ws4kp with his demo site here: https://battaglia.ddns.net/twc That version has the music we all came to know and love from back then.

[–] [email protected] 2 points 8 months ago* (last edited 8 months ago) (2 children)

Dumb question, but how to do you get just the weather panel to display without the settings form below and such? Setting it up in an iframe is one of the things I wanted to do with it aside from a kiosk-style, fullscreen display.

I looked at that one, and the demo was cool. When I looked at the hosting steps, though, it mentioned IIS and I pretty much noped out. Lol

[–] [email protected] 2 points 8 months ago* (last edited 8 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.

[–] [email protected] 1 points 8 months ago* (last edited 8 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.

[–] [email protected] 1 points 8 months ago (1 children)

I thought iframes had been phased out in the latest release of HA? It's webpages in views now isn't it? Try updating and having another go (I updated yesterday and haven't had a play yet but heard about it on the HA podcast btw)

[–] [email protected] 2 points 8 months ago (1 children)

Oh, I'm not adding it to HA, just curious how to have just the weather panel is ws4kp to display for embedding without all the settings/controls.

[–] [email protected] 2 points 8 months ago

Oh, sorry I'm no help then

[–] [email protected] 3 points 8 months ago

Toss some CRT shaders over top and this would be very convincing.

[–] [email protected] 2 points 8 months ago

Sweet. Need to see about running this as an app on my phone for the next port :)

[–] [email protected] 1 points 8 months ago

Why not to make it work outside of the US? 🥲

Also, is there world wide accepted Celsius instead of ye olde Fahrenheit?