Closed reesericci closed 4 years ago
Hey @reesericci , I can work on adding weather but i think using Dark Sky's API won't be the way to go since their API will probably become private in a few monts, I'll check other API's and add the feature soon.
I'm just using dark sky as an example but you could use any weather provider. Thanks for considering my idea!
@reesericci Added weather in ff8622f
Test it, report here if you find any bug.
Liking it! (Had to do some git rebasing to install it though - no problems) Although, I'd like it if the weather was rounded instead of having numbers like 81.97 degrees and would rather it say 82 degrees or whatever. Otherwise, no complaints!
@reesericci I think it makes sense to round the weather, I thought showing it to 2 values would be good.
@deepjyoti30 I think it looks cleaner without the decimals but either way is perfectly fine! (I'm currently packaging and signing the startpage so I don't have to keep re-installing it in firefox!)
@reesericci I already pushed a change to make it integer.
About Firefox, I know that we need to sign them individually and only then install. I thought I would sign one and share a release but the thing is the config cannot be edited so that would mean the user would be stuck with the default config which I don't want.
It's way simpler for Chrome though.
Thanks for the weather! Also, here's an idea: popup a json editor when you hit a hotkey instead of making a gui, so you can package for firefox/chrome. (I really don't know how hard that would be though)
@reesericci I've been thinking the same thing, that rather than adding a GUI which will indirectly edit the json, I can just let the users directly edit the json from a popup editor, let's see.
You should add a variable to enable/disable weather like 24hr time,etc
All weather functionality has been added, closing issue.
Would it be possible to use something like the Dark Sky API to grab weather information and display it on the startpage like this (with correct font/font size)?