/startpage

My startpages setup

Primary LanguageHTML

Startpage

Flat minimal start page made for elegant look and simple at same time. there is more than branch every one have a unique ui.

Flat startpage look!

Pack as web-ext

  1. Clone the repo
git clone https://github.com/mahmoudk1000/startpage.git
  1. You need to install web--ext tool by runing terminal
sudo npm install -g web-ext
  1. Check Firefox ext-packing guide

  2. Last step run in terminal in same dir where repo cloned

web-ext sign --api-key "YOUR_USER_KEY" --api-secret "YOUR_SECRET"

Weather

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);
}

Credits

migueravila/Bento For time, date and weather script and weather guide.
MCotocel/startpage For DuckDuckGo search script