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
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.
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.