MMM-ComicStrips
Based on andrecarluccis MMM-DailyDilbert module, this is a module for MagicMirror2 that displays daily or random Comic Strips from famous comics.
Dependencies
- A MagicMirror2 installation
Installation
- Clone this repo into your
modules
directory. - Create an entry in your
config.js
file to tell this module where to display on screen. - Run
npm install
Example:
{
module: 'MMM-Comics',
position: 'middle_center',
config: {
comicList: ["garfield", "zits", "peanuts", "xkcd", "farside", "CalvinandHobbes"], // garfield, zits, peanuts, xkcd, farside, CalvinandHobbes
updateInterval : 1000 * 60 * 30, // 30 minutes
coloredImage: true, //colored or black&white (inverted) image
}
},
Config
Option | default | Description |
---|---|---|
comicList |
"garfield", "peanut" | Choose between the currently available comics: "garfield", "zits", "peanuts", "xkcd", "farside", "CalvinandHobbes" |
updateInterval |
1800000 | Set to desired update interval (in ms), default is 1800000 (30 minutes). |
coloredImage |
false | Colored or black&white (inverted) image |
timeForDaily |
[7, 9] | Time frame to show the most recent (or daily) comic. This would equate to 7 - 9 in the morning. Currently only 24h time formatting!! For any other time you will get a random comic if possible. |
This module is based on andrecarluccis MMM-DailyDilbert, which was heavily inspired by DailyXKCD. Many thanks to both of them for their great modules!