Skip to content
A MagicMirror module that shows jokes from the JokeAPI
JavaScript CSS
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore Intial commit Dec 9, 2019
MMM-JokeAPI.js Updating module registration name Dec 9, 2019
README.md Update README.md Jan 15, 2020
screenshot.png Intial commit Dec 9, 2019
style.css Intial commit Dec 9, 2019

README.md

MagicMirror² JokeAPI module

This is a module for MagicMirror²; the purpose of the module is to show you jokes from the JokeAPI.

Installation

  1. Clone this repository into your MagicMirror modules folder.
  2. Edit your configuration file under config/config.js with the following configuration.
{
    module: 'MMM-JokeAPI',
    position: 'middle_center',
    config: {
        category: "Programming"
    }
}

Preview

Screenshot

Configuration options

Option Description
category The list of module names that are controlled by this module.
Possible values:
1. Programming
2. Miscellaneous
3. Dark
4. Any

Type: string
Default value: Programming
fetchInterval How often (in milliseconds) a new joke should be fetched.

Type: number
Default value: 10 * 1000

Credits

MagicMirror²: MagicMirror²
JokeAPI: JokeAPI

You can’t perform that action at this time.