Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mykle1/MMM-Lunartic
Up to the minute information about our Lunar partner, with a splash of EyeCandy, to boot!
https://github.com/mykle1/MMM-Lunartic
Last synced: 3 months ago
JSON representation
Up to the minute information about our Lunar partner, with a splash of EyeCandy, to boot!
- Host: GitHub
- URL: https://github.com/mykle1/MMM-Lunartic
- Owner: mykle1
- License: mit
- Created: 2017-07-31T01:14:17.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2022-11-28T22:58:44.000Z (almost 2 years ago)
- Last Synced: 2024-06-29T10:33:08.545Z (5 months ago)
- Language: JavaScript
- Homepage:
- Size: 3.6 MB
- Stars: 17
- Watchers: 5
- Forks: 11
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-mmm - **MMM-Lunartic**
README
## MMM-Lunartic
Up to the minute information about our Lunar partner, with a splash of EyeCandy, to boot!
## How it works
First, you have three choices of images to accompany the data.
* A rather impressive animation of the night moon, with clouds rolling by
* Updating minutely, an image of the actual appearance of the current moon
* A static image of all the phases of the moonThen you are offered updated information every minute, such as:
* The distance of the moon from the Earth's core at this moment. (Changes minutely)
* This distance of the moon to the sun at this moment. (Changes minutely)
* The date of the next full moon. (Very important if you're a werewolf!)
* The date of the next new moon. (Also very important if you're a werewolf!)
* The age of the current moon's monthly phase.
* Percentage of the current moon that is illuminated.
* The stage of the present moon (waning, waxing, etc..)## Examples
The moon will be animated. See picture below.
![](pix/33.JPG)
* The animation can be hidden if only the information is wanted.
![](pix/moon.gif) * This can be hidden
![](pix/11.JPG) * To show only this, or vice versa, showing just the image
* Or, Updating minutely, an image of the actual appearance of the current moon
![](pix/dd.JPG)
* Now an option for rotating data to conserve mirror real estate
![](pix/rotating.gif)
* Annotated .css file included for aligning and coloring text and header.
## Installation
* `git clone https://github.com/mykle1/MMM-Lunartic` into the `~/MagicMirror/modules` directory.
* cd into the MMM-Lunartic folder and run npm install
* No API key needed! (It's my API) No kidding!
## Config.js entry and options
{
disabled: false,
module: 'MMM-Lunartic',
position: 'bottom_center', // Best in left, center, or right regions
config: {
mode: "rotating", // rotating or static
image: "current", // animation, current, DayNight or static
distance: "miles", // miles or km
sounds: "yes", // howling wolf, only on a full moon
useHeader: false, // true if you want a header
header: "The Lunartic is in my head", // Any text you want
maxWidth: "300px",
animationSpeed: 0,
rotateInterval: 15000,
}
},
## Special thanks to SpaceCowboysDude for spotting my errors, as usual.