Skip to content

ryck/MMM-Year-Progress

Repository files navigation

MMM-Year-Progress

This a module for the MagicMirror.

This module tracks the progress of the year / month.

Inspiration

Screenshots

Classic

classic ASCII mode

Modern

default accent yellow accent
green accent purple accent

Installation`

git clone https://github.com/ryck/MMM-Year-Progress.git && cd MMM-Year-Progress && npm install && cd ..

Config

The entry in config.js can include the following options:

Option Description
accent Hex/RGB/CSS color used for the progress bars.

Type: string
Default: #999
trackers Space-separated list choosing which trackers to show (year, month, week). Separate each tracker with a single space, not commas.

Type: string
Default: "year month week"
modern Use the modern CSS-based progress bars (true) or fall back to ASCII blocks for legacy browsers (false).

Type: boolean
Default: false
updateInterval How often the arrival information is updated.

Type: integer
Default: 1 min
debug Show debug information.

Possible values: true or false
Default: false

Here is an example of an entry in config.js

{
	module: 'MMM-Year-Progress',
	position: 'bottom_left',
	header: 'Progress',
	config: {
		accent: '#61e9f3ff',
		trackers: 'year week', // note the space-separated values
		modern: true, // set false for ASCII bars (better legacy compatibility)
		updateInterval: 60 * 60 * 1000,
		debug: false,
	}
},

Dependencies

  • moment.js (provided by MagicMirror)
  • Time itself

Thanks To...

About

MagicMirror 2 module totrack the progress of the current year / month.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •