G0WCZ / cwc

CW Commuter - a portable Morse appliance - local network and with reflectors
GNU General Public License v3.0
0 stars 3 forks source link

Web-based config for cwc-station on pi #46

Open grasuth opened 5 years ago

grasuth commented 5 years ago

"My thoughts were around having a web server on the Pi offering this information and more.Web config sounds

grasuth commented 5 years ago

Yeah, /boot is a hack. Web config sounds nice. Easy enough to do in go with gin or similar framework, so can be easily in process with the rest of cwc-station -- as we do it for the reflector. And that could do keyboard sending as well and probably virtual key/paddle buttons via js/websocket which again aint too hard.

grasuth commented 5 years ago

Thinking of using: 1/ simple neautral css/grid from: https://github.com/dhg/Skeleton or similar (responsive, good on a phone, small load) 2/ packr to pack static files into go binary (keep releases tidy)

  1. built-in html templating with a little multi-template support