2016-04-03 19:43:31 -04:00
# MagicMirror²
2016-04-03 20:39:01 -04:00
[](https://david-dm.org/MichMich/MagicMirror/v2-beta)
[](https://david-dm.org/MichMich/MagicMirror/v2-beta#info =devDependencies)
2016-04-03 19:52:13 +02:00
This version of the Magic Mirror software focusses on a modular plugin system. Besides that, the Magic Mirror software now also uses [Electron ](http://electron.atom.io/ ), so no more webserver or browser installs necessary.
2016-03-28 13:47:40 +02:00
2016-04-03 20:39:01 -04:00
**WARNING!** This version is in a *very* early stage. It is **not** completed yet. **Please** use the master branch.
2016-03-29 13:35:55 +02:00
2016-04-03 19:43:31 -04:00
## Usage
2016-04-04 13:54:49 -04:00
#### Automatic Installer
1. Clone the repository: `git clone -b v2-beta https://github.com/MichMich/MagicMirror`
2. Enter the new directory: `cd MagicMirror`
3. Give the installer permission to run: `sudo chmod +x install.sh`
4. Start the installer: `sudo ./install.sh`
#### Manual Installation
1. Download the latest Node.js version:
2016-04-03 20:39:01 -04:00
- `wget https://nodejs.org/dist/latest/node-v5.10.0-linux-armv6l.tar.gz` for Raspberry Pi
- `wget https://nodejs.org/dist/latest/node-v5.10.0-linux-armv7l.tar.gz` for Raspberry Pi 2
2016-04-04 13:54:49 -04:00
- `wget https://nodejs.org/dist/latest/node-v5.10.0-linux-arm64.tar.gz` for Raspberry Pi 3
2. Unpack the archive file: `tar -xvf filename.tar.gz`
3. Install Node.js: `cd foldername && sudo cp -R * /usr/local/`
2016-04-03 17:46:09 +02:00
4. Set loglevel `npm config set loglevel info`
2016-04-04 13:54:49 -04:00
5. Clone the repository and check out the beta branch: `git clone -b v2-beta https://github.com/MichMich/MagicMirror`
6. Enter the repository: `cd MagicMirror`
7. `npm install && npm start` (You may have to restart your terminal before this works!)
2016-04-03 17:46:09 +02:00
2016-04-07 21:04:24 -04:00
**Important:** `npm start` does **not** work via SSH, use `DISPLAY=:0 nohup npm start &` instead. This starts the mirror on the remote display.
2016-03-28 13:47:40 +02:00
2016-04-03 19:43:31 -04:00
## Configuration
2016-04-04 13:54:49 -04:00
2016-03-29 13:35:55 +02:00
1. Duplicate `config/config.js.sample` to `config/config.js` .
2. Modify your required settings.
2016-04-03 19:43:31 -04:00
## Todo List
2016-04-04 13:54:49 -04:00
Here is a list of various things that still have to be implemented or changed.
2016-03-30 15:20:14 +02:00
2016-04-03 19:43:31 -04:00
- [ ] Allow show/hide animations to animate the height. This way, the other modules won't jump around.
- [ ] Allow vertical centering of alerts.
- [ ] Rewrite the [alert ](modules/default/alert ) module in vanilla JavaScript.
- [ ] Write all the documentation.
2016-04-01 10:47:16 +02:00
2016-04-03 19:43:31 -04:00
## Modules
2016-03-30 15:20:14 +02:00
2016-04-03 19:43:31 -04:00
The following modules are installed by default.
2016-03-30 15:13:46 +02:00
2016-04-01 17:35:29 +02:00
- [**Clock** ](modules/default/clock )
- [**Calendar** ](modules/default/calendar )
- [**Current Weather** ](modules/default/currentweather )
- [**Weather Forecast** ](modules/default/weatherforecast )
- [**News Feed** ](modules/default/newsfeed )
- [**Compliments** ](modules/default/compliments )
- [**Hello World** ](modules/default/helloworld )
2016-04-03 13:02:49 +02:00
- [**Alert** ](modules/default/alert )
2016-03-31 11:08:06 +02:00
2016-04-03 19:43:31 -04:00
The following modules are created by their respective authors.
2016-03-31 11:08:06 +02:00
2016-04-07 21:04:24 -04:00
| **Module Name** | **Author** | **Link** |
|------------------------ |------------------------------------------------ |------------------- |
| FRITZ!Box Call Monitor | Paul Vincent-Roll ([paviro ](paviro )) | [Click Here ](fcm ) |
| Facial Recognition | Paul Vincent-Roll ([paviro ](paviro )) | [Click Here ](fr ) |
| Wunderlist | Paul Vincent-Roll ([paviro ](paviro )) | [Click Here ](wl ) |
| WordNik | Sam Vendittelli ([SVendittelli ](svendittelli )) | [Click Here ](wn ) |
[svendittelli]: https://github.com/SVendittelli
[paviro]: https://github.com/paviro
[fcm]: https://github.com/paviro/MMM-FRITZ-Box-Callmonitor
[fr]: https://github.com/paviro/MMM-Facial-Recognition
[wl]: https://github.com/paviro/MMM-Wunderlist
[wn]: https://github.com/SVendittelli/MMM-wordnik
2016-04-03 20:27:55 +02:00
2016-04-03 19:43:31 -04:00
## Contributing
2016-04-03 20:27:55 +02:00
Contributions of all kinds are welcome, not only in the form of code but also with regards bug reports and documentation.
2016-04-03 19:43:31 -04:00
Please keep the following in mind:
2016-04-03 20:27:55 +02:00
2016-04-03 19:43:31 -04:00
- **Bug Reports**: Make sure you're running the latest version. If the issue(s) still persist: please open a clearly documented issue with a clear title.
- **Minor Bug Fixes**: Please send a pull request with a clear explanation of the issue or a link to the isssue it solves.
- **Major Bug Fixes**: please discuss your approach in an GitHub issue before you start to alter a big part of the code.
- **New Features**: please please discuss in a GitHub issue before you start to alter a big part of the code. Without discussion upfront, the pull request will not be accepted / merged.
2016-04-03 20:27:55 +02:00
Thanks for your help in making Magic Mirror better!