HC Admin GUI

Framework Used

Holo is planning to move make their apps consistent. So we will go with Electron

Purpose:

To administer all the maintenance functions of holochain apps:

  • Initialize container/environment
  • Install app
  • Start & Stop App
  • Dump Chain or DHT
  • Install seed / gen keys / revoke keys
  • Bridge apps (& Display them)
  • Connect different UIs
  • Configure Backup / Restore
  • System Notifications
  • Access to the App Store (for finding apps)
  • System resource usage view(Link "Top" in linux)
    • Inspect Details
    • DHT Health

GUI Charts:

Working (Rough Draft)

  • Download the app
    • (Done by the HAppStore)
  • Install the app
    • cd /location && hcdev web portnumber
  • Select the port you want to host on
    • ??
  • Bridge to the other apps

  • Stop that port.

  • Restart that port

Questions:

  • What does uninstalling mean in Holochain? (Deleting the .holochain/App_Name file? or Killing the port its running on?)
    Joel U
  • When apps are uninstalled, can they be reinstalled and recover previous settings/state. In other words, are we going to store some information about the uninstalled app even though the app itself has been uninstalled?

Paul B. Hartzog
Thats a good question Paul, Thats what I mean when I say "Deleting the .holochain/App_Name file? or Killing the port its running on?". Because Deleting the file would lose the chain, and then the next install would let the user create a new agent in the DHT and lose all the old data. But just stopping the port would give an illusion of the app being uninstalled but he could join back when he likes.
I Believe both the features should exist.
Joel U

  • "all the old data"?
    We should bring this up in a meeting somewhere. I agree that the use needs multiple options: 1) keep the data or dont't, 2) keep the agency info or don't, etc.
    I know that when people delete Microsoft Word they don't expect to lose all of their documents (they might lose preferences or not depending on how they delete the app). It's worth thinking about
    Paul B. Hartzog
Select a repo