Flat minimal start page made for elegant look and simple at same time.
Figma for anyone who seeks interactive view.
- Clone the repo
git clone https://github.com/mahmoudk1000/flat-startpage.git
- You need to install web--ext tool by runing terminal
sudo npm install -g web-ext
-
Check Firefox ext-packing guide
-
Last step run in terminal in same dir where repo cloned
web-ext sign --api-key "YOUR_USER_KEY" --api-secret "YOUR_SECRET"
For setting up the Weather widget you're going to need an API Key in: https://openweathermap.org/. Once you have your Key you'll need to set yourlatitude and longitude, you can use: https://www.latlong.net/ to get them. Then you just have to fill them in the weather.js in the js folder:
// Use your own key for the Weather, Get it here: https://openweathermap.org/
const key = "XXXXXXXXXXXXXXXXXXXXXXXXXXX";
setPosition();
function setPosition(position) {
// Here you can change your position
// You can use https://www.latlong.net/ to get it! (I use San Francisco as an example)
let latitude = 37.774929;
let longitude = -122.419418;
getWeather(latitude, longitude);
}
replace pic.png from images folder with the one you want.
Note: The image could be square the rounded code from css. so i recommend to be square,
and also it would be good if it in 150px height and 150px wight too.
migueravila/Bento For time, date and weather script and weather guide.
MCotocel/startpage For DuckDuckGo search script