rfscopeweb

package
v0.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 14, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

README

RF Scope web console

Standalone browser console for GopherTrunk's protocol-agnostic RF network analysis (internal/rfscope). Upload an IQ capture and view its RF scene: protocol hierarchy, per-channel I/O graph, top talkers, conversations, and expert-info anomalies, plus a one-click cryptolab ks frames download for any unknown payloads.

Develop

make rfscope-web-dev      # Vite dev server on :5272, proxies /api to :8098
gophertrunk rfscope serve # the API backend (default 127.0.0.1:8098)

Build

make rfscope-web-build    # produces web/rfscope/dist/, embedded into the binary

The built bundle is embedded via embed.go; gophertrunk rfscope serve then serves it at /.

Documentation

Overview

Package rfscopeweb embeds the built standalone RF Scope SPA so the gophertrunk binary can serve the offline RF-analysis console (via `gophertrunk rfscope serve`) without a sibling source tree. Build the SPA with `make rfscope-web-build` (or `cd web/rfscope && npm run build`) before `go build`; the embed picks up everything under `dist/` automatically.

When `dist/` holds only the `.gitkeep` sentinel (a fresh checkout with no build yet) HasAssets reports false and the serve command prints an explanatory placeholder instead of a blank page.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Assets

func Assets() fs.FS

Assets returns the embed.FS sub-tree rooted at dist, suitable for http.FileServerFS / the webserver's Assets option.

func HasAssets

func HasAssets() bool

HasAssets reports whether the embed contains a real build (an index.html).

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL