https://github.com/leoborai/wait-on
Utility to wait on the availability of resources such as Files, HTTP Servers, Ports & Sockets
https://github.com/leoborai/wait-on
file http socket wait wait-for-it wait-on watcher
Last synced: 12 days ago
JSON representation
Utility to wait on the availability of resources such as Files, HTTP Servers, Ports & Sockets
- Host: GitHub
- URL: https://github.com/leoborai/wait-on
- Owner: LeoBorai
- License: apache-2.0
- Created: 2024-04-04T01:16:15.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-17T00:51:25.000Z (4 months ago)
- Last Synced: 2025-04-14T07:09:12.536Z (13 days ago)
- Topics: file, http, socket, wait, wait-for-it, wait-on, watcher
- Language: Rust
- Homepage: https://crates.io/crates/wait-on
- Size: 92.8 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE-APACHE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
wait-on
Library and CLI Utility to wait on the availability of resources such as Files, HTTP Servers, Ports & Sockets
[](https://crates.io/crates/wait-on)
[](https://docs.rs/wait-on)


## Installation
```bash
cargo install wait-on
```## Usage
### Wait for a file to exist or exit with code 1 if 10m elapses waiting
```bash
wait-on -t 10m file /path/to/file
```### Wait for a HTTP Resource to respond
```bash
wait-on http GET https://example.com
```### Wait for a Socket to be available using TCP Protocol
```bash
wait-on tcp -i 127.0.0.1 -p 8080
```## License
This project is licensed under the MIT license and the Apache License 2.0.