Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Duske/MMM-RescueTime
A magic mirror module to display your productivity from RescueTime
https://github.com/Duske/MMM-RescueTime
Last synced: 22 days ago
JSON representation
A magic mirror module to display your productivity from RescueTime
- Host: GitHub
- URL: https://github.com/Duske/MMM-RescueTime
- Owner: Duske
- License: mit
- Created: 2018-07-06T20:32:23.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-10-28T18:16:06.000Z (about 6 years ago)
- Last Synced: 2024-08-04T10:02:59.675Z (4 months ago)
- Language: JavaScript
- Size: 48.8 KB
- Stars: 7
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-mmm - **MMM-RescueTime**
README
# MMM-RescueTime
This is a module for the [MagicMirror](https://github.com/MichMich/MagicMirror). It displays your time data you spent on activities from RescueTime logged today.## Installation
1. Go to MagicMirror's `modules`.
2. Run `git clone https://github.com/Duske/MMM-RescueTime`.
3. Go into the newly created directory: `cd MMM-RescueTime`.
4. Run `npm install` to install the node dependencies.## Screenshot
![MMM-RescueTime screenshot](mmm-rescuetime-screenshot.png)
## Usage
To able to use this module, make sure you have an RescueTime account (*free account is fine*) and an API key. You can
generate one here: https://www.rescuetime.com/anapi/manage*Please note that only today's data will be shown.*
Then add this module to your `config/config.js` file:
```javascript
modules: [
{
module: 'MMM-RescueTime',
position: 'top_right', // Or any other region
header: 'RescueTime', // An optional title
config: {
// See 'Configuration' for more information.
}
}
]
```## Configuration
The following properties can be configured:
| Option | Description | Default |
| ------------- |:-------------:| -----:|
| apiKey | Your RescueTime API key | **None, this has to be set by you**|
| interval | Interval in seconds how often the data should be fetched | 60 |
| pointBackgroundColor | Background color of the dots | "#fff" |
| borderColor | Color of the border surrounding your data | "rgba(255,255,255,0.5)" |
| backgroundColor | Background color of the plane surrounding your data | "rgba(255,255,255,0.2)" |
| angleLinesColor | Color of the angle lines | "rgba(255,255,255,0.2)" |
| gridLinesColor | Color of the grid lines | "rgba(255,255,255,0.2)" |