The web version
Status: in the repository and on downrange.site/app/. Built and driven in headless Chrome by hand for this change; not in a release yet.
The console in your browser #
/app/ is the desktop console compiled to WebAssembly, with the
daemon's own code running in the same tab (downranged::tab). A browser can't start programs or
open sockets, so instead of the console reading the daemon over TCP, the page hands each frame
to the daemon's decoder and reads the same stream back. Decode, derived channels, limits,
analysis and model checks are the daemon's code. A recording replayed in the tab gives the same
sample digest as the daemon (tested in apps/downranged/src/tab.rs).
It opens on a start screen. From there:
- Templates. All eight, each with its simulator running in the tab: the same code as
downrange-gen --scenario, at the same speed as the desktop (the satellite plays 60 times fast). - Your files. Drop a file on the page or press "Open a file". A CSV log goes through the
importer
downranged importuses and its rows replay. A recording (.mcap) from the desktop or from a tab replays. A mission file opens a console waiting for input. - A blank console, opened in the layout editor.
- Serial input. The "input" button. Text lines are packed the way
downrange-feedpacks them: CSV with a header line,name=valuepairs, or JSON lines. Uses Web Serial, which Chrome, Edge and Opera have and Firefox and Safari don't. - Recording. "record" starts; pressing it again stops and downloads the
.mcap. A recording made in a tab passesdownranged verify. Held in memory, up to 256 MB. - Saving. "save layout" and "save limits" keep them in this browser's storage, with the
workspace. "download" gives
layout.toml,limits.toml,mission.tomlandsystem.toml, so the desktop app can open the same workspace. An imported CSV of up to 2 MB is kept too, so it replays after a reload. Nothing is uploaded; clearing the site's data removes it all.
| Desktop | In the tab | |
|---|---|---|
| Templates with simulators | Yes | Yes |
| Live input | UDP, TCP, serial, a followed file | Serial only (Web Serial) |
| Import a CSV, replay it | Yes | Yes |
| Replay controls | Pause, 0.25x to 16x, skip ahead | The same |
| Recording | To disk, the whole run | On demand, in memory, up to 256 MB, then downloaded |
| Limits, derived channels, analysis, model checks | Yes | Yes, same code, run inline instead of on their own threads |
| Layout editor, procedure, clocks, sequence | Yes | Yes |
| Where changes are saved | Files in the workspace folder | This browser, and downloads |
| Map imagery | When the tiles are installed | Not yet: the map draws the coastline |
| Camera widgets, 3-D model files, logo and font files | Yes | No |
| Several vehicles at once | Yes (--connect more than once) |
No |
| Analysis plug-ins (external programs) | Yes | No |
| Opening a layout file on its own | Yes | Not yet |
| Reports and CSV export of a recording | Yes (downranged report, export) |
No |
Decode and analysis run one after the other in the page's frame. On the desktop they're on separate threads, so a slow analysis module there costs analysis input and never decode time. Here it slows the page instead. A tab the browser puts to sleep pauses its simulator and replay; they carry on when it's shown again. The download is about 3.5 MB compressed. It draws with WebGPU where the browser has it and WebGL otherwise. On a phone the procedure panel starts closed.
To build it: scripts/build-site.sh (it needs wasm-bindgen at the version in Cargo.lock;
the script says how to get it).
The CSV import page #
There are two more browser versions, for importing a CSV. They share one page script and one layout format.
| Hosted (static) | Local (--web) |
|
|---|---|---|
| Where the work happens | In the visitor's tab, as WebAssembly | In downranged on your computer |
| Needs a server | No. A folder of 6 files, 1.3 MB | The daemon, on loopback |
| Import a CSV, pick pages | Yes | Yes |
| Replay | Yes, with pause, speed and seek | Yes, at recorded speed |
| Live data | No | Yes: UDP, or text through downrange-feed |
| Recording | No | Yes |
| Limits and alarms | Yes | Yes |
| Derived channels, analysis, model checks | No | Yes |
| Widgets drawn | 9 of 17 | 9 of 17 |
| Where your file goes | Nowhere. It is read in the tab | Your disk |
This page is about the hosted one. The local one is in 16-first-run.md.
What a visitor can do #
- Open the page. Drop a CSV, or press the button for the built-in made-up hot-fire log.
- Check the proposal: names, units, types, what was left out and why.
- Pick pages and open the dashboard.
- Play, pause, change speed (0.25, 1, 4, 16 times), drag the slider to any time.
- Download
mission.toml,layout.tomlandimport-report.json. Desktop Downrange opens them.
Seeking replays from the start of the file, so the alarm state at any time is what it would have been. On the 6,000-row sample that takes well under a frame.
Why nothing is uploaded #
There is no server to upload to. The host hands out six static files and never hears from the page again. The engine is a WebAssembly module with no imports: it has no way to call the network, the disk or the page. CI checks that the module has no import section, and the browser test checks that every request the page makes goes to its own host.
That is also why this version can be public without a login. The rule "no unauthenticated telemetry service on an external network" holds because no telemetry service exists here.
What runs in the tab #
The same Rust code as the desktop for: the CSV reader and proposer, the page templates, the frame packer, the mission decoder and the limit checker. Tested natively and in the browser.
Not in the tab yet: derived channels, analysis modules, model-based checks, recordings
(.mcap), live input, and the eight widget kinds that need the desktop (map, trajectory,
globe, attitude, camera, schematic, system diagram, timeline).
Limits: 64 MB of CSV. A channel with more than 20,000 new samples in one step is thinned for display. Close the tab and the project is gone unless you downloaded it.
Building it #
rustup target add wasm32-unknown-unknown
scripts/build-site.sh
python3 -m http.server -d site-dist 8080 --bind 127.0.0.1
Open http://127.0.0.1:8080. CI builds the same folder on every push and keeps it as the
artifact downrange-site.
Putting it online #
It is a folder of static files. Anything that serves files will do. Three free ways, none of which have been tried from this repository yet:
Cloudflare Pages, drag and drop. Works while the repository is private.
- Download the
downrange-siteartifact from the latest CI run on GitHub (Actions, pick the run, Artifacts). - In the Cloudflare dashboard: Workers & Pages, Create, Pages, "Upload assets".
- Drop the folder or the zip. You get a
*.pages.devaddress. The free plan allows 500 deployments a month and 20,000 files a site, per Cloudflare's limits page as read on 2026-11-24.
Netlify Drop. Same idea: drag the folder onto their drop page.
GitHub Pages. On a free GitHub account Pages only works for a public repository.
- Make the repository public (your decision; it is private today).
- Settings, Pages, Source: "GitHub Actions".
- Actions, "pages", "Run workflow".
The address is
https://<owner>.github.io/<repo>/, or your own domain once it's set under Settings, Pages, "Custom domain". Downrange's own site is at https://downrange.site/.
Whichever you pick, the page works under any path. It uses relative addresses only.
Testing it #
python3 scripts/site-smoke.py http://127.0.0.1:8080 out-dir
Needs Playwright. It loads the sample, switches a limit on, plays at 16 times, pauses, seeks both ways, checks the three downloads are offered, and checks no request left the host. It is not in CI.