All Projects → migueravila → Bento

migueravila / Bento

🍱 Minimalist, elegant and simple startpage inspired by the Bento box!

Projects that are alternatives of or similar to Bento

Vvvebjs
Drag and drop website builder javascript library.
Stars: ✭ 4,609 (+1318.15%)
Mutual labels:  open-source, scss
Raisincss
An Utility CSS only library. It supports css grid and many more useful css properties.
Stars: ✭ 93 (-71.38%)
Mutual labels:  open-source, scss
Letra Extension
Passively learn a new language every time you open a new tab
Stars: ✭ 323 (-0.62%)
Mutual labels:  open-source, scss
First Contributions
🚀✨ Help beginners to contribute to open source projects
Stars: ✭ 21,839 (+6619.69%)
Mutual labels:  open-source
Personal Site
My personal website - built with React, React-Router, React-Snap for Static-Export, and GitHub Pages.
Stars: ✭ 324 (-0.31%)
Mutual labels:  scss
Zhvoice
Chinese voice corpus. 中文语音语料,语音更加清晰自然,包含8个开源数据集,3200个说话人,900小时语音,1300万字。
Stars: ✭ 327 (+0.62%)
Mutual labels:  open-source
Prettydoc
Creating Pretty HTML From R Markdown
Stars: ✭ 338 (+4%)
Mutual labels:  scss
Papercss
PaperCSS was originally made by @rhyneav to be something different than the typical mODerN STylEs and clean pages found in every other CSS framework. It was built with LESS and deployed on a single index.html page before being open sourced. It has since evolved; The CSS source has been rewritten in SCSS and the documentation is now built with Hugo (all thanks to some wonderful contributors). In addition to the original creator, it is maintained by @Fraham and @TotomInc.
Stars: ✭ 3,539 (+988.92%)
Mutual labels:  scss
Livecollections
Automatically perform UITableView and UICollectionView animations between two sets of immutable data. It supports generic data types and is fully thread-safe.
Stars: ✭ 337 (+3.69%)
Mutual labels:  open-source
Open Pixel Art
A collaborative pixel art project to teach people how to contribute to open-source
Stars: ✭ 331 (+1.85%)
Mutual labels:  open-source
Breakpoint Slicer
Slice media queries with ease
Stars: ✭ 332 (+2.15%)
Mutual labels:  scss
Greybird
Desktop Suite for Xfce
Stars: ✭ 329 (+1.23%)
Mutual labels:  scss
Awesome opensetrecognition list
A curated list of papers & resources linked to open set recognition, out-of-distribution, open set domain adaptation and open world recognition
Stars: ✭ 334 (+2.77%)
Mutual labels:  open-source
Centurion
Centurion is a web-based framework for rapid prototyping and building larger web projects.
Stars: ✭ 327 (+0.62%)
Mutual labels:  scss
Trumptracker.github.io
Open source for http://trumptracker.github.io/
Stars: ✭ 338 (+4%)
Mutual labels:  open-source
Nes.css
NES-style CSS Framework | ファミコン風CSSフレームワーク
Stars: ✭ 17,912 (+5411.38%)
Mutual labels:  scss
Tasks
✅ Tasks app for Nextcloud
Stars: ✭ 332 (+2.15%)
Mutual labels:  open-source
File System React
File System UI in Web using react
Stars: ✭ 331 (+1.85%)
Mutual labels:  scss
Patternfly
This repo contains core (HTML/CSS) implementation for PatternFly. Issues related to CSS/HTML and layout should be filed here.
Stars: ✭ 328 (+0.92%)
Mutual labels:  scss
Systems Design
All things systems design. Resources, Interview questions, e.t.c
Stars: ✭ 331 (+1.85%)
Mutual labels:  open-source

Bento

🍱 A Clean and Simple Startpage

Wallpaper by anima_contritum

Index

Features:

  • Dark/Light mode, you can toggle them and It'll be saved in local storage.
  • Clock and Date format can be set to 24 hour (default) or 12 hour.
  • Greetings are easy to modify.
  • Variables for custom colors and font sizes in the style.css code.
  • Icons all icons are from Feather Icons (Some others I made them with the Feather icons as a base)
  • 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:

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

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

<a
  href="https://github.com/"
  target="blank"
  class="buttonLink__link card buttonLink__link-1"
>
  <i class="buttonLink__icon" data-feather="github"></i>
</a>

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 in the page.

Colors

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

/* Light theme  */
:root {
  --accent: #4b8ec4; /* Hover color */
  --bg: #f5f5f5; /* Background color */
  --sbg: #e4e6e6; /* Cards color */
  --fg: #3a3a3a; /* Foreground color */
  --sfg: #3a3a3a; /* Sceondary Foreground color */
}

/* Dark theme  */
.darktheme {
  --accent: #4b8ec4; /* Hover color */
  --bg: #19171a; /* Background color */
  --sbg: #201e21; /* Cards color */
  --fg: #d8dee9; /* Foreground color */
  --sfg: #3a3a3a; /* Secondary Foreground color */
}

Theme Depending at the time

In the theme.js file there's a section about changing the theme depending in the time. You have to 'Uncomment' that section to enable it:

const today = new Date();
const Hr = today.getHours();

if (Hr >= 19 || Hr < 5) {
  enableDark();
} else {
  disableDark();
}

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.

Greetings

You can put your name and change the greetings.

var name = "John Doe";
const gree1 = "Go to Sleep!  ";
const gree2 = "Good morning!  ";
const gree3 = "Good afternoon  ";
const gree4 = "Good evening,  ";

It'll change in order of the hour.

Weather Info

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. Then you just have to fill them in the weather.js in the js folder:

// Use your own key for the Weather, Get it here: https://openweathermap.org/
const key = "XXXXXXXXXXXXXXXXXXXXXXXXXXX";

setPosition();

function setPosition(position) {
  // Here you can change your position
  // You can use https://www.latlong.net/ to get it! (I use San Francisco as an example)
  let latitude = 37.774929;
  let longitude = -122.419418;

  getWeather(latitude, longitude);
}

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

Weather Icons

The weather icons are based in Feather icons and I made 4 sets of them:

  • Nord Using the Nord Color Scheme and easy-to-eyes colors
  • OneDark (Default one) Using the One Dark Pro color scheme
  • Dark For White theme only users that want a minimalist look
  • White For Dark theme only users that want a minimalist look

You set the icon theme changing this two lines of code in the index.html and weather.js files:

  • If you want the Dark icon theme, change the OneDark to Dark
  • If you want the White icon theme, change the OneDark to White
  • If you want the Nord icon theme, change the OneDark to Nord

For example if I'd like to use the Dark icon theme:

<div class="weather-icon">
  <img src="icons/OneDark/unknown.png" />
</div>

<!-- Change it to: -->

<div class="weather-icon">
  <img src="icons/Dark/unknown.png" />
</div>
function displayWeather() {
  iconElement.innerHTML = `<img src="icons/OneDark/${weather.iconId}.png"/>`;
  tempElement.innerHTML = `${weather.temperature.value}°<span class="darkfg">${tempUnit}</span>`;
  descElement.innerHTML = weather.description;
}

//Change it to:
function displayWeather() {
  iconElement.innerHTML = `<img src="icons/Dark/${weather.iconId}.png"/>`;
  tempElement.innerHTML = `${weather.temperature.value}°<span class="darkfg">${tempUnit}</span>`;
  descElement.innerHTML = weather.description;
}
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].