Codebase list sliver / 3b542dd6-96c5-4277-b6ea-c6ac2b534dd3/main gui
3b542dd6-96c5-4277-b6ea-c6ac2b534dd3/main

Tree @3b542dd6-96c5-4277-b6ea-c6ac2b534dd3/main (Download .tar.gz)

Sliver GUI

Electron based Sliver GUI written in Angular/TypeScript.

Design Goals

Why Electron?

Because I value my development time more than your RAM.

Build

Built with the following prerequisites:

  • Node v12.12.0
  • npm v6.12.0
  • protoc v3.10.0

From this directory:

npm install
npm install -g electron-packager
npm install -g ts-protoc-gen
npm install -g @angular/cli
./protobuf.sh
npm run electron:local

Source Code

Source code is organized as follows:

main.ts - Electron entrypoint.

preload.js - Electron preload script used to bridge the sandbox code to the Node process.

ipc/ - Node IPC handler code, this translates messages from the preload.js script into RPC or local procedure calls that cannot be done from within the sandbox.

rpc/ - TypeScript implementation of Sliver's RPC protocol.

src/ - Angular source code (webview code).