Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/echang15/MMM-Dad-Jokes
Dad Joke module for Magic Mirror
https://github.com/echang15/MMM-Dad-Jokes
Last synced: 3 months ago
JSON representation
Dad Joke module for Magic Mirror
- Host: GitHub
- URL: https://github.com/echang15/MMM-Dad-Jokes
- Owner: echang15
- License: mit
- Created: 2018-07-31T01:22:02.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-02-11T02:29:25.000Z (9 months ago)
- Last Synced: 2024-06-29T08:36:13.320Z (5 months ago)
- Language: JavaScript
- Homepage:
- Size: 9.77 KB
- Stars: 20
- Watchers: 4
- Forks: 13
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.txt
Awesome Lists containing this project
- awesome-mmm - **MMM-Dad-Jokes**
README
# MMM-Dad-Jokes
This is a module for the [MagicMirror²](https://github.com/MichMich/MagicMirror/).
Random Dad Jokes... from https://icanhazdadjoke.com/
This was a learning exercise with node and Magic Mirror - feel free to do what you want with it.
## Using the module
To use this module, add the following configuration block to the modules array in the `config/config.js` file:
```js
var config = {
modules: [
{
module: 'MMM-Dad-Jokes',
position: 'bottom_left', // Or wherever you want
config: {
updateInterval: 60000,
fadeSpeed: 4000
}
}
]
}
```## Configuration options
| Option | Description
|----------------- |-----------
| updateInterval | *Required* How often to grab an amazing joke! Defaults to one minute
| fadeSpeed | How quickly the jokes fade in and out. Defaults to four seconds
| filters | Array of words not to include in jokes