this post was submitted on 14 Mar 2026
51 points (100.0% liked)

Open Source

45629 readers
110 users here now

All about open source! Feel free to ask questions, and share news, and interesting stuff!

Useful Links

Rules

Related Communities

Community icon from opensource.org, but we are not affiliated with them.

founded 6 years ago
MODERATORS
 

4 years ago, I posted about the weather service I did build. Back then, Serenum used OpenWeatherMap, but after a while they changed their API and I didn't have any strength to make the changes in Serenum API.

Earlier this year, I started with the new version of Serenum without Serenum API (too much work, too little time), now using Open-Meteo. I released the first version last week as a beta and now I find Serenum enough finished to share it here on Lemmy.

Still in beta, though, since stuff needs to be improved. But everything(?) works as it should.

https://serenum.org/

you are viewing a single comment's thread
view the rest of the comments
[–] solrize@lemmy.ml 1 points 1 week ago (3 children)

This is really nice. I notice that if I load the page for my city, then use "settings" to change the units on that page, then reload the page, the reloaded page is still in the old units. But that's pretty minor.

I'm more interested in an API for this than in the web UI anyway, since I might like to use it as a widget.

[–] airikr@lemmy.ml 1 points 2 days ago (1 children)

Hi there. What kind of method are you using when extracting data from a website to your widget? I want to know this so I can plan further :)

[–] solrize@lemmy.ml 1 points 1 day ago (1 children)

I've scraped html for this type of thing but nowadays sometimes hit cloudflare captchas and the like. A json endpoint would be great.

[–] airikr@lemmy.ml 1 points 1 day ago

Cloudflare are the worst! I'll add an API that are based on JSON :) Might take some time, though, due to mental health issues.

[–] airikr@lemmy.ml 1 points 1 week ago* (last edited 1 week ago)

Thank you :) And many thanks for the bug report. I will look into it right away.

Since people are asking for it, I have now added API to what to add.

[–] airikr@lemmy.ml 0 points 1 week ago (1 children)

I tried to recreate the issue you mentioned (settings' not applying) and I can't. The settings are being saved inside the URL. Change the settings again and see if you can re-produce the issue. If you can, check the URL. Are the values after /settings: the same as what you choose in the settings?

[–] solrize@lemmy.ml 0 points 1 week ago* (last edited 1 week ago) (1 children)

Aha, it works now. I'm not certain but I think I might not have noticed before that you have to click "save" to make the settings work. On my screen that involves scrolling down. You might move the "save" button to the top of the settings screen to make it more obvious, and possibly call it "apply" rather than "save".

I do remember that the new settings persisted in the settings screen after switching to and from the main screen, and that was part of the puzzle.

[–] airikr@lemmy.ml 2 points 1 week ago (1 children)

Alright :) I will try make the "Save" button sticky so it will always show and follows inside the settings while you scroll. Serenum doesn't use any JavaScript, only HTML, CSS, and PHP.

[–] solrize@lemmy.ml 0 points 1 week ago (1 children)

I think it's enough to just put it at the top to make sure it is seen. It doesn't have to be sticky. I'm glad there is no JS. It would be nice to not depend much on CSS, so that text-only browsers like Lynx will work. Though the little icons are an issue too.

[–] airikr@lemmy.ml 0 points 1 week ago (1 children)

I think it’s enough to just put it at the top to make sure it is seen. It doesn’t have to be sticky.

That is true. But we'll see what happens at the end :)

It would be nice to not depend much on CSS, so that text-only browsers like Lynx will work.

I will install Lynx some day and try to make Serenum compatible with text-only browsers.

Though the little icons are an issue too.

I can add more icons :) If you have a good source of icons that are FOSS and that supports all kind of stuff (for an example air quality like pollen), please share.

[–] solrize@lemmy.ml 1 points 1 week ago (1 children)

I mean the icons that are already there will have trouble rendering in a text browser! :)

[–] airikr@lemmy.ml 1 points 1 week ago