Mesh Throughput & Signal
Per-Node Signal (dBm)
Power / Battery
Live on the Mesh · products & services · tap to pay
Sold · settled mesh sales
FunctionGemma Voice · offline UI
whisper.wasm beside index.html for full-offline transcription. UI honestly reports whichever path ran.
FunctionGemma · robot chat
FunctionGemma Vision · edge CV
edgeCVFrame() — UVC frame + mean RGB & luminance, local. Slot ready for a quantised classifier (Transformers.js / MobileNet); opens FunctionGemma alongside for action.
Tactical Overview
System Feed
Discovered Nodes
Node Telemetry
| Node | Signal | SNR | Battery | Hops | Last seen |
|---|
Mesh Topology
How it works · how to use
mesh feature- Each node beacons position, battery and signal over LoRa
- BLACKBOX renders live topology + per-node signal bars (dBm + SNR)
- Messages relay node-to-node — coverage scales with node count, not infrastructure
# pair a Meshtastic device 1. Sensors & Devices → Web Serial → pick the radio 2. it surfaces as a node on Mission Control 3. open Mesh Chat · /scan to ping
How it works · how to use
map feature- Plots GPS-fixed objects with TAK / Cursor-on-Target style icons
- Online → OSM raster tiles · offline → inline SVG vector grid auto-fallback
- Marketplace listings, mesh peers and signal sources all pin on the same canvas
# add an object Tactical Map → + Object → alignment + coords # offline fallback is automatic — tiles fail → vector grid
Assistant
Quick Prompts
Context cached for offline replies.
How it works · how to use
ai feature- Prompt tokenized locally and routed to the cached model
- Recent mesh / sensor telemetry appended as context
- Response renders in the chat — nothing crosses the network
# talk to it AI Assistant → type → Enter # or call by slash in Mesh Chat /ask "summarise last hour of mesh activity"
How it works · how to use
chat feature- Type a normal message to broadcast across the mesh
- Or use slash commands to query nodes, AI, wallet, weather, sensors
- Replies render inline; AI answers stay on-device
/help show every command /nodes list mesh nodes (signal & battery) /summary AI summary of recent activity /battery per-node battery state /weather current local weather /wallet balances & last activity /scan ping all reachable nodes /clear clear chat
agent.md): edge inference, robot control & state, the ROS2 bridge for physical robots, embodiment/calibration, tactile, and safety/E-stop — all of which run on your own device or LAN with no Render auth. This panel runs a local intent parser as a live demo; the real 270M model ships in the functiongemma-integration repo.Voice / Text Command → Function Call
Parsed Function
// awaiting command…
Example Commands
Function Schema · offline-capable · NWO Robotics endpoints that run on-device / LAN
On-Device Benchmarks (tok/s)
| Device | CPU prefill | CPU decode | GPU prefill | GPU decode |
|---|
Offline Dispatch Targets
How it works · how to use
gemma feature- Speak or type in plain English on the BLACKBOX terminal
- 270M FunctionGemma model parses intent into a typed function call
- Call dispatches over MQTT / ROS2 / LiteRT C++ to your robot fleet
{ "name": "robot_command",
"arguments": {
"robot_id": "go2_001",
"instruction": "move forward",
"distance_m": 2 } }
Create Pairing Offer
Generate a local peer offer, share the code with a nearby device, paste their answer back. No signalling server involved.
Pairing Code Visual
Visual fingerprint of the pairing code · copy the text code for actual pairing.
Peer Link
Nearby Radar · in-range peers · tap an icon to talk or send files
Hold to talk. Audio records, then hops to the paired peer over the data channel — expect a few seconds of delay off-grid.
Text, PDF, DOC, images or audio — chunked over the channel, no server.
Transport Capabilities
| Transport | Platform | Range | Internet? | In this web app |
|---|---|---|---|---|
| WebRTC DataChannel | iOS / Android / Desktop | LAN / hotspot | local net | live |
| File transfer (text/PDF/DOC/img/audio) | iOS / Android / Desktop | via paired link | none | live |
| Voice walkie-talkie | iOS / Android / Desktop | via paired link | none | live (delayed) |
| Web Bluetooth | Android / Desktop Chrome | ~10 m | none | native app |
| WiFi-Direct | Android | ~100 m | none | native app |
| Meshtastic / LoRa | USB / BLE radio | 2–10 km | none | native + radio |
| Multipeer (Apple) | iOS | ~60 m | none | native app |
How it works · how to use
d2d feature- Initiator creates an offer; SDP is shown as text + QR for the peer
- Peer pastes / scans the SDP, returns the answer back to the initiator
- Direct WebRTC data channel opens — messages, signed claims, payments hop peer-to-peer
# pair two devices in the same room D2D Mesh → Create offer → show QR / paste SDP peer scans → pastes answer → channel open # native build adds BLE · WiFi-Direct · Multipeer
Create Offline Claim
Queued Claims
| Campaign | Amount | To | Status |
|---|
Offline → Mesh → Chain Flow
How it works · how to use
airdrop feature- Tap Claim — MetaMask signs an EIP-712 typed claim, no network needed
- Claim is stored under
nwo_blackbox_queuewith timestamp - Broadcast over Mesh Chat as
AIRDROP/CLAIM— relays carry it - Any node that comes online posts the queue to the settlement contract
Offline Airdrop → Claim → MetaMask signs # queued automatically — no further action needed reconnect → auto-settles on-chain
Send Value · to anyone on the mesh — in range or relayed
Active Users Nearby · mesh peers in range
Wallet Activity
Mesh Transactions · sent & received · path from mesh to on-chain
Tokens & addresses
| Asset | Network | Contract | Status |
|---|---|---|---|
| NWO STATE | Ethereum mainnet | 0x00C2999c8B2AdF4ABC835cc63209533973718eB1 | configured |
| ETH | Ethereum / Base | native | via MetaMask |
| BTC | Bitcoin mainnet | native | on-chain |
| sats | Cashu / Lightning | ecash mint | off-grid ready |
How it works · how to use
wallet feature- Pick the token tab (STATE · ETH · BTC · sats), enter recipient + amount
- Choose a route: on-chain, P2P (mesh / D2D), or auto
- Auto broadcasts when online — otherwise queues offline and rides the mesh until any node has a link, then settles
# payment URIs the wallet generates BIP-21: bitcoin:bc1q…?amount=0.001 EIP-681: ethereum:0xRECV@1?value=<wei> EIP-681: ethereum:0x00C2…eB1@1/transfer? address=0xRECV&uint256=<wei> # STATE Lightning:lightning:ln…?amount=5000
Connection
RAG documents · local
Upload text / markdown — answers are grounded in the closest passages, all matched on-device.
Conversation
Mobile Model Library · phone-friendly local LLMs · official HuggingFace sources
Pick a model sized to your phone's RAM, open its official HuggingFace page to download the GGUF, then run it with Ollama or llama.cpp and point the endpoint above at it. Everything stays on-device — no API keys, nothing uploaded. Online once to fetch the model; fully offline after.
How it works · how to use
aichat feature- The chat talks to a local Ollama server on your machine — prompts never leave the device
- Uploaded documents are split into passages; your question is matched against them on-device and the best passages are passed as context (RAG)
- The model answers grounded in your own knowledge, fully offline
# install — see ollama.com/download ollama serve # starts the local server ollama pull llama3.2 # grab a model # then set the endpoint above and click Reconnect
Notes
Calculator · standard · scientific · programmer · converters
Operation
kiwix-serve and points you to the archives to download once.Recommended offline archives · download once, carry forever
How it works · how to use
library feature- Download a .zim archive (a whole Wikipedia, medical library, survival guide) from library.kiwix.org
- Run kiwix-serve locally to serve it over HTTP
- BLACKBOX embeds that local server inline — searchable, browsable, with zero internet
# get kiwix-tools for your OS, then: kiwix-serve --port=8080 wikipedia.zim # then set the URL above and click Connect
Documentation & exports · grab the docs as files
Everything below is generated on-device from the running app — no server, fully offline.
Universal package · nwo-blackbox.html
Android
- Open this page in Chrome
- Menu → Add to Home screen
- Launches fullscreen, offline
# optional native wrap (Bubblewrap) npx @bubblewrap/cli init --manifest \ https://<your-space>/manifest.json
iOS / iPadOS
- Open in Safari
- Share → Add to Home Screen
- Runs standalone, cached offline
# native shell (optional) Capacitor → wrap static/index.html npx cap add ios
Windows
- Save nwo-blackbox.html
- Double-click to run in any browser
- Or Edge → Install as app
# run as local server (optional) python -m http.server 8080
macOS
- Save the standalone file
- Open with Safari/Chrome
- Chrome → Install for dock app
python3 -m http.server 8080 open http://localhost:8080
Linux
- Save file, open in browser
- Or host on the LAN for the mesh
python3 -m http.server 8080 --directory . # systemd unit for kiosk node ExecStart=/usr/bin/python3 -m http.server 80
Raspberry Pi / Jetson
- Self-hosting off-grid command post
- Pairs with LoRa hat + llama.cpp
- FunctionGemma LiteRT for robots
# kiosk + offline server sudo apt install chromium-browser python3 -m http.server 80 & chromium-browser --kiosk http://localhost # robotics edge runtime cmake .. -DUSE_GPU=ON && make -j4
What "offline" really means here
| Capability | Needs internet? | Notes |
|---|---|---|
| App shell & UI | no | Single file, cached on first load |
| Charts & metrics | no | Pure inline SVG, zero libraries |
| Local AI / FunctionGemma | no | On-device model in native build |
| Mesh chat / telemetry | no | LoRa radio, not cellular/WiFi |
| Offline airdrop signing | no | Sign + queue locally, broadcast later |
| Map base tiles | first load | Cache tiles, or fallback grid map renders offline |
| On-chain broadcast | on settle | Any one node with connectivity relays the queue |
System Architecture
BLACKBOX is a self-contained command node. The browser app is the cockpit; underneath it, four independent subsystems run locally — mesh radio, on-device AI, Web3 keys, and the robotics function layer. None require a central server. The optional internet link is only used to settle queued transactions and refresh map tiles.
Dashed = intermittent / optional connectivity. Solid = always-available local path. Every settlement leaving Web3 Keys for a chain first passes the Quantum-Secure gate (§ below), and third-party ERC-20 issuers attach via the StateMesh overlay. Each numbered feature below has its own flowchart.
Feature index
Operations: 1 Mesh Network · 2 Local AI Assistant · 2b Local AI Chat & Model Library · 3 FunctionGemma Robotics · 4 Device-to-Device Mesh · 4b D2D File & Voice + Radar · 5 Tactical Map · 5b Mesh Chat. Value: 6 Web3 Wallet · 6b Mesh Payment Hub · 6c Quantum-Secure Settlement · 7 Offline Airdrop / NWO UBI · 8 BlackBox Market · 9 StateMesh hub. Survival & Field: 10 Survival Manual · 11 Repair & Knowledge · 12 Sensors & Devices · 12b Universal Remote · 12c RFID / NFC · 13 Boot / Recovery · 19 Health Diagnostics. Tools & Library: 14 Field Notes · 15 Data Tools · 15b Calculator · 16 Knowledge Library · 18 Transmissions (radio · weather · cached data). System: 17 NWO R&D · 20 Edge Upgrades. Mission Control also carries 1b local field controls (lamp/SOS · camera · alarm). An Instruction Manual page gives step-by-step how-to for every feature.
1 · Mesh Network
Meshtastic over LoRa gives multi-kilometre, license-free, battery-sippy links with no cell tower or WiFi. Each node relays for the others, so coverage grows as you add radios. BLACKBOX reads telemetry (signal, SNR, battery, hop count) and renders the topology live.
// node telemetry shape consumed by the dashboard
{ id:"n1", name:"Alpha-1", lat:58.13, lng:8.00,
signal:-45, snr:9.5, battery:85, hops:1,
status:"online", lastSeen:"12s" }
2 · Local AI Assistant
A quantized LLM (llama.cpp, or FunctionGemma for tool-calling) runs on the device. It answers tactical questions from cached telemetry, so it keeps working with the antenna unplugged. Prompts never leave the node.
2b · Local AI Chat & Model Library
A conversational assistant that talks to a local Ollama server (default localhost:11434) with on-device RAG over uploaded documents — no API keys, nothing leaves the device. The Model Library lists 13 phone-sized models (Qwen 3, Gemma 3, Llama 3.2/3.1, Phi-3/4, SmolLM2, Mistral) with official HuggingFace links; a robot-mind agent skips the library and registers its own model as the endpoint.
Solid = on-device, offline. Dashed = one-time model download (online); inference afterwards is fully offline.
3 · FunctionGemma · Robotics
Natural-language commands are parsed on-device into typed function calls against the offline-capable subset of the NWO Robotics API (drawn from the agent skill file): edge inference, robot control & state, the ROS2 bridge for physical robots, embodiment/calibration, tactile, and safety/E-stop — every call here runs on the operator's own device or LAN with no cloud and no Render auth. Cloud-only endpoints (billing, on-chain tier upgrades, dataset hub, GPU fine-tune, discovery registry) are excluded by design. Output routes to robots through a self-hosted API, the ROS2 bridge, a local MQTT broker, or the LiteRT C++ runtime on a Jetson/Pi. Safety-critical calls require confirmation.
// parsed intent → offline NWO Robotics endpoint
{ "name":"robot_command",
"endpoint":"POST /api-robotics?action=execute",
"offline":true,
"arguments":{ "robot_id":"go2_001",
"instruction":"move forward", "distance_m":2 } }
Repo: github.com/RedCiprianPater/functiongemma-integration · benchmarks reach ~3200 tok/s GPU prefill on iPhone 15 Pro.
4 · Device-to-Device Mesh
Phones extend the mesh without infrastructure. The web app pairs two devices over WebRTC on a shared hotspot; the native build adds BLE, WiFi-Direct, and Apple Multipeer so messages and signed airdrops hop phone-to-phone even with all radios down.
4b · D2D File Transfer, Walkie-Talkie & Radar
Over the paired channel an agent can send files (text/PDF/DOC/image/audio, chunked at 16 KB with backpressure, 40 MB cap) and use push-to-talk voice (record → channel → auto-play, with the few-seconds delay this implies off-grid). A thin-line radar plots in-range peers at approximate distance; tapping a blip focuses the talk/file controls.
5 · Tactical Map (TAK / CoT)
Cursor-on-Target objects (friendly / neutral / hostile) plotted on Leaflet over OpenStreetMap. Tiles cache for offline use; if tiles are unavailable a vector grid map renders instead, so positions are never lost.
// CoT object — shareable across the mesh
{ type:"friendly", lat:58.131, lng:8.004,
label:"Team Alpha", how:"m-g", time:"2026-..." }
5b · Mesh Chat
Text relayed hop-by-hop over LoRa, encrypted and internet-free. Slash commands run in-chat and reply inline as SYSTEM messages — /help /summary /nodes /battery /weather /wallet /scan /clear (case-insensitive). Address the local AI with @bot. All inbound mesh text is treated as data, not commands (prompt-injection defence).
6 · Web3 Wallet
MetaMask handles Base/Ethereum signatures; Cashu/Lightning carries sats for instant off-grid payments. The wallet reads real on-chain balances (ETH via eth_getBalance, STATE via ERC-20 balanceOf on mainnet) and reacts to account/chain changes. Keys never leave the device.
6b · Mesh Payment Hub
Send STATE, ETH or BTC to anyone on the mesh — a paired peer in range or any address relayed until a node finds a link. Shows nearby active users (one-tap Pay), recent recipients (fast repeat), and a persistent ledger; each transfer exposes its path and whether it has reached the chain.
6c · Quantum-Secure Settlement gate
Every mesh→on-chain settlement passes a gate that applies the strongest available scheme and reports which one actually ran — CRYSTALS-Dilithium only if a real PQC library is present, else Ed25519, else ECDSA P-256, else a SHA-256 commitment. For EVM the chain settles via native ECDSA and the post-quantum attestation is detached and anchorable; for BTC the attestation is off-chain only (Bitcoin L1 cannot verify it). If the gate can't run, it falls back to a plain tx and says so.
// settlement envelope produced by the gate
{ asset:"STATE", scheme:"Ed25519", quantumActive:false,
attestation:{ commit:"0x…", sig:"0x…", pq:false },
verification:{ ok:true, mode:"simulated" },
onchainVerifiable:true, anchor:"keccak-anchor:…" }
7 · Offline Airdrop Engine
The differentiator for off-grid value distribution: an operator with no connectivity can still sign a gasless EIP-2612 / EIP-712 claim, store it locally, and let it ride the mesh to whichever node has a link — that node broadcasts it on-chain. This is how $STATE UBI keeps flowing during a blackout.
// signed claim queued for mesh broadcast
{ campaign:"$STATE UBI", amount:1000,
to:"0x…", chainId:8453,
signature:"0x…", status:"queued-offline",
ts:1750000000 }
8 · BlackBox Market
List goods, digital files or services; get paid in BTC, ETH or NWO STATE — online or fully offline. Listings persist locally and broadcast as mesh promos with a geolocation ping plotted on the tactical map; buyers pay by scanning a QR from a nearby device. Fulfilment is pickup / delivery / remote (digital) / pickup-or-delivery.
9 · StateMesh
The configuration hub for the hybrid blockchain×LM mesh (see the StateMesh Whitepaper in NWO R&D). Any Ethereum developer attaches their own ERC-20; transfers route over the mesh under a detached post-quantum attestation and settle on Ethereum. Node operators manage radios and share models; each connected token gets a dashboard with mesh transaction history, the nodes that relayed each transfer, and quick send/receive.
// StateMesh settlement envelope
Σ = ( tx_native , α , ρ )
α = { scheme, c=keccak256(payload), σ_pq, ν_t }
ρ = [ node1, node2, … ] // relay path, merkle-rooted on-chain
10 · Survival Manual
A fully offline field reference embedded as JS constants — 30 topics covering priorities & mindset, survival kit, water, fire, shelter, first aid, signaling, food, edible & poisonous plants, hunting & trapping, fish & fishing, navigation, knots & ropework, hygiene & sanitation, medicine & illness, clothing & warmth, weather, food preservation, power & light, security, morale, terrain-specific survival (polar, desert, tropical, mountain, sea), urban disasters, travel planning, rations and fitness. Searchable with no connectivity, on any device or bootable USB. Source inspiration: SAS Survival Handbook (2009) by John 'Lofty' Wiseman — content here is summarised and reworded.
11 · Repair & Knowledge
Electrical and mechanical troubleshooting plus the vital functions a community must keep running — 7 topics: no power, soldering, mechanical, radio / comms, water systems, power grid, sanitation & medical. An offline assistant, instruction set, and test reference, embedded as JS constants.
12 · Sensors & Devices
Reads every sensor the device exposes — geolocation (with speed/heading/altitude), battery, network, motion/orientation, and on capable phones the Generic Sensor API: gyroscope, accelerometer, magnetometer (with compass heading) and ambient light. Connects peripherals over Web Serial / WebUSB / WebHID / Web Bluetooth, recognizes them via a vendor/class database (Arduino, ESP32, FTDI, PN532, Flipper, ACR122U…), and re-attaches already-authorized devices automatically on load (plug-and-play). Each accepted device registers back on Mission Control.
12b · Universal Remote
A full button panel (power, inputs, numeric, transport, volume/channel, navigation) for TVs and A/V receivers by brand. Browsers have no native IR, so the panel drives a connected IR blaster (USB/serial/BLE — e.g. a Flipper or IRtoy) or a networked TV API; without a blaster it emits the code to the feed so an attached bridge can transmit it.
12c · RFID / NFC
Reads tags via Web NFC (NDEF, on Android Chrome) or a connected USB/serial reader (PN532, ACR122U, Proxmark); shows UID + records, and writes NDEF text/URLs. Protocol selectable (ISO14443-A/MIFARE, ISO15693, NFC-F, EM4100, NDEF).
13 · Boot / Recovery
Carry BLACKBOX on a bootable USB so it survives a dead OS, plus a guided recovery console for machines that will not start. The builder writes Ubuntu + this app to a USB that auto-launches as a Chromium kiosk; envCheck() runs a structured self-check. The terminal shows copy-paste recovery commands (Linux/macOS/Windows) — reference only, not remote execution.
14 · Field Notes
Markdown notes that never leave the device — stored locally with live preview and export-all to USB. Mission logs, observations, coordinates, recipes. Works fully offline.
15 · Data Tools
Encoding, hashing and transforms — 17 operations: Base64 encode/decode, to/from hex, URL encode/decode, ROT13, reverse, UPPERCASE, lowercase, JSON pretty/minify, to binary, SHA-1/256/512, text stats. Every operation runs client-side; nothing is uploaded.
16 · Knowledge Library
Embeds a local kiwix-serve so an agent can browse .zim archives offline: full Wikipedia (with images), Medicine (WikiMed/WikiProjectMed), Wiktionary, iFixit, survival & prepping libraries, Project Gutenberg. A single file cannot bundle terabytes, so BLACKBOX embeds the local server inline and points to the archive downloads.
17 · NWO R&D
An in-app PDF reader hosting the two research papers behind the system: Paper I (the two-path mesh substrate) and Paper II (the StateMesh Whitepaper, published on ResearchGate). The theory ships with the tool.
15b · Calculator
A multi-function calculator inside Data Tools: standard, scientific (trig, log, powers, roots, factorial), and programmer (hex/dec/bin, bitwise) modes, an expression evaluator (mathjs with a safe parser fallback — no eval), a unit converter (length, mass, temperature, data, speed) and a history. All client-side.
18 · Transmissions
A radio receiver and media player, a weather station, and a cached-data board in one view. The tuner drives a connected SDR/receiver (RTL-SDR over Web Serial/USB) across FM, AM, NOAA weather (162.400–162.550 MHz) and emergency/service frequencies (air 121.5, marine 16, GMRS/PMR446); the local player plays audio files fully offline. The weather station fetches a keyless forecast online and caches it for offline, alongside device barometer/light/heading. The cached data sources board (quakes, space weather/Kp, ISS, BTC/ETH) stays readable offline with a last-updated timestamp and refreshes when reconnected.
1b · Mission Control — local field controls
The Local widget carries compact field tools that drive real device hardware. A lamp button toggles the camera torch via the MediaStreamTrack torch capability (falling back to a full-screen white "monitor light" when no torch exists), with an SOS button that flashes it in morse. A camera button opens a modal with live preview, photo capture and local video recording (MediaRecorder → downloadable file, nothing uploaded), selectable across phone or USB cameras. An alarm button beside Locate sounds a WebAudio siren through the speaker. Each is honest about hardware: no torch → screen lamp; no camera → states it.
19 · Health Diagnostics
A categorised health surface in seven tabs. Live Sensors groups metrics by aspect (cardiac, respiratory/oxygen, metabolic, temperature, body/activity, neuro/BCI) and streams from Bluetooth health profiles (heart rate, thermometer, glucose, SpO₂, blood pressure, weight). Clinical Connectivity lists avenues for ECG (incl. nwocardiac.cloud), BCI/EEG, point-of-care labs, microscope/ultrasound/X-ray (DICOM bridge) and therapeutic pumps over Web Serial/USB/BLE. Reference tabs cover a Medicine Index (class, shape, dose, side-effects), Illnesses (symptoms + treatment), Supplements/herbals/vitamins, and Equipment how-to. A field-note-style Supply Inventory tracks medical stock locally with expiry flags and export. All content is informational, with the same medical disclaimer the rest of the app uses.
20 · Edge Upgrades
A single page (view-edge) wires ten upgrades to existing surfaces — each panel runs what the browser can do natively now, and exposes a clearly-labelled hook for an optional library that lives next to index.html: Whisper.cpp WASM for full-offline transcription, Transformers.js + ONNX for semantic-search embeddings, an RTL-SDR demod module for WebUSB radio capture, liboqs-js for CRYSTALS-Dilithium signing, and Automerge/RxDB for true CRDT sync. The Edge page also registers an inline Service Worker (PWA self-launch), copies the single-file app to a peer over D2D, exports/imports last-write-wins sync patches, and seals BLE biometric reads with the WebCrypto gate. Honest by construction — each output reports the scheme that actually ran.
Endpoint Coverage
BLACKBOX is wired to the local subsystems only — there is no hard dependency on nwo.capital. The FunctionGemma layer mirrors 45+ NWO Robotics endpoints, exposed through MQTT/ROS2 so robots respond even when the cloud API is unreachable.
| Subsystem | Transport | Cloud needed? | Source |
|---|---|---|---|
| Mesh telemetry | LoRa serial | no | Meshtastic |
| AI inference | local | no | llama.cpp / FunctionGemma |
| Robot control | MQTT / ROS2 | no | functiongemma-integration |
| Wallet sign | local keys | no | MetaMask |
| Airdrop settle | JSON-RPC | on settle | Base RPC (any node) |
| Quantum gate (attest + verify) | local | no | WebCrypto · Dilithium/Ed25519/ECDSA |
| Live quantum verify | HTTP | optional | external verifier, else simulated |
| Balance reads (ETH/STATE) | JSON-RPC | online | MetaMask · eth_call |
| P2P / mesh payment | WebRTC / LoRa | no | local relay |
| StateMesh registry | JSON-RPC | on settle | attestation registry contract |
| Local AI Chat + RAG | local HTTP | no | Ollama / own LLM |
| Model download | HTTPS | once | HuggingFace (official repos) |
| Survival / Repair KB | local | no | embedded JS |
| Field notes / Data tools | local | no | client-side |
| Knowledge Library | local HTTP | local server | kiwix-serve + .zim |
| Sensors (Generic Sensor API) | local | no | device gyro/accel/magneto/light |
| Peripheral plug-and-play | USB/Serial/HID/BLE | no | auto re-attach authorized |
| Universal remote | IR blaster / network | blaster | USB/serial/BLE IR or TV API |
| RFID / NFC | Web NFC / USB reader | no | NDEF · PN532 · ACR122U |
| Radio tuner | SDR / serial | receiver | RTL-SDR · FM/AM/WX/emerg |
| Local media player | local files | no | browser audio |
| Weather station | HTTP + sensors | online to update | open-meteo, cached offline |
| Cached data sources | HTTP | online to update | USGS/NOAA/price, cached offline |
| Calculator | local | no | mathjs / safe parser |
| Lamp / torch · SOS | local | no | camera torch / screen fallback |
| Camera capture / record | local | no | getUserMedia · MediaRecorder |
| Sound alarm | local | no | WebAudio |
| Health sensors | BLE / USB | no | BLE health profiles, serial |
| Clinical connectivity | Serial/USB/BLE/DICOM | bridge for imaging | ECG·lab·pump·nwocardiac.cloud |
| Health reference + inventory | local | no | embedded JS · localStorage |
| Offline voice (Web Speech) | local | device-dep | full-offline with bundled Whisper.cpp WASM |
| Semantic search | local | no | keyword now · Transformers.js+ONNX hook |
| SDR demodulator (RTL-SDR) | WebUSB | dongle | bundled demod WASM |
| Biometric vault | local + BLE | no | WebCrypto signed envelope |
| PWA self-host / peer copy | local | no | Service Worker · D2D file copy |
| Local-first sync (LWW/CRDT) | local + D2D | no | diff patch JSON · Automerge hook |
| Map tiles | HTTP | first load | OSM (cached) / vector fallback |
Credits — based on Blackbox Node by wadadawadada (offline-first command post). Extended for the NWO ecosystem: φ branding, Web3, FunctionGemma robotics, D2D mesh and the offline airdrop engine.
My Listings
Receive Payment · offline QR
Nearby on Mesh · promo feed + map ping
How it works · how to use
market feature- List item — title, price, currency, fulfilment, optional delivery fee
- BLACKBOX broadcasts it as a mesh promo + drops a geolocation pin on the tactical map
- Buyer taps the listing; your device shows a QR with the EIP-681 / BIP-21 / Lightning URI
- Buyer scans with any wallet → pays in BTC / ETH / STATE → hand over goods
X.listings.push({
title:'satellite uplink hour', kind:'service',
cur:'STATE', amount:'25', fulfil:'remote',
lat: gps.lat, lng: gps.lng,
status:'live', ts: Date.now()
});
saveMarket(); promoListing(0);
How it works · how to use
survival feature- 8 categories shipped inside this file — water, fire, shelter, first aid, navigation, signal, food, knots
- Tap a tile to expand · type in search to filter inline
- Export the whole KB as JSON via Boot/Recovery to put on another USB
# programmatic access window.SURV_KB // array of {id,t,icon,body} filterKB('survival', 'water purify'); window.SURV_KB.find(k => k.id === 'firstaid');
Electrical Test Bench
Ohm’s law & power solver — enter any two values.
Continuity / Voltage reference
| USB | 5 V |
| Car / lead-acid | 12.6 V full · 11.8 V empty |
| LiPo cell | 4.2 V max · 3.0 V min |
| Mains (EU/US) | 230 V / 120 V AC |
Repair Guides
How it works · how to use
repair feature- Enter any two of V, I, R — the third value and power compute live
- 8 repair categories: power, water systems, comms, mechanical, engines, sanitation, medical, civil infrastructure
- Use the search box to filter; every guide expands inline with practical steps
# programmatic access window.REPAIR_KB // array of {id,t,icon,body} filterKB('repair', 'engine compression'); # Ohm calculator runs on every input change via calcOhm()
Live Sensors · device + browser probes
Connect Peripheral · plug-and-play
| Device | Transport | Recognized as | Detail | Status |
|---|---|---|---|---|
| no peripherals connected — use the buttons above. Already-authorized USB/HID/serial devices re-attach automatically on load (plug-and-play). | ||||
Universal Remote · TVs & receivers (IR / network)
RFID / NFC · reader, write & config
How it works · how to use
sensors feature- Enable Sensors — runs every browser-exposed probe (GPS, battery, network, motion, light, magneto, gyro, accel, wake-lock, cameras, mics)
- Tap a transport — browser opens its native permission picker
- Accepted peripherals are registered and surface as nodes on Mission Control
// each prompts the user for the device connectSerial(); // Meshtastic radios, microcontrollers connectUSB(); // any WebUSB-allowed device connectHID(); // scanners, keypads connectBLE(); // Bluetooth peripherals
Live Health Sensors · device + connected
Reads standard Bluetooth health services (heart rate, health thermometer, glucose, pulse oximeter, blood pressure, weight) and motion-derived metrics. Connect a device above and the panels below plot it live; "Demo signals" animates synthetic waveforms so you can see how each readout behaves.
ECG · electrocardiogram
| Rate (bpm) | Interpretation |
|---|---|
| < 60 | Bradycardia — slow; normal in athletes, else investigate |
| 60–100 | Normal sinus rhythm |
| 100–150 | Tachycardia — exertion, fever, stress, arrhythmia |
| > 150 / irregular | Possible arrhythmia (AF/SVT) — seek care |
Interpretation is indicative only — not a clinical ECG read. Trace requires a connected ECG device (e.g. via nwocardiac.cloud or a serial ECG); demo shows a synthetic PQRST.
EEG · brainwave bands
| Band | Hz | State |
|---|---|---|
| Delta | 0.5–4 | Deep sleep |
| Theta | 4–8 | Drowsy, meditation |
| Alpha | 8–13 | Relaxed, eyes closed |
| Beta | 13–30 | Alert, focused, anxious |
| Gamma | 30–100 | High cognition |
Bands estimated from a connected BCI/EEG headset (OpenBCI/Muse/Emotiv). Dominant band is highlighted.
Vital-Sign Trends · live charts
Make a Bootable Survival USB
A USB that boots a real OS and carries this app + the offline knowledge base.
Ventoy (multi-ISO, easiest)›
- Install Ventoy to the USB, then just copy ISO files onto it.
- Drop nwo-blackbox.html + this knowledge base on the same stick.
sudo sh Ventoy2Disk.sh -i /dev/sdX cp recovery.iso /media/usb/ cp nwo-blackbox.html /media/usb/
Tails / Porteus (live OS)›
- Flash a live Linux that boots from RAM, fully offline.
- Open the app from the USB in the live browser.
sudo dd if=tails.img of=/dev/sdX bs=16M status=progress sync
Get the app file›
curl -L https://cpater-nwo-blackbox.static.hf.space/index.html -o nwo-blackbox.html
Guided Recovery Console
How it works · how to use
recovery feature- Run Self-Check — lists UA, online state, memory, storage, every Web API available
- Load Recovery Commands — copy-paste fixes for Linux grub, fsck, macOS Disk Utility, Windows bootrec
- Make a Bootable Survival USB — downloads
blackbox-bootable-usb.sh: writes Ubuntu live + this app + kiosk autostart on a USB stick. That stick boots any machine that can boot from USB and brings up BLACKBOX as the desktop
# honest scope A web app cannot boot a dead computer on its own. The .sh script packages this app onto a live Linux USB. The USB does the booting; BLACKBOX is the kiosk app. # recovery cmd preview sudo mount /dev/sdXY /mnt && sudo chroot /mnt grub-install /dev/sdX && update-grub
Worker relay · statemesh efficiency layer
Connect your token · any ERC-20
Attach a token to route its transfers over the mesh under StateMesh's quantum-secure attestation. Your contract is never modified — StateMesh adds a provenance + transport layer beside it.
Token Wallet · connected contract only
Quantum Proofing
| ETH | anchorable |
| STATE / ERC-20 | anchorable |
| BTC | attest only |
EVM settles via native ECDSA; the post-quantum attestation is detached and anchorable on-chain. Bitcoin L1 cannot verify it, so BTC is attestation-only.
Token Transactions on the Mesh · path & nodes involved
My Mesh Nodes · manage radios
Share a Language Model from your Node · light (EML) or heavy (full model)
Advertise inference from a node with edge compute. Light shares serve EML morphism libraries on the long-range mesh (width-independent, ride LoRa). Heavy shares serve a full local model only to peers on a local high-capacity link (per the two-path rule). Earn fees in STATE or your token.
Paper I — A Two-Path Mesh Substrate for Distributed Language Models
If the reader shows "Entry not found" or stays blank, the PDFs must sit beside index.html in the Space with these exact names: NWO BLACKBOX.pdf and STATEMESH Whitepaper.pdf. Use Download PDF or the ResearchGate link above as a fallback.
agent.md — the machine-readable operating guide that ships inside this single file. If you are an AI agent or a robot with on-board compute, this is how to discover, download, and drive every subsystem, online or fully offline.Capability surface · what your browser can do right now
1 · Serial & USB Radio Gateway · Meshtastic · Flipper · Proxmark
Plug-and-play attach for off-the-shelf radios and multitools via Web Serial / WebUSB, with recognition of common vendor IDs. Meshtastic uses a documented serial protocol that a browser can speak directly. Flipper Zero and Proxmark expose serial CLIs for read/write workflows.
2 · Offline Voice UI · Web Speech + Whisper.cpp hook
The Web Speech API works online on most browsers and offline on Chrome Android with downloaded language packs. For full-offline transcription on any device, drop a Whisper.cpp WebAssembly build next to index.html and tick the box below — it loads on demand inside a Service Worker.
3 · Client-Side Semantic Search · keyword now · ONNX/Transformers.js hook
The RAG layer already chunks documents and does on-device keyword scoring. With Transformers.js + ONNX Runtime Web available (bundled or via CDN at install time), it can swap to a quantised all-MiniLM-L6-v2 embedding model and run cosine similarity in IndexedDB / OPFS — true semantic search, zero network.
4 · Direct Browser SDR Demodulator · RTL-SDR · WebUSB
RTL-SDR dongles (Realtek RTL2832U) speak a documented USB bulk-transfer protocol. With a WebUSB driver script and a JS/WASM demodulator (e.g. RadioReceiver / webusb-rtlsdr) included, the browser captures FM/AM/WX directly into a WebAudio node. The tuner UI in Transmissions wires straight in.
5 · Edge Robotics + Vision · FunctionGemma + UVC + classifier
FunctionGemma already dispatches the offline-capable subset of the NWO Robotics API (see the Robotics view). The complement is local vision: plug in a UVC webcam, capture frames, run a quantised classifier (e.g. MobileNet via Transformers.js) for anomaly / dial / perimeter checks. Frames never leave the device.
6 · Biometric Data Vault · BLE + WebCrypto signing
Pair a BLE health device (heart rate, thermometer, glucose, BP) and route each reading into a signed, encrypted local packet — never leaves the device. The Health Diagnostics page reads these directly; this panel wraps the same reads in a cryptographic envelope so they're tamper-evident when relayed.
7 · Local Crypto & PQ Gate · crypto.subtle · Dilithium hook
All in-app signing already runs through the WebCrypto SubtleCrypto API — Ed25519 / ECDSA-P256 / SHA-256 commitments. With a CRYSTALS-Dilithium WASM build bundled, the gate upgrades automatically (it always reports the scheme that actually ran, never claims one it couldn't apply). You can sign and verify off-grid with no RPC at all.
8 · PWA Self-Hosting & Peer Copy · no app store needed
Register the file as a Progressive Web App for offline launch, and copy the whole single-file app to a neighbour over D2D Mesh, a bootable USB, or even a QR sequence. App distribution doesn't need a storefront or DNS.
9 · WebHID Raw Control Surfaces · any HID → field hardware
The Sensors page already lists HID devices. WebHID also exposes raw input/output reports, so a generic numeric keypad, foot-pedal, gamepad or custom HID box can be mapped to BLACKBOX actions (alarm, e-stop, channel switch) without a driver. Map a button below.
10 · Local-First Sync Engine · IndexedDB + LWW / CRDT
Notes, inventory, listings and the mesh tx ledger already persist in localStorage. This upgrade adds a small last-write-wins sync layer (and a hook for a real CRDT library like Automerge or RxDB if you drop it in): when two BLACKBOX peers reconnect over D2D Mesh, they merge each other's changes via tiny diff blobs that fit a LoRa packet.
Radio & Media Player · FM / AM / weather / local files
Weather Station · online + offline
Cached Data Sources · offline-readable, updated when online
Each source caches its last good value locally so it stays readable off-grid, with the timestamp of the last successful update. Reconnect and hit Refresh to update them all.