天畅

Pocket-Mocker - Browser-native visual API mocking tool for frontend devs.

by
PocketMock is a zero-intrusion tool that injects a visual dashboard into your browser to intercept Fetch/XHR requests. Generate smart data (e.g., @name, @image), toggle error states, and simulate latency without writing code. Includes a Vite plugin for team sync.

Add a comment

Replies

Best
天畅
Maker
📌
Hey everyone!! I'm tianchang, the creator of PocketMock. As a frontend developer, I've always felt friction when mocking APIs. Hardcoding data is messy, setting up proxies (Charles/Fiddler) is a hassle for HTTPS, and headless tools like MSW are great for tests but lack a quick UI for rapid prototyping. So I built PocketMock – a lightweight tool that injects a visual dashboard directly into your browser tab. With PocketMock, you can: Mock visually : Intercept Fetch/XHR requests without touching code. Smart Data : Use `@name`, `@image` to generate realistic JSON instantly. Simulate Chaos : Test slow networks (latency) or 500 errors with one click. Collaborate : Sync rules to your file system (via Vite plugin) and share with your team. It's open-source and requires zero config to start. I'd love to hear your feedback! What's the one feature you wish your current mocking tool had? Thanks!