Skip to content

feat: a daily tool: filters, bodies, WebSocket messages, HTTP/2, sessions, upstream proxy (0.9.0) - #23

Merged
nodemode-ai merged 4 commits into
mainfrom
feat/daily-tool-0.9.0
Nov 25, 2026
Merged

nodemode-ai merged 4 commits into
mainfrom
feat/daily-tool-0.9.0

Conversation

@nodemode-ai

Copy link
Copy Markdown
Contributor

feat: a daily tool: filters, bodies, WebSocket messages, HTTP/2, sessions, upstream proxy (0.9.0)

Built on 0.8.0 (feat/rules-0.8.0). If the earlier pull requests are not merged yet, this zip carries their commits too.

Summary

  • Filters above Flows: chips for status, errors, method and type, More filters for size, duration, process, focus hosts and ignore hosts, and typed filters in the text box in the browser developer tools' style (status-code:404, method:POST, domain:*.example.com, mime-type:image/, larger-than:100k, process:curl, a leading - inverts). The server judges every filter and takes ! on each value; the page judges the same rules so clicks never wait. A Body switch searches the decoded bodies (bounded at 64 MiB per search, and says when it stopped).
  • The body viewer: Pretty (indented, coloured JSON, HTML and XML with folding), Raw, Hex, Image, Form, find with a count; a body of megabytes shows its first lines at once.
  • WebSocket messages: both directions read without holding or changing a byte, bounded per flow and in all, live in a Messages tab.
  • HTTP/2 to programs where HTTPS is opened, with gRPC trailers and streaming; Flows records what each side spoke.
  • Sessions (.formnet, user-only files that never replace one another), HAR import, Copy All as cURL for sh, PowerShell and cmd. Saving and exporting a session say first that the file holds the requests' passwords, tokens and cookies.
  • Upstream proxy (http, https or socks5, Basic credentials, a bypass list) in Preferences > Capture; the password is never returned by the API.
  • The Process column names the program behind short requests on Linux (netlink and /proc) and macOS (lsof and ps).
  • Every language: the strings of 0.7.0, 0.8.0 and 0.9.0 are translated in all 29 tables besides English.

Commits

Hashes change when the commits are signed.

  • feat: HTTP/2, WebSocket messages, sessions, filters and an upstream proxy
  • feat(web): filters, the body viewer, messages, sessions and cURL in the window
  • feat(i18n): the labels of 0.7.0, 0.8.0 and 0.9.0 in every language
  • chore(release): 0.9.0

Version

v0.9.0 (release commit is last). Bumped: Makefile, the README badge, web/package.json and its lock, src-tauri/tauri.conf.json, src-tauri/Cargo.toml and its lock.

Checks

Run on Linux:

  • In a fresh clone of the release commit: npm ci, npm audit (0 found), make check, make test (82 Go tests), make build, the four cross-compiles, the window test (6 of 6), cargo check --locked for the Linux, Windows and both macOS targets (no Rust warning). Each commit builds, vets and type-checks on its own.
  • The server: HTTP/2 and a gRPC-shaped stream with trailers through the proxy; a WebSocket echo, live and finished; an upstream proxy with and without credentials, an unreachable one and a refused scheme; sessions saved, refused on a taken name, opened and opened from a file; HAR import; every filter against GET /api/flows; the cURL scripts for sh run against a local server. The Process column with 50 curls in a row on a loaded 2-core machine: 45 to 50 of 50 named against a server that answers at once, 50 of 50 against one that adds 20 ms.
  • The window, in Chromium with the CPU throttled 4x, studio and light: every chip and typed filter (rows equal to the server's answer for the same parameters), the viewer's modes, a 5 MB JSON body (first rows 316 to 401 ms after the click), 2,400 live WebSocket messages, the session dialogs, Copy All as cURL and the upstream group: layout shift 0 each, no console errors. The Setup pills fit in all 30 languages.

Not run: macOS and Windows (the Process column on macOS, HTTP/2 in a real browser, a real gRPC client, a corporate upstream, SOCKS5, HTTPS through an upstream); a native speaker's read of the translations. Windows still names programs from the 2-second snapshot, so very short requests there may show none. The steps are in TEST_PLAN.md in the planning sidecar.

Merging

Merge with a merge commit so each commit and its signature stays. Do not squash.

…roxy

HTTP/2 to programs: where HTTPS is opened the leaf offers h2 and
http/1.1 by ALPN, and a program that picks h2 is served by the standard
library's HTTP/2 server. gRPC works: TE: trailers is carried, request
and response trailers pass, and a streamed body reaches the program as
the server sends it. Flows gain client_proto and server_proto; the HAR
export uses them.

WebSocket messages: each direction of a socket is read by a frame
reader that never holds or changes the bytes (RFC 6455, fragments and
control frames, permessage-deflate noted). Per flow 1000 messages and
1 MiB are kept, 64 KiB per message, with counts past that; the stream
carries flow.message events and GET /api/flows/{id}/messages pages
them.

An upstream proxy, kept in settings.json: http, https or socks5, with
Basic credentials and a bypass list. The guard still decides the
destination: loopback never goes upstream and FormNET's own addresses
are refused. GET and POST /api/upstream never return the password.

Sessions: Save writes <data>/sessions/<name>.formnet (gzip JSON, the
bodies and messages, user-only, never replacing a file); Open replaces
the recording with new ids marked from_session; a file can also be
uploaded. HAR import appends a browser's, Charles' or FormNET's HAR
within the Store's limits.

Filters on the server: status, method, type, size, duration, error,
rules, throttled, from_session, process, focus and ignore hosts, each
invertible with a leading !, and a body search bounded at 64 MiB of
decoded text that says when it stopped. The HAR, session and cURL
exports take the same filters. Copy all as cURL writes sh, PowerShell
or cmd, credential headers redacted unless asked.

The process of short requests: on a miss the proxy asks about that one
client port in the background (netlink and /proc on Linux, lsof and ps
on macOS) and names the flow when the answer comes. Measured on a
loaded 2-core Linux machine with 50 curls in a row: 45 to 50 of 50
named against a server that answers at once, 50 of 50 against one that
adds 20 ms. Windows keeps the netstat snapshot.
…he window

Above Flows: a Body switch, a lane of chips (status classes, errors,
methods, JSON, HTML, JS, CSS, images, media, WebSocket, other, from a
session, changed by a rule, throttled) and More filters with size,
duration, process, focus hosts and ignore hosts. The text box also
takes typed filters as browser developer tools do: status-code:,
method:, domain:, mime-type:, larger-than: and process:, each inverted
by a leading -; a value it cannot read marks the box and its tooltip
names the forms. The page judges every filter by the server's rules so
a click never waits, and the server's answer to the same query decides
the list; the body search is the server's alone and says when it
stopped early. Export HAR, Export Session and Copy All as cURL take the
same query and say when it holds more than the list.

The detail pane: a body viewer for requests and responses (Pretty with
indented, coloured JSON, HTML and XML and folding, Raw, Hex, Image,
Form, find with a count), built in slices so a body of megabytes shows
its first lines at once; a Messages tab for WebSocket flows, live, with
direction and type filters; protocol, upstream and source rows.

File menu: Open Session (Mod+O), Save Session (Shift+Mod+S), Export
Session, Close Session, Import HAR, Copy All as cURL (sh, PowerShell or
cmd). Saving and exporting a session first say that the file holds the
passwords, tokens and cookies the requests carried. A session chip in
the options bar while one is open. Preferences > Capture gains the
Upstream Proxy group; the password is write only.

Measured in Chromium with the CPU throttled 4x, studio and light,
layout-shift entries without recent input: the chips, every typed
filter, the viewer's modes, 2,400 live WebSocket messages, the session
dialogs, Copy All as cURL and the upstream group: 0 each. Each typed
filter's rows equal GET /api/flows with the same parameters. The
window test 6 of 6.
Every string added since 0.6.0 is translated in the 29 tables besides
English: the system proxy, recipes and resend (0.7.0); rules,
breakpoints, throttling and capture from other devices, with the phone
menu paths each system shows in that language (0.8.0); and the
filters, the body viewer, WebSocket messages, sessions, HAR import,
Copy All as cURL and the upstream proxy (0.9.0). Mexican Spanish and
Canadian French keep only what they say differently. Counted phrases
carry the language's other plural forms (Russian, Ukrainian, Polish,
Czech and Serbian few and many; Arabic zero, two, few and many).

Each table keeps the terms it already used; Bypass, the hosts the
upstream proxy leaves out, is kept apart from Passthrough. Every key
the window uses is present in every table, with its placeholders and
no em dash; in Russian the Not supported pill on Setup now fits its
fixed width.
Every version site moves to 0.9.0: Makefile, the README badge,
web/package.json and its lock, src-tauri/tauri.conf.json, and
src-tauri/Cargo.toml and its lock. CHANGELOG.md has the section for
this version.
@nodemode-ai
nodemode-ai requested a review from gbarnai as a code owner November 25, 2026 07:19
@nodemode-ai
nodemode-ai merged commit d05dced into main Nov 25, 2026
5 checks passed
@nodemode-ai
nodemode-ai deleted the feat/daily-tool-0.9.0 branch November 25, 2026 07:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant