foxbox icon indicating copy to clipboard operation
foxbox copied to clipboard

[meta] Enabling build gaia with web client

Open gasolin opened this issue 10 years ago • 3 comments

The Idea is host a web server in foxbox (or work alone without foxbox), and provide web app to let developer could build gaia on web directly.

The rough architecture could use https://github.com/gasolin/webapplate to provide

  • node/express server
  • webapp template

Things need to evaluate:

  • use node to execute command
  • get console log to node server
  • design API to simplify server and webapp communication

gasolin avatar Mar 20 '14 09:03 gasolin

Ref:

  • expose web server in VM to host OS http://aruljohn.com/info/virtualbox-access-guest-from-host-nat/
  • Execute A Unix Command With Node.js http://www.dzone.com/snippets/execute-unix-command-nodejs

gasolin avatar Mar 21 '14 06:03 gasolin

The goal will be spanned in gaia only in first phase.

We could create a daemon foxboxd to accept REST API, handle command queue, report result, track progress via API. And provide a basic webapp that allow controlled from Desktop or mobile device. The webapp could use FirefoxOS BuildingBlock as UI framework.

It could be lose-coupled with foxbox, which means current gaia developer also get benefit from foxboxd.

gasolin avatar Mar 22 '14 03:03 gasolin

go with web terminal https://github.com/codetunnel/shotgun/wiki/Getting-Started

gasolin avatar Apr 03 '14 07:04 gasolin