Repository navigation
Releases
SpaceStateCLI 0.4.0
SpaceStateCLI 0.4.0 follows SpacePush's change stream.
spacestate watch --pushchecks as soon as SpacePush reports a change, with a 15-minute fallback interval.spacestate notifyshows confirmed changes as desktop notifications throughnotify-send. A systemd user unit is incontrib/.- Uses SpaceStateKit 0.4.1, which fixes a crash on Linux when a URL session was released. That crash could also end long-running commands with earlier versions.
These commands need SpacePush 2.2.0 or later with the stream listener enabled.
The source passed macOS and Linux CI. Both commands ran 40 seconds against production SpacePush without a crash, but a notification from notify and a check woken by watch --push have not been seen against a real event. The same stream code delivered a production test event in spacestate-desktop.
SpaceStateCLI 0.3.0
See how to get into a space and how to reach it.
$ spacestate info leinelab
LeineLab ● open for 1 min
Website https://leinelab.org
Address Hüttenstraße 22B, 30165 Hannover, Germany (DE)
Access If sign is red, space is locked. …
Contact Email anfragen@leinelab.org
Mastodon @leinelab@chaos.social
Feeds Calendar https://leinelab.org/…/dokuwiki-56d0397423f22.ics
Projects https://github.com/LeineLab
Endpoint https://leinelab.org/api/spaceapi.json
- New
infocommand: website, address with country, access hint, contacts, keymasters, feeds, links, projects and linked spaces. Only what the space publishes is shown.info --jsonhas all details. - Uses SpaceStateKit 0.2.0.
Breaking: the JSON output is simpler. show --json and search --json print an array; watch --json keeps one object per line. schemaVersion, network, fetchedAt and observedAt are gone; lastChange is now since, checkedAt tells when the state was fetched, and error alone marks an unreachable space. See CHANGELOG.md and the README.
The attached Linux executable is dynamically linked and requires a matching Swift 6.2 runtime/toolchain and its system dependencies on Ubuntu 24.04. Installation notes and MIT license are included; SHA256SUMS verifies the archive. Static binaries, ARM64 and fresh-system packaging remain follow-up work.
Verified CI: https://github.com/kerker00/SpaceStateCLI/actions/runs/38160827077
SpaceStateCLI 0.2.0
A command line for people: ask by name whether a space is open, save your spaces, and follow them.
spacestate mainframe # Mainframe ● open for 36 min Open!
spacestate add mainframe # then just: spacestate
spacestate watch -i 5m # current state, then a timed line on every change
spacestate -q mainframe && echo open- Spaces are given by name or endpoint URL. Ambiguous names list the candidates instead of guessing.
- Optional saved spaces in
~/.config/spacestate/spaces, managed withaddandremove. searchlists open spaces first;--openfilters.--json,--waybarand-q(answers through the exit code) for scripts and status bars.- Per-command help and shell completion for zsh, bash and fish.
Breaking: the 0.1.0 commands and options (status --space, --format) are gone, and invalid arguments exit with 64 instead of 2. JSON contract version 1 is unchanged. See CHANGELOG.md.
The attached Linux executable is dynamically linked and requires a matching Swift 6.2 runtime/toolchain and its system dependencies on Ubuntu 24.04. Installation notes and MIT license are included; SHA256SUMS verifies the archive. Static binaries, ARM64 and fresh-system packaging remain follow-up work.
Verified CI: https://github.com/kerker00/SpaceStateCLI/actions/runs/38146460808
SpaceStateCLI 0.1.0
First usable CLI release, built on SpaceStateKit 0.1.0.
search,status, and pollingwatchcommands.- Text, versioned JSON, NDJSON, and Waybar JSON output.
- Explicit network-error snapshots, separate diagnostics, documented exit codes.
- Linux Ubuntu 24.04 x86_64 and macOS Swift 6.2 CI: unit tests, release builds, and real HTTP command tests.
The attached Linux executable is dynamically linked and requires a matching Swift 6.2 runtime/toolchain and its system dependencies on Ubuntu 24.04. Installation notes and MIT license are included; SHA256SUMS verifies the archive. It is an initial development release, not a standalone runtime bundle. Static binaries, ARM64, fresh-system packaging and desktop notifications remain follow-up work.
See the repository README for commands, the JSON contract, and Waybar configuration.
Verified CI: https://github.com/kerker00/SpaceStateCLI/actions/runs/38083614092