All apps

Smocker

Verified
smocker-dev/smocker 1.3k stars MIT
View source

An HTTP mock server for tests and development, with a web interface for registering mocks and reading the request history.

Smocker is an HTTP mock server: you register routes with canned responses as YAML or JSON, then point your code or tests at the mock port to get those answers back. A separate configuration port serves a web interface where you add mocks and read the history of the requests received.

Replaces Postman mock servers Replaces WireMock Cloud Developer tools

Why people choose Smocker

Mocks as YAML or JSON

Routes and their responses are written as YAML or JSON and registered through the configuration API, and a JSON schema is included for editor validation and completion.

Two ports, two jobs

Port 8080 serves the mocks, while port 8081 takes the configuration calls and hosts the web interface.

History of received requests

The web interface keeps a log of the requests the mock server received, so you can see what your code actually sent.

Like Smocker? Install it on your own server

One command installs PanelAlpha Engine and gets Smocker running on your server, with no time limit.

curl -fsSL get.panelalpha.com/engine | sh -s -- --repo github.com/smocker-dev/smocker

Run it as root on your Linux server.

You’ll find server requirements and step-by-step instructions in our installation guide.

Is this your repository?

Add a badge to your README and give your users a free live preview: one click, no sign-up.
Get the badge

Pick a badge

Show them on
Badge

Add it to your README

Format
[![Try it for free on GO!](https://go.panelalpha.com/button/github.com/smocker-dev/smocker.svg?style=free)](https://go.panelalpha.com/repo/github.com/smocker-dev/smocker)

The badge links to this page, where your users start the preview. Markdown shows the light badge to everyone; HTML shows the dark one to readers who use a dark theme on GitHub.

Other apps you may like

Uptime monitoring
Uptime Kuma screenshot
UptimeRobot Pingdom +1
95k Monitoring

A self-hosted monitoring tool that checks your websites, servers and services on a schedule and reports the results in one dashboard. Each monitor shows response time, uptime for the day and the month, certificate expiry and a ping chart, and failures go out to Telegram, Discord, Slack, email or one of 90+ other services. Status pages can be mapped to your own domains.

Explore app
REST and GraphQL API client
Hoppscotch screenshot
Postman Insomnia
81k Developer tools

Hoppscotch is an API client that runs in the browser: pick a method, type an endpoint and read the response status, headers and body. Requests are grouped into nested collections and environments, with pre-request and post-request JavaScript for variables and tests. It is also available as a PWA, a desktop app and a CLI, and self-hosting adds team workspaces.

Explore app
VS Code in the browser
code-server screenshot
GitHub Codespaces Gitpod
80k Developer tools

code-server runs VS Code on a remote machine and serves the whole editor in your browser, so one development environment follows you across devices. You install it on a Linux host with a script or a container, open the URL and log in with the password from its config file. Extensions, the integrated terminal and your files all live on the server.

Explore app