Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/pvyParts/MMM-jokes

Mirror Mirror on the wall who is the most baddass of them all! -Chuck thats who.
https://github.com/pvyParts/MMM-jokes

Last synced: 22 days ago
JSON representation

Mirror Mirror on the wall who is the most baddass of them all! -Chuck thats who.

Awesome Lists containing this project

README

        

# Module: MMM-jokes
The `MMM-jokes` module is similar to the complements module but it loads its data from a web API for random jokes

## Using the module

To use this module, add it to the modules array in the `config/config.js` file:
````javascript
modules: [
{
module: 'MMM-jokes',
position: 'lower_third', // This can be any of the regions.
// Best results in one of the middle regions like: lower_third
config: {
api: 'icndb' //required
}
}
]
````

## Configuration options

The following properties can be configured:




Option
Description



api
What API are we going to use?


Possible values:> ticndb (http://www.icndb.com/) ,tambal (http://tambal.azurewebsites.net/)

Default value: ticndb


updateInterval
How often does the joke have to change? (Milliseconds)


Possible values: 1000 - 86400000

Default value: 600000 (10 minutes)



fadeSpeed
Speed of the update animation. (Milliseconds)


Possible values:0 - 5000

Default value: 4000 (4 seconds)