A small command-line tool for remote computer wakeup, management, and shutdown.
起きろ (Japanese for "wake up") provides simple commands to wake machines via Wake-on-LAN, check reachability, open remote web interfaces, SSH into hosts, and perform remote shutdowns — all driven from a small, configurable command-line client.
- Wake machines with Wake-on-LAN (WOL).
- Check host reachability (ping).
- Open remote web dashboards in the default browser.
- Start SSH sessions to configured hosts.
- Request remote shutdown/poweroff.
- Query host status (last-seen, online/offline).
- Configurable hosts and settings via a user config file.
Build from source (requires Rust/Cargo):
cargo build --releaseOptional: create a system package or install via your distro's packaging tooling.
okiro reads a config file for named hosts (MAC, IP/hostname, optional SSH user/port). Default config path:
- ~/.config/okiro.toml
Example okiro.toml:
[[hosts]]
name = "laptop"
mac = "aa:bb:cc:dd:ee:ff"
host = "laptop.example.local"
ssh_user = "mike"
ssh_port = 22Run okiro --help for full details. Example:
$ okiro --help
okiro - remote computer wakeup / management / shutdown tool
Usage: okiro [COMMAND]
Commands:
wake Send Wake-on-LAN to a configured host
ping Ping a host to check reachability
ssh Open an SSH session to a configured host
browse Open a host's web dashboard in the browser
poweroff Request shutdown of a host (via SSH or API)
status Show status for configured hosts
help Print this message or the help of the given subcommand(s)
Options:
-h, --help Print help
-V, --version Print versionExamples:
-
Wake a host named "laptop":
okiro wake laptop
-
SSH into a host:
okiro ssh laptop
-
Open the host (web dashboard or file share):
okiro browse server
-
Ping a host to check if it's online:
okiro ping server
-
Power off a host (uses configured SSH if available):
okiro poweroff desktop
-
Show interactive status for all configured hosts:
okiro status
Contributions welcome. Open issues or PRs for bug fixes, new features, or improvements to host configuration handling.
MIT License. See LICENSE file for details.