Skip to content
This repository has been archived by the owner on Oct 2, 2024. It is now read-only.

denalena/fernlenke

Repository files navigation

fernlenke

Description

Mobile friendly stateless on/off switch web app for HTTP APIs.

Intended for using right swipe for turning "on" and left swipe for turning "off" something.

Made for controlling lights via Node-RED.

Supports modern browsers and Android (probably even iOS) via cordova.

Installation

$ git clone https://github.com/ledeniz/fernlenke
$ cd swipeswitch
$ npm install
$ cordova run browser

Configuration

Customize the config object in /www/js/config.js

var config = {
    api: 'http://example.com/api',

    switches: [
        // API routes for switches (on/off => swipe right/left)
        [ '/on', '/off' ],
    ]
};

About

Mobile friendly remote for HTTP APIs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published