GithubHelp home page GithubHelp logo

startpage-eaaasun's Introduction

Startpage

Live preview (no weather as to not leak API key)

startpage

Table of Contents

Installation

Materials

  • Code editor (e.g. VSCode, Notepad++, etc.)
  • Basic html/css/js knowledge (optional, but recommended)
  • OpenWeatherMap API Key (only if you want to use the weather feature)

Instructions

Basic Setup

  1. Grab the latest release
  2. Unzip files and move to a convenient location (e.g. Documents)
  3. Go into your browser settings (Firefox: about:preferences, Chrome/chromium-based: chrome://settings/)
  4. Set the homepage to file:///[PATH TO STARTPAGE]/index.html (example: file:///D:/documents/startpage/index.html)
  5. Open the homepage and check if things are working. There will be no weather data, and we will fix as part of the next step.
  6. Open index.html in your code editor of choice.
    1. Find the <section> elements and replace the website text, section header, and https://example.com with your own links and text. You can copy-paste or delete the <section> elements to fit your needs (I recommend a maximum of 3-4 sections).
    2. If you want the weather to be displayed, leave the weather variable as-is. Otherwise, change it to false and skip the rest of this step.
    3. In the <script> tag, replace the [API KEY] with your own OpenWeatherMap API key. (See here for instructions.)
    4. In the <script> tag, replace the lon and lat variables with your own longitude and latitude respectively.
    5. In the <script> tag, change the units variable to either imperial or metric.
  7. If you want to replace the image, replace the image.gif file with your own image/gif of choice.
  8. You should now have a working startpage!

Getting an OpenWeatherMap API Key

  1. Go to OpenWeatherMap and sign up.
  2. Check your inbox for an email from OpenWeatherMap to verify your email address, and verify it.
  3. Go to the OpenWeatherMap API page. There should be an API key already generated for you. If not, generate one. The API key name does not matter.
  4. You should now have an API key! It will take a few hours for it to be active, please do not panic if the weather does not show up unless it has been many hours.

Changing the search engine

By default, the search engine is DuckDuckGo. You can change it to another search engine of choice by replacing the link in the <form> tag with another below.

Search Engine Link
Google https://google.com/search
Duckduckgo https://duckduckgo.com/
Bing https://bing.com/search
Ask Jeeves (why) https://askjeeves.net/results.html

Using as a new tab/disabling animations

This is meant as a start page, and not a new tab page because of the animations.

This (firefox) or (chrome/chromium-based) extension changes the new tab page, and you can follow the directions below use it.

Use as a new tab (only step 3 to disable animations):

  1. Make a copy of the index.html file after you finished with the basic setup.
  2. Rename it to newTab.html (you can name it other things too, I just recommend this).
  3. Open newTab.html file in your code editor of choice.
    1. In the <script> tag, change the animated variable to false.
  4. In the extension settings, set the new tab page to file:///[PATH TO STARTPAGE]/newTab.html (example: file:///D:/documents/startpage/newTab.html)

Browser setup

Misc. Info

  • Startpage Font: Source Code Pro
  • Cat Gif: Here

startpage-eaaasun's People

Contributors

kencx avatar t4rra avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.