ruview-cli-api
यह क्या करती है
यह स्किल दिखाती है कि RuView का कमांड लाइन टूल, उसका वेब API और ब्राउज़र वर्शन कैसे इस्तेमाल करें। यह उन डेवलपर के लिए है जो इसे स्क्रिप्ट में चलाना या दूसरे सॉफ़्टवेयर से जोड़ना चाहते हैं।
कब इस्तेमाल करें
- ✓जब आप स्क्रिप्ट या टर्मिनल से RuView कमांड चलाना चाहते हैं।
- ✓जब कोई दूसरा प्रोग्राम HTTP पर RuView डेटा पढ़ना चाहता है।
- ✓जब आप RuView को वेब ब्राउज़र के अंदर चलाना चाहते हैं।
Skill का लिंक
https://github.com/ruvnet/RuView/blob/main/plugins/ruview/skills/ruview-cli-api/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मेरे ऐप से RuView API कैसे कॉल करूँ, ताकि मैं नवीनतम सेंसिंग नतीजे पढ़ सकूँ, यह दिखाइए।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
स्किल कमांड लाइन के सबकमांड और उनके विकल्प सूचीबद्ध करती है, फिर दिखाती है कि API सेवा कैसे शुरू करें और ब्राउज़र बिल्ड कहाँ फ़िट होता है। हर विकल्प के साथ छोटा विवरण और एक उदाहरण कमांड है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
RuView CLI, API & WASM
The programmatic surfaces of RuView — the wifi-densepose binary, the HTTP API, and the WebAssembly builds.
1. The wifi-densepose CLI binary (wifi-densepose-cli)
cd v2
cargo run -p wifi-densepose-cli -- --help # or: cargo build -p wifi-densepose-cli --release → target/release/wifi-densepose
cargo run -p wifi-densepose-cli -- version
Top-level subcommands: version, and mat (Mass Casualty Assessment Tool).
wifi-densepose mat … — disaster survivor detection
| Subcommand | Purpose | Key flags |
|---|---|---|
mat scan [zone] |
Start scanning for survivors | --disaster-type <…>, --sensitivity 0.0–1.0, --max-depth <m>, --continuous, --interval <ms>, --simulate |
mat status |
Current scan status | --detailed, --format <…>, --watch |
mat zones … |
Manage scan zones | zones list [--active-only], plus add/remove/update |
mat survivors |
List detected survivors with triage status | |
mat alerts |
View / manage alerts | |
mat export |
Export scan data | JSON or CSV |
Example:
cargo run -p wifi-densepose-cli -- mat scan rubble-A --disaster-type earthquake --sensitivity 0.7 --max-depth 5 --continuous --interval 2000
cargo run -p wifi-densepose-cli -- mat survivors --format json
cargo run -p wifi-densepose-cli -- mat export --format csv > survivors.csv
Use --simulate for testing without hardware. Background and user guide: docs/wifi-mat-user-guide.md, wifi-densepose-mat crate.
2. REST API (wifi-densepose-api, Axum)
Library crate (v2/crates/wifi-densepose-api/src/lib.rs) — the Axum router/handlers; configured via the wifi-densepose-config crate. It's wired into the server binaries (e.g. the sensing server / Docker image), not a standalone cargo run target by itself.
# Easiest way to exercise it: the Docker image exposes the API + dashboard on :3000
docker run -p 3000:3000 ruvnet/wifi-densepose:latest
# Then hit the HTTP endpoints (see the API module / docs for routes) and open http://localhost:3000
# v1 Python service config reference: example.env, pyproject.toml (archive/v1/)
When embedding the API crate in your own binary, take the router from wifi_densepose_api, supply config via wifi-densepose-config, and serve with Axum/Tokio. Keep input validation at the boundary (project rule).
3. WASM / browser & ESP32-WASM3
wifi-densepose-wasm— compiles the stack towasm32-unknown-unknownwith a JS-friendly API:
Seecd v2/crates/wifi-densepose-wasm wasm-pack build --target web --features mat # recommended (produces pkg/) cargo build --target wasm32-unknown-unknown --features mat # plain cargo buildv2/crates/wifi-densepose-wasm/README.mdfor the exported surface.wifi-densepose-wasm-edge— 60 edge modules (609 tests) that compile towasm32-unknown-unknownand run on ESP32-S3 via WASM3; shared utils insrc/vendor_common.rs. These are the ADR-041 edge-intelligence modules in WASM form.- Browser demos: pose-fusion (ADR-059), point-cloud (ADR-094) — deployed via GitHub Pages from the WASM build.
4. Where it fits
| You want to… | Use |
|---|---|
| Script a survivor scan / export results | wifi-densepose mat … |
| Expose sensing over HTTP | wifi-densepose-api (via a server binary / Docker) |
| Run sensing in a browser | wifi-densepose-wasm → wasm-pack build --target web |
| Run an edge module on an ESP32 in WASM | wifi-densepose-wasm-edge + WASM3 |
| A long-running CSI sink + training | wifi-densepose-sensing-server (see ruview-applications / ruview-model-training) |
Reference
- Crates:
wifi-densepose-cli,wifi-densepose-api,wifi-densepose-config,wifi-densepose-wasm,wifi-densepose-wasm-edge,wifi-densepose-mat - ADRs: 041 (edge modules), 059 (live ESP32 pipeline), 094 (point-cloud GitHub Pages)
docs/wifi-mat-user-guide.md,docs/edge-modules/,docs/security-audit-wasm-edge-vendor.md- Validate after changes:
cd v2 && cargo test -p wifi-densepose-cli -p wifi-densepose-api -p wifi-densepose-wasm --no-default-features
अक्सर पूछे जाने वाले सवाल
mat कमांड क्या है?
यह कमांड लाइन का Mass Casualty Assessment हिस्सा है, जो स्कैन शुरू करता है, ज़ोन सूचीबद्ध करता है और डेटा एक्सपोर्ट करता है।
क्या इसके लिए Rust इंस्टॉल चाहिए?
उदाहरण कमांड लाइन को cargo के ज़रिए चलाते हैं, इसलिए उन के लिए Rust टूलिंग चाहिए।
क्या मैं स्कैन डेटा एक्सपोर्ट कर सकता हूँ?
हाँ। स्किल एक export सबकमांड दिखाती है जो JSON या CSV देता है।
जानकारी
लेखक का मूल विवरण
Use the RuView `wifi-densepose` CLI binary (incl. MAT scan/status/zones/survivors/alerts/export subcommands), the REST API (`wifi-densepose-api`, Axum), and the browser/WASM build (`wifi-densepose-wasm`, `wifi-densepose-wasm-edge`). Use when integrating RuView into another program, scripting it from the shell, exposing it over HTTP, or shipping it to the browser / ESP32-WASM3.
repo: ruvnet/RuView
लोकप्रियता
- GitHub स्टार
- 102k
- रैंकिंग में स्थान
- #855
- लाइसेंस
- MIT
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
AgentDB Advanced Features
102kयह आपके एजेंट को AgentDB के उन्नत फ़ीचर दिखाती है, जैसे कई मशीनों के बीच डेटाबेस सिंक करना और मेटाडेटा फ़िल्टर के साथ वेक्टर सर्च।
AgentDB Learning Plugins
102kयह आपके एजेंट को AgentDB के लिए लर्निंग प्लगइन बनाने और ट्रेन करने देती है, जो पिछले अनुभव से सुधरने वाले रीइनफ़ोर्समेंट लर्निंग तरीकों पर चलते हैं।
AgentDB Memory Patterns
102kयह आपके एजेंट को AgentDB को स्थायी मेमोरी स्टोर बनाकर सत्रों के पार बातचीत और संदर्भ याद रखने देती है।
AgentDB Performance Optimization
102kयह आपके एजेंट को AgentDB सर्च तेज़ करने और मेमोरी उपयोग घटाने का तरीका दिखाती है, कंप्रेशन, तेज़ सर्च इंडेक्स और कैशिंग से।
मिलती-जुलती skills
api-connector-builder
280kयह आपके एजेंट को मौजूदा pattern के हिसाब से नए API connections बनाने देता है। जब बिना कोई नया तरीका बनाए एक और integration जोड़ना हो, तब इसका इस्तेमाल करें।
api-design
280kयह आपके एजेंट को best practices के हिसाब से REST APIs डिज़ाइन करने में मदद करता है। यह तय करने में काम आता है कि APIs आपस में कैसे बात करें, errors कैसे दिखें, और data को कैसे व्यवस्थित करें।
backend-patterns
280kआपके एजेंट को server-side architecture patterns और database optimization में मदद करता है। server पर चलने वाला code बनाने या review करने के लिए उपयोगी है।