3 releases
0.0.3 | Jul 4, 2023 |
---|---|
0.0.2 | Jun 30, 2023 |
0.0.1 | Jun 29, 2023 |
#645 in HTTP server
34KB
681 lines
sysinfo-http
sysinfo-http
used to get a system's information through http.
Supported OSes
It currently supports the following OSes (alphabetically sorted):
- Linux
- Raspberry Pi
- Rockchip-BSP
- Windows
You can still run a sysinfo-http
server on non-supported OSes, it'll simply do nothing and always return
empty values. You can check in your browser directly if an OS is supported by run the server then:
curl -X GET '127.0.0.1:8000/support'
The minimum-supported version of rustc
is 1.59.
Usage
cargo install sysinfo-http
sysinfo-http --help
API
See API.md
Build
git clone https://github.com/rainbowflesh/sysinfo-http.git
cd sysinfo-info
cargo build
Run in develop
cargo run -- --help
Test
cargo test
# or use nextest
cargo nextest run --no-capture
Contribute
WIP
Dependencies
~30–44MB
~811K SLoC