A MagicMirrorÂē module that adds a web UI to manage your compliments directly in config.js â no file editing required.
Accessible from any device on your network at http://your-mirror:8080/compliments-manager.
- 4 categories â Always, Morning, Afternoon, Evening
- Two modes â quote (
"text" â author) or plain text (displayed as-is) - Pause/resume â paused entries are commented out in
config.js, keeping a full history without displaying them - Move â reassign a compliment to another category
- Settings tab â configure
updateInterval,fadeSpeed, time windows and CSS classes - Multilingual UI â auto-detects the
languagesetting fromconfig.js(supportsfranden)
cd ~/MagicMirror/modules
git clone https://github.com/Kamasoutra/MMM-ComplimentsManager.gitNo npm dependencies required.
Add the module to config/config.js:
{
module: "MMM-ComplimentsManager",
}The module renders nothing on the mirror â it only serves the admin UI at /compliments-manager.
Open http://your-mirror:8080/compliments-manager in a browser.
Two fields: the quoted text and an optional author. Displayed as "text" â Author.
A single field. The text is displayed exactly as typed.
Click Pause â the entry is commented out in config.js (e.g. // "...") and excluded from the mirror display. Click Resume to re-enable it. The entry is never lost.
Use the â dropdown on any entry to move it to another category.
The â Settings tab lets you configure the compliments module options:
| Setting | Default | Description |
|---|---|---|
updateInterval |
30 000 ms | Time between two compliments |
fadeSpeed |
4 000 ms | Transition animation duration |
morningStartTime |
3 | Start of morning window (hour, 0â23) |
morningEndTime |
12 | End of morning window |
afternoonStartTime |
12 | Start of afternoon window |
afternoonEndTime |
17 | End of afternoon window |
classes |
thin xlarge bright |
CSS classes applied to the displayed text |
Changes are written directly to config.js on save.
This module exposes an unauthenticated HTTP endpoint. It is intended to be used behind a reverse proxy with authentication (e.g. nginx basic auth). Do not expose port 8080 directly to the internet.
MIT