sysutil

command module
v0.0.0-...-58c47f4 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2025 License: GPL-3.0 Imports: 1 Imported by: 0

README

Sysutil

I have been trying to learn Go, writing various small CLI tools.

Usage of deviceapi command

The following endpoints are provided:

GET /network → Returns the JSON output from GetNetworkDevices. GET /battery → Returns the JSON output from GetBatteryStatus. GET /audio/outputs → Returns the JSON output from GetVolumeInfo. GET /audio/inputs → Returns the JSON output from GetInputInfo. POST /audio/actions → Accepts JSON input for ProcessAudioActions and returns a status.

POST example:
curl -X POST -d '[{"device":"alsa_output.usb-Plantronics_Plantronics_Blackwire_5220_Series_02FCAAAB685740D3A43CCE7C8DF13E03-00.analog-stereo","adjust":50,"muted":false,"default":true,"type":"sink"}]' 127.0.0.1:8090/audio/actions

Wofissh Usage

wofissh --terminal "kitty env TERM=xterm-256color ssh"

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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