Repolode
chapar-rest

chapar-rest/chapar

A native, local-first API client for REST, gRPC, GraphQL and WebSocket, written in Go, with a built-in traffic proxy.

Open-source alternative to:PostmanInsomnia

Stars
729
Forks
44
Open issues
5
Last commit
2 days ago

What is it?

Chapar is an API testing client for sending and inspecting REST, gRPC, GraphQL and WebSocket requests. It is built in Go on the Yoga GPU-rendered UI toolkit rather than Electron, and runs on macOS, Linux and Windows. Requests, environments and cookies are stored as plain YAML and other local files, with no account or cloud sync required.

Beyond sending requests, Chapar includes an HTTP(S) proxy that captures traffic from other apps, browsers and phones, and can turn a captured request into an editable one. Workflow features include workspaces, collections with shared auth and headers, environment variables with OS-keychain-encrypted secrets, a per-environment cookie jar, and Python pre- and post-request scripts.

Test cases chain requests in order and check responses, and the separate chapar-cli binary runs them in CI pipelines with JUnit reports.

Key features

  • 01Supports REST, gRPC, GraphQL and WebSocket requests in one app.
  • 02Built-in HTTP(S) proxy captures traffic from apps, browsers and phones.
  • 03Environment variables with secrets encrypted by the OS keychain.
  • 04Stores workspaces as YAML files that can be kept in git.
  • 05Test cases with response checks, chaining and retries, runnable from CLI in CI.
  • 06Imports Postman collections, OpenAPI specs and proto files.

Use cases

  • Testing REST and gRPC endpoints during API development without a cloud account.
  • Inspecting HTTPS traffic from a mobile app or browser during debugging.
  • Running API test suites in GitHub Actions or other CI pipelines.
  • Sharing request collections through a git repository without exposing secrets.

Quick start

  1. 1

    Install on macOS with Homebrew

    brew tap chapar-rest/chapar && brew install --cask chapar
  2. 2

    Install the command-line runner with Homebrew

    brew install chapar-rest/chapar/chapar-cli
  3. 3

    Install from source: clone the repository

    git clone https://github.com/chapar-rest/chapar.git
  4. 4

    Build the application from the cloned directory

    cd chapar && go build -o chapar .

Things to know

  • Building from source requires CGO and a C compiler, plus platform graphics libraries on Linux and Windows.
  • Protocol support is limited to REST, gRPC, GraphQL and WebSocket; MQTT is only on the roadmap.
  • The AUR package is community-maintained and may lag behind the latest release.

In collections

Topics

FAQ

What is chapar?
A native, local-first API client for REST, gRPC, GraphQL and WebSocket, written in Go, with a built-in traffic proxy. Chapar is an API testing client for sending and inspecting REST, gRPC, GraphQL and WebSocket requests. It is built in Go on the Yoga GPU-rendered UI toolkit rather than Electron, and runs on macOS, Linux and Windows. Requests, environments and cookies are stored as plain YAML and other local files, with no account or cloud sync required.
Is chapar free to use? What license does it have?
chapar is open source under the BSD-3-Clause license. Check the license terms before using it in commercial products.
Is chapar still maintained?
Actively maintained. The last commit to chapar was on Nov 4, 2026.
What can I use chapar for?
Testing REST and gRPC endpoints during API development without a cloud account. Inspecting HTTPS traffic from a mobile app or browser during debugging. Running API test suites in GitHub Actions or other CI pipelines. Sharing request collections through a git repository without exposing secrets.
How do I install chapar?
Install on macOS with Homebrew: brew tap chapar-rest/chapar && brew install --cask chapar Install the command-line runner with Homebrew: brew install chapar-rest/chapar/chapar-cli Install from source: clone the repository: git clone https://github.com/chapar-rest/chapar.git Build the application from the cloned directory: cd chapar && go build -o chapar .
Where can I get chapar?
The source code and installation instructions are on GitHub: https://github.com/chapar-rest/chapar

Summary generated by AI from the project's README. GitHub stats refresh daily.

Related projects