For more technical documentation or to see how to implement it, you can check the Scramjet Documentation on Mintlify Ultraviolet Introduction to Scramjet - Mintlify
Running a Node.js-native framework in a browser isn’t trivial. Here’s what the engineering work involved:
Named as a nod to the hypersonic aerospace engine that processes airflow at blistering speeds, Scramjet functions as the technological successor to the widely used Ultraviolet proxy framework. By completely re-engineering how web assets are fetched, rewritten, and isolated, it delivers a secure, unblocked browsing experience directly within a standard web browser window. Core Infrastructure
By operating entirely within the boundaries of the client browser, Scramjet masks the true destination of the outbound data from external packet inspectors. How Scramjet Rewrites Web Content scramjet browser work
High-fidelity web emulation within a sandbox.
: The request is encapsulated and passed to an external backend using low-overhead proxy protocols like Wisp (which multiplexes TCP sockets over WebSockets) to bypass rigid enterprise firewalls.
: The filtered objects are grouped or summarized over specified time windows. For more technical documentation or to see how
: Websites can process user behavior telemetry or app performance metrics on the fly before sending highly compressed, aggregated summaries to the backend database, drastically lowering cloud storage costs.
By leveraging advanced techniques like and WebAssembly (WASM) , Scramjet enables users to access restricted content and run complex, sandboxed web applications that might otherwise be blocked by institutional or regional firewalls. How Scramjet Works: The Architecture
: The browser receives the modified page.js . It's flawless, well-formed, and contains no references that would alert the network or break the site's functionality. The page loads, the application runs, and the user never knows a proxy was involved. : The filtered objects are grouped or summarized
Describe the use of the createFrame() method to isolate proxied sessions. Detailed instructions are available in the Scramjet Frame Documentation .
Refer to the Basic Setup guide on Mintlify for installing dependencies via pnpm and configuring the ScramjetController .
To keep the user interface fluid, Scramjet shifts its data pipeline executions off the main thread and into . Web Workers are background scripts running in isolated threads. By initializing Scramjet instances within a Worker, the browser can parse megabytes of streaming data concurrently without dropping a single frame of UI animation. 2. Stream Realization via Web Streams API