Restfox

flawiddsouzaMIT活跃维护

离线优先的极简 HTTP 与 Socket 调试客户端,网页和桌面都能用,断网也能继续测接口,适合替代笨重的 API 调试工具。

Offline-First Minimalistic HTTP & Socket Testing Client for the Web & Desktop

v0.42.0发布于 2026-10-29 17:47 UTC2,779star146fork同步于 2026-11-10 17:44 UTC

怎么上手

由 README 提炼,执行前请确认
brew install restfox
sudo snap install restfox
docker run --name Restfox -d -p 4004:4004 flawiddsouza/restfox:0.42.0
硬件要求按 README 说明

README 未说明

有 Docker 镜像
下载:源码 zip·GitHub Releases(安装包)本站不镜像安装包

项目说明

由 README 自动翻译提炼

离线优先的极简 HTTP 与 Socket 测试客户端,Web 和桌面都能用

离线优先的极简 HTTP 与 Socket 调试客户端,网页和桌面都能用,断网也能继续测接口,适合替代笨重的 API 调试工具。

核心能力

  • 离线优先,数据保存在本地
  • 支持 HTTP 与 Socket 请求测试
  • 提供环境变量管理请求配置
  • 支持插件扩展功能
  • 保留响应历史便于回溯对比

容易踩的坑

Docker 默认映射 4004 端口,端口冲突需自行改映射;web-standalone 自建需先构建 ui 再启动 web-standalone 包;各平台安装方式不同,Windows 需先添加 scoop extras bucket

内容由模型根据 README 生成,可能不完整或不准确,以官方文档为准。看原文 README

最近发版

5 个版本v0.42.0
  1. v0.42.0最新正式版2026-10-29 · 2026-10-29 17:47 UTC

    What's New

    • gRPC requests in the desktop app and web-standalone, with unary and streamed calls, methods from server reflection or .proto files, metadata, inherited auth, response history, response tags that read unary calls, Insomnia import and Copy as grpcurl, while the browser build and the extension app say why they cannot make the call. (#2)
    • Live streaming responses, so server-sent events and JSON lines show as they arrive, each event with its arrival time and the answers of OpenAI, Anthropic, Gemini or Ollama joined into plain text, other slow text responses show live too, and Stop, the timeout or a lost connection keeps what arrived on screen, in every build and through the Restfox CORS Helper from its version 1.1.0. (#359)

    Fixes

    • File workspaces no longer overwrite or delete a file Restfox cannot read, such as one with git merge conflict markers, on the next save, and no longer replace the saved environment pick when the picked environment's file cannot be read.
    • Deleting an item and then opening another file workspace before the delete finished no longer deletes the item at the same path in that workspace.
    • File workspaces now refuse two environments whose names differ only in letter case, such as Prod and prod, which were saved into one file on Windows and macOS and lost one when cloned there from Linux, refuse an environment named like Prod.meta, whose file holds Prod's color, and no longer show other files beside the environments, such as Prod.json.bak, as environments or delete them, and importing or duplicating a folder with such environments now says so.
    • In file workspaces, a save that fails, such as of an environment, an environment pick, a script, a plugin or a workspace rename, now shows an error instead of losing the change with no message.
    • In file workspaces, a change made right after renaming the open request, such as a pasted URL, is now saved.
    • In file workspaces, renaming or moving a folder no longer breaks saves in a folder beside it whose name starts the same, such as Folder2 beside Folder.
    • A file workspace location typed as C:/work/api/ no longer shows an empty sidebar.
    • File workspace saves over 50 MB now work in web-standalone.
    • Duplicating a workspace with imported request or folder scripts or plugins no longer makes them run twice in the original workspace or vanish from the copy when the original is deleted, copies made by 0.41.0 are fixed too, and copying into a file workspace no longer stops partway.
    • Switching workspace while a request runs no longer lets its scripts' rf.setEnvVar and rf.setParentEnvVar change the other workspace's environment, or a response tag read a request at the same path in another file workspace, and in the desktop app no longer saves its response into that request.
    • The snap no longer crashes with "Segmentation fault" on start on Wayland desktops, such as Ubuntu 24.04 and 26.04, as it now opens as an X11 window. (#392)
    • Closing a socket's tab, window or workspace, or deleting it, now closes its WebSocket or Socket.IO connection, and Move to New Window, or closing a folder's tab in a file workspace, no longer shows a connected socket as disconnected.
    • Socket Panel no longer saves a message as sent when the connection closed before it went out, and Connect no longer opens a connection for a client removed or a tab closed while it waited, or replaces a newer connection after a switch to a tab of another type and back.
    • Response tags in a folder's or a file workspace's environment no longer send their request on every tab switch, environment change or opening of the Environment modal or folder settings, only when you send or copy the request.
    • Send no longer stays at Loading, and the Collection Runner no longer stops, when the environment cannot be resolved, and Connect, Copy as Curl and socket Send now show that error instead of failing silently.
    • One response tag that cannot be resolved no longer leaves every variable in previ
  2. v0.41.02026-10-19 · 2026-10-19 22:00 UTC
    查看更新说明

    [!IMPORTANT] macOS users: install this release by hand once. This release is signed with a new Apple Developer ID, so Restfox 0.40.0 and older can't update itself to it, and it won't tell you. Download it once from the assets below (Restfox-darwin-arm64 for Apple Silicon, Restfox-darwin-x64 for Intel). If you installed with Homebrew, run brew upgrade --greedy restfox instead. Updates after this one install automatically again.

    Desktop app: don't go back to 0.40.0 or older. Once you've opened this release, an older version deletes your workspaces and requests when it starts. If you must go back, first click Backup & Restore on the workspaces screen and download a backup, then restore it in the older version. File workspaces stay on disk either way and can be reopened with Open File Workspace.

    What's New

    • Collection Runner: run the requests of a folder or collection in order (#98)
    • Prompt tag: ask for a value when a request is sent, in any field or environment variable. It can ask on every send or once per session, and hide what you type. A hidden value is never saved, not even in response history (#313, #344)
    • Proxy in the desktop app and web-standalone: Settings > Proxy with System (the default, follows the system's proxy settings), Off and Custom (http, https or socks5, with login and a bypass list). It covers requests, scripts, WebSocket and Socket.IO (#181)
    • CA Certificates in the desktop app and web-standalone: trust an extra certificate file, and the app now also trusts your operating system's certificates. This fixes "self signed certificate in certificate chain" behind company proxies like Netskope (#329)
    • OAuth 2.0: Authorization Code with PKCE (#298), a Client Authentication option to send the client credentials as a Basic Auth header or in the body (#294), a token Prefix field, and clear error messages when getting a token fails
    • Auth inheritance: "Inherit from Parent" is the new default, and "No Auth" now really sends no auth, even under a folder with auth (#333)
    • Request timeout setting, 0 for no limit (#385)
    • Reorder environments (#380)
    • Response Panel: line wrapping toggle (#34) and a choice of how to format the response body (#183)
    • Mobile friendly UI (#8)
    • Docker / web-standalone: file workspaces like the desktop app, so your data survives a container restart (#92)
    • Postman import: data dumps, environment and globals files, and folders, auth, scripts and bodies that were dropped before (#25)
    • Chrome extension app: updated with everything in this release, its first update since April 2024. Its saved data is now protected from Chrome's storage cleanup

    Fixes

    • Header names are sent as you typed them instead of lowercased (#384)
    • Disable SSL Verification now applies to WebSocket and Socket.IO (#382)
    • Socket Panel: clear error when a connection fails, variables in the URL and message work in every form, and double clicking Connect no longer opens two connections
    • GraphQL schema fetch sends the request's auth and headers (#332)
    • Environment variables with a space in the name are highlighted, and nested ones show their value on hover (#227)
    • A URL from an environment variable keeps its query parameters (#386)
    • Path params are no longer deleted while editing the URL, nested ones included (#287, #337)
    • Timeline shows the headers that were actually sent (#390)
    • Restfox import keeps folder headers, auth and descriptions, and export keeps scripts (#388)
    • Insomnia import works with Insomnia 11 YAML exports and keeps folder settings and OAuth 2.0 fields
    • curl import no longer breaks a body containing @ (#366)
    • Requests in Electron and web-standalone no longer time out after 5 minutes
    • Large file uploads in web-standalone no longer load the whole file into memory (#241)
    • Renaming a folder with a dot in its name no longer duplicates part of it (#350)
    • Cleared
  3. v0.40.02025-07-27 · 2025-07-27 08:15 UTC
    查看更新说明

    What's New

    • Plugin / Script > rf.setParentEnvVar (resolves #346)

    Fixes

    • File Workspace > script disappears from a request when a request is moved from one folder to another but reappears when we close and reopen the app (fixes #345)
    • Sidebar > Duplicating and dragging request from one folder to another, then dragging it to the end of the original folder makes it disappear (fixes #343)
    • Response Panel > application/problem+json and application/problem+xml should be considered as render-able types + change Binary Response Warning to Unknown Media Type Warning and also show media type in the warning (resolves #347)

    Packages

    For Ubuntu, snap can be installed using:

    sudo snap install restfox
    

    For macOS, the app can be installed using homebrew:

    brew install restfox
    

    For Windows, the app can be installed using:

    scoop bucket add extras
    scoop install restfox
    

    NOTE: Not all the builds have been tested properly, so please create an issue if you encounter any problems.

    Full Changelog: https://github.com/flawiddsouza/Restfox/compare/v0.39.0...v0.40.0

  4. v0.39.02025-07-04 · 2025-07-04 17:20 UTC
    查看更新说明

    What's New

    • Sidebar > Folder > environment quick switcher (resolves #312)
    • Add support for additional response formats in settings and response panel for bypassing binary response warning on custom content types (resolves #339)
    • Tabs in Settings

    Fixes

    • Import > use the same fetch logic as the rest of the app instead of directly using the fetch method to avoid CORS issues + import not respecting the disable ssl setting (resolves #330, resolves #336)
    • curl import fails for multipart/form-data (resolves #335) + auto focus the textarea when showing the curl import modal
    • Response Panel > remember & restore scroll position when switching tabs, not working correctly for responses that get a large response / binary response warning
    • Backup Restore failing for backups having request or response data larger than 10 MB (resolves #338)

    Packages

    For Ubuntu, snap can be installed using:

    sudo snap install restfox
    

    For macOS, the app can be installed using homebrew:

    brew install restfox
    

    For Windows, the app can be installed using:

    scoop bucket add extras
    scoop install restfox
    

    NOTE: Not all the builds have been tested properly, so please create an issue if you encounter any problems.

    Full Changelog: https://github.com/flawiddsouza/Restfox/compare/v0.38.0...v0.39.0

  5. v0.38.02025-06-06 · 2025-06-06 15:09 UTC
    查看更新说明

    What's New

    • Sidebar > allow dropping sidebar item to the end of tree (#326) by @lucas-almeida026
    • Response Panel > Add large response warning when loading responses over 3MB, as ui tends to lag a lot when loading large responses
    • Response Panel > Don't auto load unknown binary responses as text (resolves #331)

    Fixes

    • Repeated headers get dropped (#327) by @lucas-almeida026

    New Contributors

    Packages

    For Ubuntu, snap can be installed using:

    sudo snap install restfox
    

    For macOS, the app can be installed using homebrew:

    brew install restfox
    

    For Windows, the app can be installed using:

    scoop bucket add extras
    scoop install restfox
    

    NOTE: Not all the builds have been tested properly, so please create an issue if you encounter any problems.

    Full Changelog: https://github.com/flawiddsouza/Restfox/compare/v0.37.0...v0.38.0

用户点评

登录用户的真实使用记录,可按版本和硬件筛选
共 0 条

    还没有人点评。第一个说出真实体验的人最有价值。

    README 原文

    未翻译

    Restfox

    Restfox

    Web App | Install | Releases/Downloads | Screenshots | Docs | Compiling | Compiling Web Standalone

    Offline-First Minimalistic HTTP & Socket Testing Client for the Web & Desktop

    Watch video to see plugins in action:

    Installation

    macOS

    Package available in homebrew by using:

    brew install restfox
    

    Ubuntu and other distributions supporting snap

    Package available through snap can be installed using:

    sudo snap install restfox
    

    RPM, DEB and NuPKG

    There are precompiled binaries in the releases page.

    Windows

    scoop bucket add extras
    scoop install restfox
    

    There are also precompiled binaries in the releases page.

    Docker

    docker run --name Restfox -d -p 4004:4004 flawiddsouza/restfox:0.42.0
    

    Start webapp using docker compose

    docker-compose up -d
    

    Start webapp using docker compose with custom port

    docker-compose -p 5000:4004 up -d
    

    Start webapp using docker compose with different version

    RESTFOX_VERSION=0.42.0 docker-compose up -d
    

    Screenshots

    Response History

    Context Menu

    Environment Variables

    Plugins

    Compiling

    ui

    Development

    npm run dev
    

    Distribution

    npm run build
    

    Desktop distribution and development

    npm run build-desktop
    

    Web Standalone distribution and development

    npm run build-web-standalone
    

    To upgrade codemirror to latest version

    npm i @codemirror/autocomplete@latest @codemirror/commands@latest @codemirror/lang-javascript@latest @codemirror/lang-json@latest @codemirror/language@latest @codemirror/search@latest @codemirror/state@latest @codemirror/view@latest
    

    electron

    To upgrade electron to latest version

    npm install --save-dev electron@latest @electron-forge/cli@latest @electron-forge/maker-deb@latest @electron-forge/maker-rpm@latest @electron-forge/maker-squirrel@latest @electron-forge/maker-zip@latest @electron-forge/maker-flatpak@latest @electron-forge/publisher-github@latest electron-builder@latest
    

    Development

    npm run start
    

    Distribution

    npm run make
    

    or

    npm run publish
    

    Development

    npm run dev
    

    Distribution

    npm run build
    

    Using web-standalone

    git clone https://github.com/flawiddsouza/Restfox
    cd Restfox/packages/ui
    npm i
    npm run build-web-standalone
    cd ../web-standalone
    npm i
    npm start
    

    By default npm start will run Restfox at port 4004. You can override the port by passing port like so PORT=5040 npm start.

    Docker Build Instructions

    First refer to Compiling Web Standalone to build successfully locally and use it normally. Then in the project root directory (directory with Dockerfile), execute:

    docker build -t restfox:xx .
    

    Note: xx is the version number

    After the build is complete, use the following command to start the service:

    docker run -d -p:4004:4004 restfox:xx
    

    Visit after successful startup: localhost:4004

    Alternatively, you can also use the pre-built Docker image available on Docker Hub. See: Docker.