Conr86 / startpage

A simple, clean startpage.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Startpage

A simple startpage made with Svelte, Unsplash and Openweathermap API.

preview

Using this startpage

  1. Download or clone the repository.
git clone https://github.com/Conr86/startpage
  1. Install dependencies.
npm i
  1. Replace the default bookmarks in src/main.js with your favourite sites.

  2. To display your name and weather, go to src/main.js and change the variables. You will need an api key from https://openweathermap.org/ for the weather to work.

  3. Build.

npm run build
  1. If you are using Chrome or Edge, click "Load Unpacked" in the Extensions settings (It is an icon in Edge) and then select the public folder. You are finished!

  2. If you are using Firefox, enter the public folder. Then sign the extension with an api key and api secret from https://addons.mozilla.org/developers/addon/api/key/.

cd public
web-ext sign --api-key=$API_KEY --api-secret=$API_SECRET
  1. After signing is finished, you should see a folder called web-ext-artifacts with a .xpi file inside. Go to the Extensions settings in Firefox, click "Install Add-on From File...", and select the .xpi file.

Credits

Heavily based on https://github.com/refact0r/startpage by @refact0r

About

A simple, clean startpage.


Languages

Language:CSS 44.2%Language:JavaScript 38.2%Language:Svelte 15.0%Language:HTML 2.7%