Skip to content
CHUKEPCPublic

About

Modern API client for testing and debugging HTTP APIs. Built with Electron, React, TypeScript

Topics

Resources

Stars

3 stars

Watchers

0 watching

Forks

Repository files navigation

Relay — desktop client for API testing

Русская версия

A cross-platform desktop client for API testing on Windows, macOS, and Linux, built with Electron + React + TypeScript. Data is stored locally as JSON in the user directory; secrets are encrypted with the OS keychain.

Download

Highlights

  • CORS-free HTTP engine in the Electron main process: all methods, every body type (raw/urlencoded/form-data/binary/GraphQL), auth (Bearer/Basic/API-key/OAuth 1.0/OAuth 2.0 with browser sign-in and PKCE/Digest/AWS SigV4/Hawk/NTLM/JWT/ASAP/EdgeGrid/inherit), redirects with a recorded chain, timeout, TLS toggle, cancellation, timing & size metrics.
  • WebSocket, SSE, Socket.IO, MQTT, gRPC and GraphQL alongside HTTP.
  • Movable panels: drag the navigation to any side of the window and the request or the response to any side of its pane; panels swap places instead of pushing each other, and float with one click.
  • Drop files to import: collections, OpenAPI/HAR/cURL, environments, .env/CSV and themes dragged from the file manager are recognized on their own.
  • Low-power mode for weak machines: no GPU, no animations, a light editor — same features.
  • Your own themes from a JSON file (theme guide · по-русски), plus a pack of 15 ready-made themes.
  • AI assistant (feature pack): OpenAI, Anthropic, OpenRouter or any OpenAI-compatible endpoint with your own key; streaming, secret-masked context, tool-calling with confirmation.
  • Collections, environments & global variables with {{var}} interpolation everywhere, hover-resolution, and unresolved flagging.
  • Monaco-powered request bodies and a Pretty/Raw/Preview response viewer.
  • Pre-request & Test scripts with a sandboxed pm.* API and a Test Results tab.
  • Import Postman v2.1 / OpenAPI 3 / cURL, export Postman v2.1, code generation (cURL/HTTP/JS/Python, twelve more languages with a pack), paste-cURL, command palette, keyboard shortcuts.
  • Collection runner for a collection, a folder or any ticked set of requests: iterations, a CSV/JSON data file, stop-on-failure and a JSON report.
  • Send to terminal: one click runs the request with curl (or HTTPie, wget, PowerShell) in a new terminal window, with variables, auth, cookies, proxy and TLS settings carried over.
  • Variable import and export — Postman, JSON, .env and CSV — for globals, environments and collections.
  • Plugins: feature packs (themes, snippets, code-generation languages, UI languages, protocols) and sandboxed code plugins — see the plugin guide (по-русски).
  • Find & replace across the workspace: search collections, environments and variables by field group, then replace exactly the matches you confirm.
  • Tab groups: named, coloured groups of tabs that collapse to a label; a folder opens as a group with tabs of its own, so closing it never takes tabs of another group along. When the tabs do not fit, the strip scrolls with arrows and a slider.
  • Select several items in the collections tree with checkboxes (or Ctrl/⌘+click) and open, group, duplicate, move, export, run or delete them at once.
  • Copies that ask: duplicating a request, a folder or a tab offers «Name (copy)» or your own name and the original's folder.
  • Your own app icon: nine ready-made ones, an editor, your own picture, or a pack of 18 more (icon guide · по-русски).
  • Trash: deleted requests, folders, collections, environments, variables and examples stay restorable for the period you choose (30 days by default) and go back where they were.
  • Local storage: everything persists as JSON in userData; API keys are encrypted via Electron safeStorage.

Documentation

English Русский
Getting started: download, build, try getting-started/README.md getting-started/README.ru.md
Features and status docs/FEATURES.md docs/FEATURES.ru.md
Architecture docs/ARCHITECTURE.md docs/ARCHITECTURE.ru.md
Plugin system docs/PLUGINS.md docs/PLUGINS.ru.md
Writing plugins docs/plugin-guide/README.md docs/plugin-guide/README.ru.md
Writing themes docs/THEMES.md docs/THEMES.ru.md
App icons docs/ICONS.md docs/ICONS.ru.md
AI assistant docs/AI_ASSISTANT.md docs/AI_ASSISTANT.ru.md
Bundled feature packs plugins/README.md plugins/README.ru.md

Run it

npm install          # install dependencies
npm run dev          # launch the desktop app (electron-vite, HMR)

If npm install fails with an EACCES cache error (root-owned ~/.npm), use a project-local cache:

npm install --cache ./.npmcache

Build & package

npm run build        # type-check + bundle (main/preload/renderer)
npm run build:mac    # package macOS dmg + zip   (electron-builder)
npm run build:win    # package Windows NSIS installer
npm run build:linux  # package Linux AppImage + deb

Packaged artifacts land in release/. macOS/Windows builds are unsigned by default — configure signing/notarization in electron-builder.yml for distribution.

Releases

Pushing a version tag builds Windows, macOS and Linux packages in GitHub Actions (.github/workflows/release.yml) and publishes them. Without Actions, publish from each OS:

git tag v1.2.0
git push origin v1.2.0
npm run release        # builds for this OS and uploads to the v1.2.0 release

npm run release needs gh auth login or a GH_TOKEN with write access to the repository contents; run it on Windows, macOS and Linux to add each system's files to the same release. On Windows, npm run release -- --linux-tar also builds a portable Linux tar.gz (the script restores the execute bits NTFS cannot store); .deb, .AppImage and the macOS .dmg need a Linux / macOS machine or the CI workflow. Release notes are read from docs/releases/v<version>.md.

Test & lint

npm test                       # Vitest: HTTP engine, interpolation, AI adapters, cURL, scripting
RELAY_NET_TESTS=1 npm test     # also run live httpbin.org network tests
npm run lint                   # eslint + tsc --noEmit

Connect an AI provider

  1. Open Settings → AI provider (sidebar bottom, or ⌘/Ctrl+,).
  2. Pick a provider (Anthropic, OpenAI, OpenRouter, or a custom OpenAI-compatible base URL for Ollama/LM Studio) and paste your API key. It is stored encrypted locally and never leaves your machine except in requests to that provider.
  3. Open the AI panel (⌘/Ctrl+J), pick a model, and ask away.

For local models (Ollama/LM Studio), add a custom provider with base URL e.g. http://localhost:11434/v1 and leave the key blank.

Where things live

See the Documentation table above for every guide in English and Russian.

License

Relay is released under the MIT License.

About

Modern API client for testing and debugging HTTP APIs. Built with Electron, React, TypeScript

Topics

Resources

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages