Skip to content

A MagicMirror² module that shows some super heroes

License

Notifications You must be signed in to change notification settings

Brtrnd/MMM-MagicSuperHero

 
 

Repository files navigation

MMM-MagicSuperHero

A module for MagicMirror² that shows a super hero character based on this superhero api.

Install

  1. Clone repository into ../modules/ inside your MagicMirror folder:
    • git clone https://github.com/Lavve/MMM-MagicSuperHero
  2. Run cd MMM-MagicSuperHero && npm install
  3. Add the module to the MagicMirror config.js
{
    module: "MMM-MagicSuperHero",
    position: 'top_center',
    header: 'Super hero',
    config: {
        showPowerImage: true,
        showRoundPowerImage: false,
        showPowerImageGrey: false,
        showPowerStats: true,
        showPowerStatsColors: true,
        showPowerAppearence: true,
        appearanceUnit: 'metric',
        updateInterval: 60 * 60 * 1000,
    }
},

Configuration options

Configuration Default Description
showPowerImage true (bool) Show image
showRoundPowerImage false (bool) Show round image
showPowerImageGrey false (bool) Show image in greyscale
showPowerStats true (bool) Show power statistics
showPowerStatsColors true (bool) Show power bars in color
showPowerAppearence true (bool) Show appearance
appearanceUnit 'metric' (str) 'metric' or 'imperal' units
updateInterval 60 * 60 * 1000 (int) Time in milliseconds for next character. Default every 1h.

Collaborate

Pull requests and translations are welcome.

Donations

Donate if you like my modules! <3

About

A MagicMirror² module that shows some super heroes

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 76.5%
  • CSS 23.5%