This is a simple static site, hosted on GitHub Pages that uses the NASA API for the background, calculates local time, works out the weather and seconds since I was born and displays the background, the current time in HH:MM:SS, the weather including temperature in Celsius, wind speed in mph and the chance of rain, the 'uptime' (days since I was born).
I used a macondo guide for this project!
I will use this to see this crucial information every day at a glance.
In the future, I may expand this project to maybe show the NASA image, or a a selection of personal photos that it rotates through.
A single static page that reads three different APIs to make a custom homepage you can set as your browser's new-tab background. NASA picks the picture, JavaScript handles the clock, and Open-Meteo pulls live weather for wherever you're sitting.
- Live NASA Astronomy Picture of the Day background
- Real-time digital clock (HH:MM:SS)
- Live weather using Open-Meteo API
- Temperature (°C)
- Wind speed (mph)
- Chance of rain (%)
- Geolocation-based weather detection
- Seconds since birth uptime counter
- Fully responsive browser homepage dashboard
MIT License
Copyright (c) 2026 Jacob Navaratne
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:ions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software..
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.TWARE.