For MagicMirror²
Quotes on your mirror,
composed to measure.
A module that brings the collection to your mirror, in 14 languages, and adapts its layout to the region you give it, from a discreet corner to the whole screen.
Installation
cd ~/MagicMirror/modules
git clone https://github.com/FabienBounoir/MMM-QuoteOuns.git No npm install needed. Then add the block generated below to config/config.js.
Languages and categories
Every option comes from the API itself. Open these addresses in a browser to see what is available:
- GET
/api/languagesThe language codes to use in
lang. - GET
/api/categories?lang=frThe categories of one language, to use in
categories.
Your configuration
Choose, preview, copy.
"auto" = 140 characters here
Preview · Middle center
Select at least one category.
config.js
{
module: "MMM-QuoteOuns",
position: "middle_center",
config: {
lang: "fr",
categories: ["motivation", "positivity", "happy", "life", "short-quotes"]
}
},