A module for the Magic Mirror project by Michael Teeuw that displays a daily bit of Buddhist wisdom from Thich Nhat Hanh's Your True Home based on the current day of the year.
Screenshot on August 25th 2020, the 238th day of the year with default config. | Screenshot on August 25th 2020, the 238th day of the year with example config. |
- MagicMirror2 instance
- Node.js version >= 7
- npm
In your MagicMirror directory:
cd modules
git clone https://github.com/anthpham/MMM-DailyBuddhismWisdom.git
cd MMM-DailyBuddhismWisdom
npm install
Go to the module’s folder inside MagicMirror modules folder and pull the latest version from GitHub and install:
git pull
npm install
There is not very much to configure but here are the options:
Option | Description |
---|---|
show_page |
A boolean value that determines whether this module's text should be displayed or not. Type: |
font_size |
A string that determines the size of the font. Type: |
font_weight |
A string that determines the weight of the font. Type: |
text_align |
A string that determines the alignment of the text. Type: |
line_height |
A string that determines the distance between lines in the text. Type: |
show_author_book |
A boolean value that determines whether the author and book's title shoudl be displayed at the end of the quote. Type: |
Here is an example for an entry in config.js
{
module: "MMM-DailyBuddhismWisdom",
position: "top_bar",
config: {
font_size: "medium",
font_weight: "500",
text_align: "center",
show_author_book: false
}
}
- Michael Teeuw for inspiring me and many others to build a MagicMirror module.
- Sam Detweiler for finding and fixing errors in this module.
If you find any problems, questions, or suggestions, please open a GitHub issue in this repository.