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.
Open source · v0.3.0 out now
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.
Simulated in your browser. Nothing is sent anywhere.
How it works
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.
Built for teams
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.
Private by default
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.
Development.json, committed for the whole team.Development.local.json, gitignored and just for you. 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.
Variables
{{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.
Bring your stuff
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:
Features
Any HTTP method, with JSON, XML, form, multipart, binary and GraphQL bodies. Also WebSocket connections and live server-sent events.
Authorization code with PKCE in your own browser, or client credentials. Tokens refresh themselves and stay in your credential store.
JavaScript pre-request and post-response scripts with chai-style expect(). They run in QuickJS with no
file, process or network access.
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.
Import a spec, export OpenAPI 3.1, and sync with a new spec version. You review every change, and your own edits are kept.
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.
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
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.
Install Peafowl and open it.
Choose Clone repository on the start screen.
Paste this URL and press Clone:
https://github.com/Coding-Hands/sample-workspace.git Version 0.3.0 · free and open source. It updates itself on Windows, macOS and AppImage, and always asks first.
Windows 10 or 11
Also: .msi
macOS 10.15 or later · universal
x86_64 · AppImage, DEB or RPM
You'll also want Git 2.25 or newer for the Git features. All releases and checksums.
Open source
Read the code, file an issue, send a pull request. Bug reports, ideas and fixes are all welcome.