summaryrefslogtreecommitdiff
path: root/main.go
Commit message (Collapse)AuthorAge
* Use new met.no locationforecast 2.0 APIHEADmasterLaria Carolin Chabowski2022-01-11
| | | | | | | | | | | | | | | | | | The old XML API will be discontinued next month and is already returning errors occasionally (apparently to nudge lazy devs like me to update their code :D). We're also doing a much better job at caching now, as suggested by the API documentation. We're not yet showing a weather icon, I still have to figure out how to do this now (apparently the weather icons are a separate API / actually just a tag.gz archive that the weather API references?), but at least we're not panic()ing any more in the request handlers due to the unexpected error responses :/. See https://developer.yr.no/doc/GettingStarted/ for an intorduction to the new API.
* Make template directory configurable on the command lineLaria Carolin Chabowski2021-10-15
| | | | | | | | | The new --template-dir= flag allows the user to optionally specify the directory where the templates are located. It will default to the old way of using $GOPATH to find the template directory in the source directory of startpage. Being able to use --template-dir= can be especially useful, if you want to launch startpage when $GOPATH is not (yet) defined (e.g. when using systemd to bring up startpage).
* Move template into own directoryLaria Carolin Chabowski2021-10-15
|
* Sort importsLaria Carolin Chabowski2021-10-15
|
* Lazy load background image using XHRLaria Carolin Chabowski2020-10-14
| | | | | | We now don't immediately reload the reddit background image, as this delays the initial page load quite a bit. Instead we trigger an XHR request on page load to update the background image.
* New config format and new featuresLaria Carolin Chabowski2020-10-04
| | | | | | | | | | We're now using json as a config format instead of our weird own format. The weather icon is now optional, simply don't define WeatherPlace in your config. You can now specify which subreddit to get background images from. The default is still /r/EarthPorn.
* Move weather code into own packageLaria Carolin Chabowski2020-10-04
|
* rename github accountLaria Carolin Chabowski2016-08-16
|
* Fixed weather iconKevin Chabowski2014-07-29
| | | | it's actually much simpler than I thought!
* Fixed set-maxdimKevin Chabowski2014-07-27
|
* Fixed updaters.Kevin Chabowski2014-05-01
| | | | | | If, for some reasons, startpage could not gather new data before, nil data would have been stored, leaving the startpage mostly blank and useless.
* Added link to save current earthpornKevin Chabowski2014-05-01
|
* Image is now stored in memory (speedup).Kevin Chabowski2014-05-01
|
* No more flexible columns, 2 columns look best (IMHO).Kevin Chabowski2014-05-01
| | | | Also some CSS cleanup
* Introduced new config file formatKevin Chabowski2014-05-01
|
* Template will now be loaded, even if not started from same directoryKevin Chabowski2014-03-03
|
* Initial commitKevin Chabowski2014-03-02