Giter Site home page Giter Site logo

igniparoustempest / mmm-catholic-liturgical-calendar Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 105 KB

A Catholic liturgical calendar for MagicMirror2

License: Other

JavaScript 63.00% Nunjucks 4.65% Python 32.35%
catholic magic-mirror-modules magicmirror2

mmm-catholic-liturgical-calendar's Introduction

Module: MMM-catholic-liturgical-calendar

A liturgical calendar that lists upcoming events in the Christian year. This is a module for the MagicMirror² project.

A church glyph indicates that this is a mandatory church day.

Installation

  1. Navigate to the MagicMirror/modules directory.
  2. Execute git clone https://github.com/IgniparousTempest/MMM-catholic-liturgical-calendar.git
  3. Install a dependency: npm install romcal
  4. Configure the module as per below.
  5. Restart MagicMirror

Using the module

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

{
    module: "MMM-catholic-liturgical-calendar",
    position: "top_left",
    config: {}
},

Copy the parent folder to /modules/.

Configuration options

The following properties can be configured:

Option Description
fade Fade the future events to black. (Gradient)

Possible values: true or false
Default value: true
numberOfDaysOnCalendar The number of days to show a forecast for..

Default value: 7
requiredChurchEvents The events that your church requires attendance for. The default is what has been historically expected, but "liberal" churches often require less.

Possible values: ['SOLEMNITY', 'SUNDAY', 'TRIDUUM', 'HOLY_WEEK', 'FEAST', 'MEMORIAL', 'OPT_MEMORIAL', 'COMMEMORATION', 'FERIA']
Default value: ['SOLEMNITY', 'SUNDAY', 'TRIDUUM', 'HOLY_WEEK', 'FEAST', 'MEMORIAL']

In action

Notes

Data is retrieved from the data from the romcal npm module. I wrote an alternative data provider which is a web scraper: data_scraper.

mmm-catholic-liturgical-calendar'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.