An easily extend-able homepage.
Explanation on the usage of the homepage can be found here.
- Git clone or download and unzip the repository in the directory of your choice.
- Set the
home.html
file in the project root as the new tab page for your favorite browser. For chrome/chromium you could use Replace New Tab Page. Link the new tab tofile:///path/to/project/home.html
. - Change the links in
home.html
to links that you want.
-
Set the
apiKey
andmainCity
for theweather
module. These can be found injs/app.js
in theweather
module. This will allow your page to check the weather for your chosen city. Once done, build project (seebuild
). Alternatively, you could set these variables in thedest/js/app.js
minified file, so avoid having to build. Any builds after this, will override the settings though.Open Weather Map is used to fetch the weather. To get an API key, simply create an account. Once created and logged in, go to your api keys in the dashboard and create one (free).
The city ID can be found in this list by openweathermap. The city can also be set from within the terminal in the homepage. Use
set city <id>
(ex.set city 2643741
which sets it to London). This will also immediately re-fetch the weather. -
There is an Ethereum module (disabled by default), which will check the current price of Ethereum in euros every half hour and notify you when you open a new tab. To use it, uncomment the module in
js/app.js
and build the project. You can change the currency in which to display the current price by changing theapiUrl
within the module, and any reference tothis.price.EUR
.
For any issues, open an issue here on Github.