kit
kit copied to clipboard
User interface
I would like a user interface to make debugging failures easy:
- View logs.
- Run tasks.
Just hacked a PoC together. UI needs the following
- Endpoint to load the UI.
- Endpoints to get initial state.
- Endpoint to get a stream of events to update the UI, e.g. "log message created"
As an alternative to a browser-based UI, I might suggest a terminal-based UI, like k9s or lazydocker, using gocui, tview, or similar tools.
That would also fit nicely within Kit's existing UX
Discovered mprocs, which is basically what I suggested above
What features does mprocs have compared to Kit?
Interactive control:
- Filter logs by task #56
- Dynamically start, stop, restart any configured process
- Interactively add, duplicate, or rename processes (I'm not sure the use-case of this, but it exists)
- Other
tmuxspecific things like scrollback, copy, page down/up, etc (these are not necessarily relevant depending on the interface)
See also the default keymap
Configuration:
- Remote server mode (I don't think this is particularly useful, but it exists)
- Add entries to
$PATHper process (npm runstyle) - Configure stop signaling
- OS-specific config per process
- Custom keymappings
See also the config