r/coolgithubprojects • u/ProfessionalRip126 • 2m ago
I built a free API client that reads your code: it finds every endpoint, pre-fills the requests, then tests, mocks and load tests them. No account, no cloud.
api.liveI'm the developer. Every API client I've used makes me describe my API twice: once in the code, then again by hand in a "collection" that goes stale the first time I rename a field. I also ended up with four tools: a client, a mock server, a load generator and a scheduler. So I built one that starts from the code.
44-second demo: https://www.youtube.com/watch?v=ktToD_UVXx8
Smart Indexing of the codebase across 20's of programming languages and frameworks like openapi, python, java, rust etc. to pre-populate the payload and request payload, params, auth, headers etc.
What it does
Reads your code
- api index finds every endpoint in a repo: 125 frameworks across 28 languages (Express, Next.js, NestJS, FastAPI, Django, Rails, Spring, Gin, Laravel and more), or an OpenAPI file. It only reads the code, it never runs it.
- Every request is pre-filled from your types, with required and optional fields marked and realistic values (an email looks like an email).
- Re-indexing picks up new routes and leaves the files you edited alone.
Tests
- Flows: chain requests into a test. Send, check, save a value, use it in the next step. 50+ step types including branch, loop, poll, run in parallel and wait for a webhook.
- Build a flow from plain sentences in the app, or write it as text in APL, a small language I made for API tests. One line is one action.
- It can fire 20 copies of a request at the same moment, which catches double-charge and double-booking bugs that one-at-a-time tests miss.
- Export a flow to 20 test frameworks, including Jest, pytest, Playwright, Cypress and k6.
Chain multiple api validation steps and on top of them validate scenarios like concurrency, idempotency, double charge. Control the flows like you control the testing in programming languages without the overhead of using a PL.
Mocks
- A simulator for the services you depend on, each on its own local port. Generated from an OpenAPI file, a saved response or recorded traffic.
- Stateful (POST stores, GET reads it back), with failures on demand: error rates, timeouts, delays, dropped connections.
- It can deliver webhooks with the problems real providers have: duplicates, reordering and bad signatures.
Load testing
- Load test the request you just debugged, or a whole flow, with no script.
- Concurrent users, fixed arrival rate, ramp, spike and soak. Thresholds like p95 < 150ms fail the run, so it works as a CI gate.
- A Rust engine that reaches 90,000+ requests a second from a laptop against a local target.
Perform load test, schedule them, and chain them in existing flows to make a comprehensive integration testing layer.
Everything else
- Capture: a local proxy records real traffic and turns it into flows, mocks or a draft OpenAPI spec. Tokens and cookies are redacted before they touch disk.
- Health: failing checks, flaky tests and which endpoints your tests have actually hit.
- Monitors: run any request or flow on a schedule.
- API design: a visual OpenAPI editor, a linter, and a breaking-change check for pull requests.
- A CLI with JSON, JUnit and HTML output for CI.
- An MCP server with 61 tools, so Claude Code or Cursor can index the repo, send requests, run flows and start mocks: claude mcp add apilive -- npx -y u/apilivehq/cli mcp
What stays on your machine
Everything. There is no account and no cloud workspace. Requests and tests are plain YAML files in your repo, so they go through code review like the rest of your code. Secrets live in git-ignored files. The app talks only to the hosts you send requests to.
What it isn't
- Not open source yet. It's free, and I plan to open source it in the future.
- Not finished. This is v0.1 from one person, so expect rough edges.
- The desktop app is Mac only. The CLI and MCP server run on Mac, Linux and Windows.
- Load tests run from one machine.
- Postman has team workspaces and hosted docs, and Bruno is open source with a bigger community. If those matter most to you, they're the better pick.
Try it
npm i -g u/apilivehq/cli
brew install --cask apilivehq/tap/api-live
Or download from https://api.live. It imports Postman, Bruno and Insomnia collections, and exports back to Postman and OpenAPI, so you're not locked in.
The feedback I want most: run api index on your project and tell me which routes it missed, and which framework you use.

