Skip to content
MagicMirror² module that displays a random quote from various movies, books, and people.
JavaScript
Branch: master
Clone or download
Latest commit 75a6e10 Feb 26, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE
MagicMirror-QuoteCatalog.js updated MagicMirror-QuoteCatalog.js Feb 21, 2018
README.md updated README.md Feb 26, 2018
example.png
package.json update package.json Feb 21, 2018

README.md

MagicMirror² Module: Quote Catalog

The MagicMirror-QuoteCatalog is a module for MagicMirror² that displays quotes taken from a variety of sources - movies, books, and people. Because this module does not use an API, new ones have to be manually added by editing the random_quotes.js file and adding/removing quotes.

Example

Installation

Remote to your MM2-box with your terminal software and go to your MagicMirror's Module folder:

cd ~/MagicMirror/modules

Clone the repository:

git clone https://github.com/salpar/MagicMirror-QuoteCatalog.git

Go to the modules folder:

cd MagicMirror-QuoteCatalog

Install the dependencies:

npm install

Add the module to the modules array in the config/config.js file by adding the following section. You can change this configuration later when you see this works:

{
    module: 'MagicMirror-QuoteCatalog',
    header: 'The Quote Catalog',
    position: 'top_left',
    config: {
                // See below for configurable options
            }
},

Configuration options

Option Description
timeFormat How often a new quote gets displayed. The value is in seconds.

Possible values: int in seconds
Default value: 300
fadeSpeed How fast to fade out and back in when changing quotes. The value is in seconds.

Possible values: int in seconds
Default value: 5

Updating Quotes

Because an API is not used for this module, the quotes will have to be updated/changed manually. You can edit the QuoteCatalog.js file and add/remove quotes.

Special Thanks

You can’t perform that action at this time.