A module for MagicMirror2 that displays the daily Cyanide&Happiness Comic.
cd ~/MagicMirror/modules
git clone https://github.com/werthdavid/MMM-CyanideHappiness.git
cd MMM-CyanideHappiness
npm install
Add this configuration into config.js
file's
{
module: "MMM-CyanideHappiness",
position: "bottom_bar",
config: {
updateInterval : 36000000,
color: true,
mode: "daily"
}
}
Go to the module’s folder inside MagicMirror modules folder and pull the latest version from GitHub and install:
git pull
npm install
Here is the configurable part of the module
Option | Description |
---|---|
updateInterval |
Set to desired update interval (in ms), default is 3600000 (10 hours). |
color |
display the image in color (true ) or black/white (false ) (defaults to black/white) |
mode |
either daily or random (defaults to daily ) |
daily
shows the daily strip on explosm.netrandom
uses the random comic generator
Heavily inspired by the awesome MagicMirror plugin MMM-DailyDilbert.