GithubHelp home page GithubHelp logo

jamescarppe / mmm-github-monitor Goto Github PK

View Code? Open in Web Editor NEW

This project forked from fpfuetsch/mmm-github-monitor

0.0 0.0 0.0 131 KB

MagicMirror² module to display GitHub repository information

License: MIT License

JavaScript 98.64% CSS 1.36%

mmm-github-monitor's Introduction

MagicMirror² Module - GitHub Monitor

What?

This module enables you to display certain information about your favourite GitHub Repositories on your MagicMirror² Mirror.

Screenshot

How?

Installation

  1. Navigate to the /modules folder of you MagicMirror²
  2. Clone this repository using the following command: git clone https://github.com/fpfuetsch/MMM-GitHub-Monitor.git

Configuration

To use this module, add it to the modules array in the config/config.js file:

modules: [
	{
		module: 'MMM-GitHub-Monitor',
		position: 'top_left', // any possible region
		config: {
			repositories: [ // list of GitHub repositories to monitor
				{
					owner: 'MichMich', // reposistory owner
					name: 'MagicMirror', // repository name
					pulls: {
						display: true, // show recent pull requests
						loadCount: 10, // cycle through 10 latest pull requests
						displayCount: 2, // show 2 pull requests at a time
						state: 'open', // show only open pull requests
						sort: 'created', // sort by creation date
						direction: 'desc', // sort in descending order
					}
				},
				{
					owner: 'fpfuetsch',
					name: 'MMM-GitHub-Monitor',
				},
			],
			sort: true, // sort repositories alphabetically (default: true)
			updateInterval: 10000, // update interval in milliseconds (default: 10 min)
        },
	},
]

Update

Navigate to the folder of the module in the /modules folder and get the latest version using the command git pull.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.