Giter Club home page Giter Club logo

homepage's People

Contributors

gamis65 avatar jaredk3nt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

homepage's Issues

Still active? Weather and search

Hi,

I found this while I was looking for a very simple start page for safari on my Mac.

But I have 2 issues:
how can I change the location for the weather and the search function doesnt work, also won't work when I try on Chrome.
Would be nice if you could get me in the right direction :) Thanks!

How to change the used objects given by the innerHTML code?

Hey buddy,

thanks for this beautiful homepage.
I am trying to change the openweather API to the darksky one.

Somehow I am not able to change the strings which are given to the innerHTML stuff from the JSON output.

The output of the JSON is:

{
"latitude": 51.11919,
"longitude": 6.951266,
"timezone": "Europe/Berlin",
"currently": {
"time": 1549020317,
"summary": "Mostly Cloudy",
"icon": "partly-cloudy-day",
"precipIntensity": 0,
"precipProbability": 0,
"temperature": 3.62,
"apparentTemperature": 0.06,
"dewPoint": 1.04,
"humidity": 0.83,
"pressure": 990.58,
"windSpeed": 4.18,
"windGust": 6.4,
"windBearing": 146,
"cloudCover": 0.78,
"uvIndex": 1,
"visibility": 11.1,
"ozone": 354.99
},
"offset": 1
}

what I do now is:

document.getElementById("temp").innerHTML = json.currently.temperature;//.toFixed(0) + " C";

But somehow it is blank on the homepage.
Can you give me please a hint where I have to look?

Add a software license

Can you please add a software license to this project?

It might be a bit over the top for such a tiny repo, but I want to fork and use this in one of my projects and don't want to run afoul of licensing.

How would I install this ?

This start page is amazing and I want to install this ....
Could you give clear cut instructions for us newbs ?

Start searching as you type (feature request)

Now you need to press the space bar to trigger the search, as you rapidly open a tab pressing the space bar breaks you rapidity.

If you like it I can submit a PR about this.
Nice project by the way!

Search function starts the search term with a space and the cursor is not centered

Since the search bar is made visible with the keydown event, it registers the space character.
This adds a whitespace before the actual search term and also causes the cursor to be not perfectly centered but off by 1.

Easy fix:
Change "keydown" to "keyup" in this code segment

document.addEventListener("keydown", event => {
    if (event.keyCode == 32) {          // Spacebar code to open search
        document.getElementById('search').style.display = 'flex';
        document.getElementById('search-field').focus();
    } else if (event.keyCode == 27) {   // Esc to close search
        document.getElementById('search-field').value = '';
        document.getElementById('search-field').blur();
        document.getElementById('search').style.display = 'none';
    }
});

How To change the Weather

was using your project for my apache server i have made it to work but i cant figure out how to change the weather to my location.. do you know what to do?.. and it would be good if you could include that in documentation

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.