/Personal-Startpage

Minimalist, inspirational, elegant and clean startpage.

Primary LanguageJavaScriptGNU General Public License v3.0GPL-3.0

A Clean and Simple Startpage

License HTML5 CSS JS

⚠️ Disclaimer

I didn't develop the elements of this project, I just put the pieces of the puzzle together to make it work based on what I would like to have.

⭐ Based on:

Warning

You must check the licenses of the respective components if you wish to use any of them commercially.

✨ Features:

  • Greetings = Are easy to change to your name.
  • Quotes = Expressions to stimulate your thought or inspire your day.
  • Weather Icons = Provided by Bento of MiguelRAvila.
  • Weather = Provided by OpenWeatherMap.
  • Random Wallpapers = Provided by Reddit API.
  • Responsive = Will adapt to most devices.

🎨 Customization

The files needed for editing below are contained in the js and css folder.

🌑 Colors and font size:

The main colors can be customized through the file style.css.

Tip

You can customize the font size and color via lines 4 to 8 of the file.

⛈️ Weather Info:

To configure weather you will need an API Key at: https://openweathermap.org/. Once you have your key you will need to set your latitude and longitude, you can use: https://www.latlong.net/ to get them.

Tip

Once you have the data you will need to configure it in the weather.js file on lines 22, 30 and 31 respectively.

Important

If you don't like to have your API Key public (me and Github strongly discourage this publication due to security issues), you can make the repo into a private one. You can still use the Github Pages service or Netlify.

🌎 Weather Language:

See languages supported in: https://openweathermap.org/current#multi

Tip

You can set the language of weather conditions changing the variable in the line 2 on weather.js file.

☁️ Weather Icons:

  • For example if you want the White icon theme, change the White to Nord.

Tip

You can set the icon theme changing the variable in the line 5 on weather.js file:

👋 Greetings:

In line 5 until 9 of the greeting.js:

var myname = 'Ciro';
var lateTxt = 'GO TO SLEEP!!!';
var morningTxt = 'Good morning!';
var afterTxt = 'Good afternoon!';
var evenTxt = 'Good evening!';

Tip

You should put your name and change the greetings translations messages for your language.

🚀 Usage

🏡 As Home Page:

  1. Fork this repo.
  2. Enable the Github Pages service Settings » Pages » Source branch [main branch] » Save.
  3. Or publish it to Netlify.

➕ As New Tab:

  1. You can use different Extensions:

🐳 In a Docker Container

You can run this Simple Startpage in a Docker Container buildind your own imagem provided by my Dockerfile included or via also included docker-compose file.

Docker Container Run

  1. Clone this repo.
  2. docker buildx build -t startpage .
  3. docker run -d --restart=unless-stopped -p 8080:8080 startpage
  4. The page will be available at the port 8080: localhost:8080

docker-compose

  1. Clone this repo.
  2. docker-compose -d up
  3. The page will be available at the port 8080: localhost:8080

💻 Final appearance

🎁 Sponsoring

If you like this work, give me it a star on GitHub, and consider supporting it:

PayPal