Skip to content

Deadsquirrel93/quickmock.dev

Repository files navigation

Quickmock

Spin up an HTTP mock endpoint in 30 seconds. No signup, no config files, no SDK. Just a URL.

🇷🇺 Читать на русском: README.ru.md

quickmock.dev →

Quickmock is a free service for developers who need a fake HTTP endpoint right now — to unblock a frontend, simulate an upstream API, or reproduce a flaky edge case. You paste a response body, pick a status code, and get back a public URL that behaves exactly the way you told it to.

No trackers. No analytics. No accounts. See Privacy below.

License: MIT Made with Go No trackers


Quick start (30 seconds)

  1. Open quickmock.dev
  2. Paste your response body (JSON, XML, plain text — anything).
  3. Click Create Mock.
  4. Copy the generated URL: https://quickmock.dev/m/abc123
  5. Use it anywhere:
curl https://quickmock.dev/m/abc123

That's it. No account, no API key, no waiting for an email.

⚠️ Don't paste real secrets. Mocks are public — anyone with the URL can read the response body. Never put real API keys, access tokens, passwords, or production data into a mock.


Features

  • Create a mock in one form — method, body, status, headers, delay.
  • All HTTP methodsGET, POST, PUT, PATCH, DELETE, or ANY.
  • Custom response headers — set Content-Type, CORS headers, anything.
  • Simulate slow APIs — add a delay in milliseconds.
  • Auto-expiring mocks — TTL from 1 hour to 30 days.
  • Live request inspector — see every incoming request, headers, body, IP, in real time.
  • Copy as cURL — one click to grab a ready-made test command.
  • No signup — mocks live in your browser's localStorage, the slug is your only credential.
  • Bilingual UI — English and Russian out of the box; more languages planned.

Roadmap

Optional accounts, mock collections, conditional responses, webhook forwarding, a CLI, public templates.


Privacy

Quickmock is run on enthusiasm, not on ad revenue. It is built to be useful — not to harvest you.

What we do not do:

  • No third-party analytics (Google Analytics, Plausible, Yandex.Metrika, anything).
  • No tracking pixels.
  • No browser fingerprinting.
  • No external JavaScript, no CDN-hosted libraries — HTMX and Alpine.js are served from quickmock.dev.
  • No external fonts — system fonts only.
  • No ads, ever.
  • No accounts, no email collection, no marketing list.
  • No data sold or shared with anyone.
  • No error-reporting service (Sentry/Bugsnag/etc.) by default. If that ever changes, it'll be opt-in and disclosed here.

What we do log, and why:

Data Why Lifetime
Your IP, in Redis Rate limiting (5000 mock hits / IP / 8 hours) 8 hours, then deleted
Creator IP, on each mock Enforce "50 active mocks per IP" Until the mock is deleted or expires. Never shown in the UI.
Requests to your mocks This is literally the inspector feature Up to 100 newest per mock; auto-deleted when the mock expires; you can clear them any time
lang cookie Remember your language choice 1 year, or until you clear cookies. This is the only cookie.
Server-side request logs (stdout) Operational debugging systemd / Docker journal default — rotates with the OS

That's the entire list.


Tech stack

  • Backend: Go 1.22+
  • Frontend: HTMX + Alpine.js + Go templates (no Node.js, no bundler)
  • Storage: PostgreSQL (mocks, request logs) + Redis (rate limiting, ephemeral state)
  • Reverse proxy: Nginx + Let's Encrypt

Author

Made with ❤️ by Nikita Chernykh — backend developer & tech lead.


License

MIT — see LICENSE.


Support the project

Quickmock is built and maintained by one person on evenings and weekends. If it saved you time, you can say thanks:

  • Star the repo — costs nothing and genuinely helps with discoverability.
  • Boosty: boosty.to/deadsquirrel93
  • 💸 Crypto (USDT, TRC20): TDfYMsk1hBxaZX7znM7yF1Zaezj3PRb4k5

For developers who don't want to wait for the backend team.

About

Spin up an HTTP mock endpoint in 30 seconds

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors