/wock

[WIP] effortlessly mock remote hosts with local files

Primary LanguageGoApache License 2.0Apache-2.0

wock

wock is a simple tool for mocking a host with local files

$ wock install
Successfully installed/verified local CA
$ wock nytimes.com html
mocking host 'nytimes.com' with files from /c/users/exampleuser/documents/html

image

wock simplifies managing certificates, adjusting host DNS resolution, serving local build files all through one unified interface. wock also provides its locally-trusted certificates using mkcert's local CA in the system root store.

Supported Browsers

OS Chromium (Chrome, Edge, etc.) Firefox
Linux*
Windows
MacOS

* = Not all linux distros are supported. If it's supported by mkcert, it's supported by wock.