Giter Site home page Giter Site logo

mmm-dailyzapiro's Introduction

Module: MMM-DailyZapiro

Cycles through the latest couple Zapiro comics. This is a module for the MagicMirror² project.

Installation

  1. Navigate to the MagicMirror/modules directory.
  2. Execute git clone https://github.com/IgniparousTempest/MMM-DailyZapiro.git
  3. cd MMM-DailyZapiro
  4. npm install
  5. Configure the module as per below.
  6. Restart MagicMirror

Using the module

Add this to the /config/config.js file:

{
    module: "MMM-DailyZapiro",
    position: "top_left",
    config: {}
},

Copy the parent folder to /modules/.

Configuration options

The following properties can be configured:

Option Description
colour Whether to show comics in their original colour (true), or in an inverted, high contrast, black and white (false).

Possible values: true or false
Default value: false
mostRecentNComics Cycle through the n most recent comics. Setting the value to 1 will show only the latest comic.

Possible values: 1 to positive infinity
Default value: 3
updateInterval How frequently a new comic is fetched in seconds. 86400 would be once ber day.

Possible values: 1 to positive infinity
Default value: 60

In action

Notes

Inspired by the MagicMirror plugin MMM-DailyDilbert.

This module is written in typescript, as such the javascript files in the root are automatically generated, the actual source code is in /src.

The module scrapes the sitemap of the Daily Maverick, and as such does not show comics from his Mail and Guardian days.

mmm-dailyzapiro's People

Contributors

igniparoustempest avatar

Watchers

 avatar  avatar

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.