Files
network-tools/public/docs/ARCHITECTURE.md
T
2026-09-01 02:44:20 +02:00

11 lines
877 B
Markdown

# Architecture
Network Tools is a static React/Vite application wrapped in the shared Toolbox shell. `Workbench.tsx` owns only transient view state and delegates to small pure modules:
- `network/url.ts` resolves and decomposes URLs with the platform `URL` parser and returns a password-redacted display value.
- `network/dns.ts` constructs one bounded zone-file record; IPv4 and IPv6 parsing comes from `@add-ideas/toolbox-helpers`.
- `network/http.ts` parses a pasted header block and constructs an explicit CSP from source tokens.
- `network/mime.ts` is a project-authored offline reference table.
All version 0.1 operations are short, bounded and synchronous, so the app does not create a worker. There is no server API, service worker, persistence layer or runtime lookup. Relative entry and asset URLs keep the production build relocatable below a nested portal path.