A module for MagicMirror2 that displays a random Dilbert strip.
Note: Dilbert ended on 2023-03-12 and the original
dilbert.comis gone, so there is no longer a "daily" strip to fetch. This module now pulls a random strip from the public Dilbert archive (1989–2023), which links to copies preserved on the Internet Archive's Wayback Machine.
- A MagicMirror2 installation (Node 18+, which provides a global
fetch)
- Clone this repo into your
modulesdirectory. - Create an entry in your
config.jsfile to tell this module where to display on screen.
Example:
{
module: 'MMM-DailyDilbert',
position: 'bottom_bar',
config: {
updateInterval : 36000000,
scale : 100
}
},
| Option | Description |
|---|---|
updateInterval |
How often to rotate to a new random strip (in ms). Default is 36000000 (10 hours). Minimum enforced value is 60000 (1 minute). |
scale |
Size of the comic image as a percentage. Default is 100. Use values above 100 to make it bigger or below to make it smaller (e.g. 150 or 75). |
Heavily inspired by the awesome MagicMirror plugin DailyXKCD.
