GithubHelp home page GithubHelp logo

seanvree / homepage Goto Github PK

View Code? Open in Web Editor NEW
42.0 2.0 16.0 3.73 MB

Custom Start/home page (multi LIVE search) with live animated weather and news ticker - written in HTML/JS. Minimal, self-hosted, and dope.

Home Page: https://seanvree.github.io/homepage/

License: GNU General Public License v3.0

HTML 13.02% CSS 30.87% JavaScript 55.94% PHP 0.17%
start-page google search self-hosted weather startpage weather-data news-ticker startpages html

homepage's Introduction

Homepage

Custom Start/home page (multi LIVE Search) with live animated weather and news ticker - written in HTML/JS. Minimal, self-hosted, and dope.


DEMO: https://seanvree.github.io/homepage/

Last Updated: 17 NOV 2019:

  • Added Google Analytics (Action Required).
  • Code maintenance.
  • Updated jQuery, Bootstrap.

Features:

  • Self hosted, VERY minimal(ish)/lightweight.
  • Live searching.
  • Customizable Bookmarks.
  • Mobile ready.
  • Fully functional multi-search input form (Google, YouTube, Wiki, IMDB).
  • Live custom news ticker provided by: feed.mikle.com ($1/month).
  • Background auto change (day/night).
  • Monthly calendar modal (Click on date) (Appears only on desktop browsers - screen height > 730px).
  • Live DTG with click-to-convert time (12/24hr).
  • Weather data auto generated via Geolocation.
  • Weather API provided via OpenWeatherMap.
  • Click-to-convert Celsius/Fahrenheit.
  • 5-day forecast data (Click on right weather icon).
  • Page hit counter (PHP) (bottom right).
  • Stand-alone weather app can be found here: https://github.com/seanvree/Weather
  • Check out my other self-hosted apps here: https://github.com/Monitorr

Screenshot Desktop:

Screenshot Mobile:

Animated Weather Icons :

Notes:

  • Add desired background image files:

/css/main.css: LINE 38 & 55:

background: url("background_day.jpg");

NOTE: Background DAY displays from 0800-2000 local browser time

  • Turn ON search auto-complete by changing the value to < "autocomplete="ON" > at the following location:

/index.html: LINE 265:

<input type="search" id="flexbox-input" name="s" value="" placeholder=" Search..." autocomplete="off" spellcheck="false" autofocus>

WEATHER DATA:

/js/weather.js : LINE 12:

   var weatherApiKey = ' YOUR KEY HERE ';
  • Change the default temp unit from F to C by changing the following two items:

/index.html: LINE 128:

<div id="unit" class="unit hidden">&degF</div>

/js/weather.js: LINE 8:

var unit = 'metric';
  • Weather auto refresh default setting is 30 seconds (2 calls per minute), or 30000(ms). Max is 60 API calls per 1 minute. Change at the following location:

/js/weather.js : LINE 201:

var t = window.setInterval(searchByLocation, 30000);

TICKER DATA:

  • Create a customized feed.mikle ticker widget for RSS news sources and style. Go to https://feed.mikle.com, create an account, and replicate the settings of the screenshot image /img/feedmikle.jpg located in this repo.
  • Input the custom ticker widget URL at the following location:

/index.html : Line 293:

<script src="https://feed.mikle.com/js/fw-loader.js" data-fw-param=" YOUR NUMBER HERE "></script>

GOOGLE ANALYTICS:

/js/analytics.js : LINE 9:

   ga('create', 'UA-133756821-1', 'auto');

LIVE Search Usage:

Key Searching:

  • Make changes to the live search behavior and/or bookmarks in /js/tilde.js .
  • When using commands, the desired result MUST be selected from the suggestions result list below the input field.
  • To view the bookmarks and site keys, press ? for the help menu.

(NOTE: The help menu only appears on desktop browsers).

Search any of the sites by typing a colon after the site's key, followed by a search query.

For example:

If an input doesn't match any of the commands, a generic Google search will be triggered.

Specific Locations:

Navigate directly to a specific location by typing a forward slash after the site's key, followed by the location on the site.

For example:

URL Redirects:

If a full domain is entered into the search field, the browser will be redirected to that domain or URL.

For example:


About Me:

  • seanvree (Windows Wizard)

  • I usually hang out here Discord

  • Buy me a beer Donate

Credits:

haltdev | jonfinley | leram84 | causefx | cadejscroggins

BrowserStack Status

Valid CSS!

homepage's People

Contributors

seanvree 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

Watchers

 avatar  avatar

homepage's Issues

Refresh weather data

Entire page refreshes. Need to change JS code to refresh only JS/DIV container

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.