homedash / kankun-json

A CGI script that provides a simple web interface and RESTful JSON API for the Kankun Small K wifi switch.
http://homedash.org
MIT License
34 stars 25 forks source link

Web interface needs to be separated out from JSON API #10

Open Japh opened 9 years ago

Japh commented 9 years ago

At the moment, we have two projects in one repository, which is kind of unwieldy.

  1. The web interface
  2. The JSON.cgi API

There's no reason to install the web interface on every device when it can control them all from a single location (on your desktop even), as long as you have the JSON.cgi API installed on the devices.

We should really separate these out, both to save space on the devices, but also to simplify development.

Japh commented 9 years ago

I've created a new repo to be the home for this: homedash/homedash-client.

Feel free to open relevant issues over there.

mattjoyce commented 9 years ago

Yep, separate is the way to go. Easier to play with front end ideas too.

stokito commented 3 years ago

We can simplify by using OpenWrt ubus jshn can be used to generate JSON. TBH the UI is anyway small and if anybody don't want UI the can just install json.sh