Skip to content

TheMY3/dawn-startpage

 
 

Repository files navigation

dawn - Nord Theme Fork

LIVE PREVIEW

About This Fork

This is a fork of the original dawn start page, incorporating improvements from Tartarus startpage and adapted specifically for the Nord color theme. The Nord theme provides a clean, minimalist aesthetic with its arctic-inspired color palette.

Key improvements in this fork include:

Keybindings

  • Numrow Switch tabs
  • t Open the create task panel
    • Enter Create a task
    • Tab Go to next field
  • s Open the search dialog
  • c Activate the fast link (navigate to the configured URL)
  • Esc Close the edit/create task panel (when field is focused)

Configuration

For now, some settings can be tweaked by changing the CONFIG object located in ./work.js.

Disabling a component

To disable a component, put their name into the list of disabled components:

const CONFIG = new Config({
    // ...
    disabled: ['todo-list'] // search-bar, crypto-rate, current-time, weather-forecast, status-bar
});

Tabs

Create new tabs and categories like so:

const CONFIG = new Config({
    // ...
    openLastVisitedTab: false,
    tabs: [
        {
            name: 'boards',
            background_url: 'src/res/banners/bg-1.gif',
            categories: [{
                name: 'fun',
                links: [{
                    url: 'https://youtube.com',
                    name: 'youtube',
                    icon: 'brand-youtube',
                    icon_color: '#996767'
                }]
            }]
        }
    ]
)

All the available icons can be found on tabler-icons.

Fast Link

The Fast Link component provides quick access to your most frequently used website. You can configure it in your config file:

const CONFIG = new Config({
  // ...
  fastLink: {
    url: "https://chat.openai.com/",
    icon: "src/img/openai.png"
  },
});

You can access the Fast Link by clicking on its icon in the status bar or by using the c hotkey (configurable in keybindings).

Dynamic Configuration

This fork supports dynamic configuration loading based on URL parameters. You can create multiple configuration files in the userconfig directory and load them by appending ?config=filename to the URL.

For example:

  • Create a file userconfig/work.js for your work setup
  • Create a file userconfig/personal.js for your personal setup
  • Access them via:
    • http://start.molchan.me/?config=work
    • http://start.molchan.me/?config=personal

If no config parameter is provided, it will default to userconfig/default.js.

Clock

Change the clock format in the status bar using strftime.org format.

Config example (work.js):

const CONFIG = new Config({
  // ...
  clock: {
    format: 'h:i p',        // 13:30 PM
    // format: 'do B Y - h:i', // 18th January 2021 - 13:30
    // format: 'h:i - m/b/Y',  // 13:30 - 3/Jul/2021
    iconColor: 'grey'
  }
});

Weather temperature

Change your location and temperature scale (celius, fahrenheit) like such:

const CONFIG = new Config({
  // ...
  temperature: {
    location: 'New York',
    scale: 'C'
  }
});

Alternatively, click on the weather widget to swap between Celius and Fahrenheit.

Crypto status

For the live crypto status, provide a crypto coin and a FIAT currency. Example:

const CONFIG = new Config({
  // ...
  crypto: {
    coin: 'ETH', // BTC, LINK, DOGE etc
    currency: 'USD', // EUR, JPY, BRL etc
    refreshIn: 15 // refresh time (in seconds)
  },
});

Alternatively, click on the crypto widget to change the settings:

Chrome Extension Setup

Dawn can be used as a Chrome extension to replace your new tab page. Follow these steps to set it up:

  1. Clone or download this repository
  2. Configure your personal settings by creating a config.local.json file
  3. Load the extension in Chrome via chrome://extensions/ in developer mode

For detailed instructions, see the Chrome Extension Setup Guide.

Default Configuration

You can set your preferred default configuration by creating a config.local.json file in the root directory:

{
  "defaultConfig": "your_config_name"
}

This file is ignored by git, ensuring your personal preferences remain private.

Credits

About

A startpage called "dawn"

Resources

License

Stars

Watchers

Forks

Languages

  • JavaScript 96.5%
  • CSS 2.5%
  • HTML 1.0%