Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cpendery/wock
[WIP] effortlessly mock remote hosts with local files
https://github.com/cpendery/wock
Last synced: 5 days ago
JSON representation
[WIP] effortlessly mock remote hosts with local files
- Host: GitHub
- URL: https://github.com/cpendery/wock
- Owner: cpendery
- License: apache-2.0
- Created: 2023-08-26T07:40:35.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-09-22T08:08:52.000Z (over 1 year ago)
- Last Synced: 2024-10-26T00:29:00.996Z (2 months ago)
- Language: Go
- Homepage:
- Size: 44.9 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# wock
wock is a simple tool for mocking a host with local files
```shell
$ 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](https://github.com/FiloSottile/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.