GithubHelp home page GithubHelp logo

mmm-qrcode's Introduction

MMM-QRCode

QRCode module for MagicMirror². Show QRCode image of encoded text.

Screenshot

Installation

Open up your terminal and simply paste the following code

cd ~/MagicMirror/modules
git clone https://github.com/MarinescuEvghenii/MMM-QRCode.git
cd MMM-QRCode && npm i

Using the module

To configure the module simply use your favourite editor vim or nano and simply paste the following code.

{
	module: 'MMM-QRCode',
	position: 'bottom_right', // change the position according to your need best position is either bottom right or left.
	config: {
		text: 'Your Message', // enter your message here.
		showRaw: true, // true = to show the text, false = to hide the text.
		imageSize: 150, // size is in px (both the height and with are equal).
		colorDark: "#fff" // set qrcode px color.
		colorLight: "#000" // set backgroud background color(by default color is BLACK).
	}
},

Configuration options

The following property can be configured:

Option Description Default value
colorDark Draw color "#fff"
colorLight Background color "#000"
imageSize Size of the image in px 150
showRaw Show raw text true
text The text to be encoded

mmm-qrcode's People

Contributors

cfenner avatar mrfoxie avatar uxigene avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

mmm-qrcode's Issues

Permission denied?

I ran the install command in the modules directory, but am getting:

pi@SmartMirror:~/MagicMirror/modules $ git clone [email protected]:MarinescuEvghenii/MMM-QRCode.git
Cloning into 'MMM-QRCode'...
^[[BPermission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

Qr code for remote control module

Hi, i am working on the mirror for a while and ive added the MMM-RemoteControl module to access the mirror through a host ip how can i encode that ip to the qr code

Header or Title

Hi, is it possible to add a header or a title to this module? I'm using it to provide my guests with wifi and i would like to add a title like "scan me for wifi"

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.