Codebase list sliver / 9e955ff1-c05f-4e80-9e15-5920354a4ae0/main gui
9e955ff1-c05f-4e80-9e15-5920354a4ae0/main

Tree @9e955ff1-c05f-4e80-9e15-5920354a4ae0/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).