nodejs, electron
甚至一個html都寫到,你個api要support CORS
梁炳 發表於 2017-11-10 01:12 PM 
其實,初步我是想控制一個門的系統的開門的 ...
佢可以 call 個 http link 'http://192.168.1.10/rc.cgi?o=1,1' > (prompt up for entering password) > (if password correct, then open the door)
如果 html 寫個 local program:
1. 可以唔 prompt up 個 browser?
2. 想做個 icon 在個 PC 的 task bar 上,user 一按個 icon 就可以開到門 |