Skip to content

Hello world custom module for Magic Mirror written in JavaScript

Notifications You must be signed in to change notification settings

ismarslomic/MMM-Hello-World

Repository files navigation

Magic Mirror module: Hello world

Simple Magic Mirror module written in Javascript demonstrating use of the core module file (frontend) and node helper (backend) in addition to using the nunjucks templates for rendering data.

See Module Development Documentation for more information.

Example screenshot

Screenshot

Installing the module

  1. Navigate to the MagicMirror/modules directory and execute the following command

    git clone https://github.com/ismarslomic/MMM-Hello-World.git
  2. Change into the MMM-Hello-World module folder and install runtime dependencies with

    cd MMM-Hello-World
    npm install --omit=dev

Using the module

To use this module, add the following configuration block to the modules array in the config/config.js file:

var config = {
  modules: [
    {
      module: 'MMM-Hello-World',
      config: {
        text: 'Hello world Ismar!'
      }
    }
  ]
}

About

Hello world custom module for Magic Mirror written in JavaScript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published