Giter Site home page Giter Site logo

mmm-cocktails's Introduction

MMM-Cocktails

A MagicMirror module that teaches you how to make all kinds of mixed drinks.

Works by default with Hello-Lucy voice enhancement!

Examples

maxWidth: 400px, colored title text. Good for left and right regions.

maxWidth: 1050px, colored title text. Increased text sizes. top/bottom_bar, upper/lower_third, middle_center.

No picture, colored title and body text. Placed under the compliments module as an example. Make it yours!

Info

  • Completely configurable. The .css file included helps you modify size of image, text, color, any way you like it.
  • For best results in left or right regions constrain the size using maxWidth and the .css examples provided.
  • For best results in top_bar/bottom_bar/thirds increase maxWidth to stretch across your mirror and modify css.
  • Need a color chart? No problem. http://htmlcolorcodes.com/color-picker/
  • No API key is necessary at the moment.

Installation

  • git clone https://github.com/mykle1/MMM-Cocktails.git into the ~/MagicMirror/modules directory.

Add to Config.js

{
    module: "MMM-Cocktails",
    position: "top_left", // Editable footprint - Fits anywhere.
    config: {
        maxWidth: "400px",     // See provided .css file for full customization options
        header: "",
    }
},

Config Options

Option Default Description
maxWidth 400px Constrain, or stretch across top_bar,bottom_bar, thirds.
header text I'm not a fan of headers but the option is yours.
animationSpeed 3000 The speed at which the new cocktail fades in ms.
updateInterval 10*60*1000 New drink every 10 minutes.
initialLoadDelay 1250 Module load delay in ms.
retryDelay 2500 Delay to retry fetching data.

mmm-cocktails's People

Contributors

mykle1 avatar cowboysdude avatar

Watchers

 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.