Skip to main content
Version: v10.7.1

HyperFlow

See what your data layer does while your app runs. HyperFlow is a desktop app for macOS, Windows and Linux that shows every request, cache entry, queue, socket and db of your HyperFetch app, live.

The start page of a connected app: request totals, success rate and the latest requests.

Alpha

HyperFlow is in alpha. Expect rough edges, and tell us what you miss on GitHub Discussions.


What you can do with it​


Get started in three steps​

  1. Download HyperFlow for your system and open it.

  2. Add the devtools plugin to your client:

    api/client.ts
    import { createClient } from "@hyper-fetch/core";
    import { DevtoolsPlugin } from "@hyper-fetch/plugin-devtools";

    export const client = createClient({ url: "https://api.example.com" });

    client.addPlugin(DevtoolsPlugin({ appName: "My App" }));
  3. Run your app. It shows up on the HyperFlow home screen as soon as the plugin connects.

Connect your app covers installation, development-only setup, Node.js backends, sockets and dbs.


How it works​

  1. Your client

    Requests, sockets, dbs

  2. DevtoolsPlugin

    Listens to every event

  3. Local server

    WebSocket on port 2137

  4. HyperFlow

    Shows it live

Cache edits and queue controls travel back the same way.

The plugin listens to the client's events and sends them to a small server that HyperFlow runs on your machine, on port 2137 by default. HyperFlow keeps what it receives in memory and shows it live. The connection also works the other way: when you edit a cache entry or stop a queue in HyperFlow, the plugin applies the change in your app.

Your requests and responses travel only between your app and HyperFlow on your machine.


Why a desktop app​

Browser devtools only see what runs in their tab. The Network tab shows HTTP traffic, but not which requests were answered from cache, joined an identical request or waited in a queue, and React DevTools shows components, not data.

HyperFlow gets this from the client itself, so it works wherever the client runs. A browser tab, a Next.js server, a Node.js worker and a React Native app all connect the same way, and each appears as its own application in one window. The trade-off is one more app to start while you develop.


Next​

API reference: DevtoolsPlugin lists every option of the plugin.