GithubHelp home page GithubHelp logo

pelonchasva / bento Goto Github PK

View Code? Open in Web Editor NEW

This project forked from migueravila/bento

0.0 1.0 0.0 3.76 MB

๐Ÿฑ Minimalist, elegant and simple startpage

Home Page: https://miguelravila.github.io/Bento/

CSS 26.72% HTML 25.05% JavaScript 20.29% SCSS 27.94%

bento's Introduction

Bento: ๐Ÿฑ A Clean and Simple Startpage

Index

Features:

  • Dark/Light mode, you can toggle them and It'll be saved in local store
  • Clock and Date format can be set to 24 hour (default) or 12 hour
  • Greetings are easy to change and modify
  • Variables for custom colors in the css code
  • Modular javascript files for an easy read

Usage:

As Home Page:

  1. Fork this repo
  2. Enable the Github Pages service Settings > GitHub Pages > Source [master branch] > Save
  3. Set it as Home Page:
    • Click the menu button. and select Options. Preferences.
    • Click the Home panel.
    • Click the menu next to Homepage and new windows and choose to show custom URLs and add your Github Pages link

As New Tab:

  1. You can use different Add-ons/Extensions for it

Customization

All the code is using variables and is comented, It's easy to customize the project to your own, and this sections are the principal customizable elements in the Startpage:

Links and Icons

You can change the links (and the icons too) in the HTML Code:

Change the link in the href property with the link you want. (The target="blank" makes the link to open a new tab with the link you choose). The Project uses Feather icons for the icons, and you can change them in the data-feather="" property with the name of the icon.

Colors

In the CSS code you can always change the variables for both themes (Dark and Light)

Light mode (default)

Dark mode

Weather Widget

For setting up the Weather widget you're going to need an API Key in: https://openweathermap.org/. Once you have your Key you'll need to set yourlatitude and longitude, you can use: https://www.latlong.net/ to get them. Once you have the data, you'll need to set them in the weather.js in the js folder. The code is

If you don't like the idea of having your API Key public, you can make the repo into a private one. You can still use the Github Pages service.

Greetings

You can put your name and change the greetings.

var name = 'John Doe'; 
var lateTxt = 'Go to Sleep! ';
var morningTxt = 'Good morning! ';
var afterTxt = 'Good afternoon ';
var evenTxt = 'Good evening ';

It'll change in order of the hour.

Image Background

You can set your own background image with the variable --imgbg and set the route to the image you want It's disable by default. If you uncomment the variable, it has by default this image:

It has a black filter by default in --imgcol, and it'ts value is: rgba(255, 255, 255, 0.7) and rgba(0, 0, 0, 0.7) for the dark theme. You can change them and the opacity for a better experience with your image.

bento's People

Contributors

migueravila avatar austinleligdon avatar pelonchasva avatar

Watchers

James Cloos 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.