Open source · v0.3.0 out now

Your API collections,
in Git.

Peafowl is an open-source, local-first API client. Requests are plain JSON files you review in pull requests. No account, no cloud sync, no subscription.

  • Free for teams of any size
  • Windows · macOS · Linux
  • ~5 MB on Windows
POST
{{baseUrl}}/products
→ http://localhost:8790/products
Edit the body if you like, then hit Send Ctrl + Enter

Simulated in your browser. Nothing is sent anywhere.

How it works

It's just files.

Every request is one readable JSON file, with stable IDs and keys in a fixed order. A change in the app becomes a one-line diff in your pull request, and two people editing different requests never conflict.

In Peafowl
On disk
  • my-api/
  • collections/
  • Store API/
  • Products/
  • environments/
Try it: change the price
 
  • One file per request. Small, readable files that merge cleanly and review well in pull requests.
  • Lossless saves. Unknown keys are kept, big numbers are never rounded, and line endings stay LF.
  • Git built in. Stage, commit, branch, pull and push from the app, using the Git you already have.

Built for teams

Share requests the way you share code.

Branch, review and merge API changes in the same pull requests as the code they test. Everyone gets the same requests, and each person keeps their own secrets.

You add-refund-order
main add-refund-order Created
Store API
Orders
GET List orders
GET Get order
POST Refund order new
You Source control
A Store API/Orders/Refund order.request.json
Add Refund order request Commit
Secret scan: no secrets found
Pushed to origin/add-refund-order
Sam Pull request on your Git host
Add Refund order request #42 +13 −0
Store API/Orders/Refund order.request.json
+ {
+ "formatVersion": 1,
+ "id": "01a2f3c4-5b6d-7e8f-9a0b-1c2d3e4f5a6b",
+ "name": "Refund order",
+ "method": "POST",
+ "url": "{{baseUrl}}/orders/{{orderId}}/refund",
+ "body": {
+ "type": "json",
+ "content": {
+ "reason": "damaged"
+ }
+ }
+ }
Sam approved these changes
You History
Merged into main
Sam main
Pulled 1 commit from origin/main
Orders
POST Refund order new
apiToken secret ••••••••••
Saved in Sam's credential store, not in Git
  • No seats, no team plan Your team is whoever can access the repository. Free for teams of any size.
  • Works with any Git host GitHub, GitLab, Bitbucket, Azure DevOps or your own server, using the Git and credentials you already have.
  • Conflicts you can't get wrong Keep yours or theirs, or open your editor. A file with conflict markers or broken JSON can't be marked resolved.

Private by default

Secrets stay out of Git.

Mark a variable as secret and only its name is committed. The value stays in your operating system's credential store. If a token ends up in a file anyway, the pre-commit scan catches it.

  1. Shared valueIn Development.json, committed for the whole team.
  2. Local overrideIn Development.local.json, gitignored and just for you.
  3. SecretIn your OS credential store, never in the workspace.
GET Get orders Headers
Authorization Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJkZXYifQ.4Xk2…{{apiToken}}

This token is typed in directly, so it would be committed to Git.

apiToken is saved in your credential store. Only its name goes into Git.

Source control · main
M Store API/Orders/Get orders.request.json

Variables

Know exactly where every value comes from.

{{variables}} resolve through seven layers, from lowest to highest. Hover one in the app and Peafowl shows which layer it comes from. Try it here: switch layers on and off.

Resolved URL
/products

Bring your stuff

Moving in takes one paste.

Import OpenAPI, Swagger, Postman and Bruno collections. Every import lists anything it couldn't carry over, so nothing is lost without you knowing. Paste a cURL command into the URL bar and it becomes a request. Try one here:

Import OpenAPI 3.0 / 3.1Swagger 2.0Postman v2.1BrunocURL
Export OpenAPI 3.1Postman v2.1BrunocURLJavaScript fetchPython requests
Your cURL command
New request

Features

Everything you send APIs with, none of the baggage.

Every way you talk to APIs

Any HTTP method, with JSON, XML, form, multipart, binary and GraphQL bodies. Also WebSocket connections and live server-sent events.

  • HTTP
  • GraphQL
  • WebSocket
  • SSE

OAuth 2.0 that just works

Authorization code with PKCE in your own browser, or client credentials. Tokens refresh themselves and stay in your credential store.

Scripts and tests, sandboxed

JavaScript pre-request and post-response scripts with chai-style expect(). They run in QuickJS with no file, process or network access.

Run whole collections

Send every request in a collection or folder, once per row of a CSV or JSON data file. Export the results as JUnit XML or JSON.

OpenAPI, both ways

Import a spec, export OpenAPI 3.1, and sync with a new spec version. You review every change, and your own edits are kept.

Git, without the terminal

Stage, commit, amend, branch, merge, stash and resolve conflicts, using your installed Git and its credentials. See how teams use it.

Also included: a command palette, keyboard shortcuts for everything, light and dark themes, code generation, and signed updates that always ask before installing.

Small and native

  • ~5 MB installer on Windows
  • 0 accounts, sign-ins or cloud sync needed
  • 0 telemetry. Crash reports stay on your computer
  • MIT licensed, free for teams of any size

Built with Tauri and Rust. Requests are sent from Rust, not a browser, so CORS rules never get in your way. They use your system's trusted certificates and proxy.

Guided tour

Look around in two minutes.

The sample workspace is a guided tour that works straight away against free public APIs. It covers requests, auth, scripts, the runner and the protocols. No setup or keys needed.

  1. 1

    Install Peafowl and open it.

  2. 2

    Choose Clone repository on the start screen.

  3. 3

    Paste this URL and press Clone:

https://github.com/Coding-Hands/sample-workspace.git

Get Peafowl

Version 0.3.0 · free and open source. It updates itself on Windows, macOS and AppImage, and always asks first.

You'll also want Git 2.25 or newer for the Git features. All releases and checksums.

Open source

Built in the open, MIT licensed.

Read the code, file an issue, send a pull request. Bug reports, ideas and fixes are all welcome.

  • No account Nothing to sign up for, ever.
  • No telemetry Peafowl doesn't phone home. Crash reports stay on your computer.
  • Your files A documented format you can edit by hand or generate.