7c286a0dc00b21fc50eb00424813757fe0d9d672
uberspace-cli (experimental)
This is a Go CLI scaffold intended to work against the Uberspace dashboard by replaying the same HTTP calls your browser makes. It does not include hardcoded endpoints because there is no public API.
Quick start
- Copy
uberspace-cli.example.yamlto your config path. - Update the endpoint paths, headers, and bodies to match real dashboard requests.
- Run
go build ./cmd/uberspace-cli. - Use
./uberspace-cli loginto save a session, thencreate-asteroidoradd-ssh-key.
Capture requests
Use your browser devtools network tab on the Uberspace dashboard.
- Log in and create an asteroid in the UI.
- Find the request in the network list.
- Copy method, path, required headers, and payload into the config.
- If there is a CSRF cookie or header, configure
csrfinlogin.
Example commands
./uberspace-cli login --email you@example.com --password '...'
./uberspace-cli create-asteroid --name my-asteroid
./uberspace-cli add-ssh-key --name laptop --public-key-file ~/.ssh/id_ed25519.pub
Notes
This is unofficial and may break if the dashboard changes.
Description
Languages
Rust
40.4%
Shell
32.5%
Go
20.2%
Perl
6.9%