Skip to content

diescake/norzan

Repository files navigation

Norzan

icon

Norzan is a Chrome Extension to display the rest of workable time into it's new tab. The extension allows you to represent your time to your co-workers and strongly persist that "I don't wanna work overtime !!".

Usage

The easiest way to install is downloading from Chrome Web Store.
Another way, download zip package on this Release page and load it manually on chrome://extensions/.

Development

Clone this repository and run below command. Generate production codes and collect assets under the dist/prod directory. If you want to run in your Chrome browser, load the prod directory as unpacked Chrome Extension. For more information, see the official tutorial; Getting Started Tutorial

$ yarn watch

Publication

Create the zip package by bellow commands and upload it to the Chrome Web Store.

$ yarn build
$ yarn package

Config

Actually, you don't have to edit norzan.config.js directly.

{
  durationFormat: 'hh:mm:ss.SS', // See. Moment.js format
  updateIntervalMs: 90,
  openingTime: '10:30:00',
  closingTime: '19:00:00',
  messageInClosed: 'During non-business hours.',
  backgroundColor: '#222222', // Actually, enter this from the color picker in your browser.
  googleFont: '', // Details below.
  fontColor: '#e3e3e3',
}

Google fonts

Norzan supports Web Fonts provided on Google Fonts. If you want to use this function, pick up your favorite font on the site and enter it's font-family name such as Nova Mono, Staatliches or Indie Flower.

Then, monospace fonts are recommended because proportional fonts shake the numbers at every updating time.

Logo

This overcool logo is generated by hatchful.

License

MIT License

Author

Daisuke Kondo (a.k.a diescake)