swarmy
Version, currently 0.1.34 versions
- 0.1.3latestJul 24, 2026
- 0.1.2not indexedJul 24, 2026
- 0.1.1not indexedJul 24, 2026
- 0.1.0not indexedJul 24, 2026
github.com/alexcastrodev/swarmy
A terminal UI to manage Docker Swarm services and containers.
Installation
# Add this to your shard.yml
dependencies:
swarmy:
github: alexcastrodev/swarmy
version: ~> 0.1.3Then run:
shards installshard.yml
- Crystal
>= 1.20.2- License
- MIT
- Author
- Alexandro Castro
- Target
swarmyfrom src/swarmy.cr
Dependencies
Development Dependencies
- ameba*github: crystal-ameba/amebadev
README

swarmy is a command-line tool (Terminal UI) that allows you to manage Docker swarm services and containers easily.

Installation
Homebrew
brew install alexcastrodev/swarmy/swarmy
Script
curl -sSL https://raw.githubusercontent.com/alexcastrodev/swarmy/main/install.sh | bash
Usage
swarmy
- Show all service
- You see the services with their name, replicas, image, and ports.
- You can enter the service name to see more details about it.
- You can see why a service is not running in details.
- You can also filter the services by name using the
--filteroption.
Remote servers
swarmy can manage a Docker Swarm running on a remote machine over SSH,
without needing any SSH client of its own — it just points the docker CLI
at ssh://user@host and lets your system's SSH handle the connection.
One-off usage
swarmy --host 10.0.0.5 --user deploy
swarmy --host staging.example.com --user root --port 2222
Saved servers
List named servers in ~/.config/swarmy/servers.yml:
servers:
- name: prod-eu
host: 10.0.0.5
user: deploy
- name: staging
host: staging.example.com
user: root
port: 2222
Then either pick one from the welcome screen's "Select server" menu, or jump straight to it:
swarmy --server prod-eu
List your saved servers at any time:
swarmy servers
Or save a one-off --host connection as a named server instead of editing
the YAML by hand:
swarmy --host 10.0.0.5 --user deploy --save prod-eu
swarmy --host 10.0.0.5 --save # name defaults to the host
Authentication
- SSH key: load it into your
ssh-agentbefore running swarmy (ssh-add ~/.ssh/id_ed25519) — any key in the agent is used automatically. - Password auth is not supported. Docker's
ssh://transport streams its protocol over stdin/stdout from the first packet, so there is no channel left for an interactive password prompt — this is a limitation of the Docker CLI itself, not swarmy. Set up key-based auth on the remote host instead (e.g.ssh-copy-id user@host).
Update
Reinstall the latest version by re-running the install script:
swarmy update
Release
$ make install
Debug
$ make run
API docs
Generate browsable API docs (RubyDoc-style) from the source comments:
$ make docs
This writes static HTML to docs/ (gitignored) — open docs/index.html.
Technologies
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This release
- Version
0.1.3- Tagged
- Jul 24, 2026
- Commit
1ebbcc9843c8- Crystal
>= 1.20.2- Indexed
- yes
Dependents
No indexed shard depends on this one yet.
Repository
github.com/alexcastrodev/swarmy
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 16, 2026
- Synced
- Aug 15, 2026
- Versions
- 4