# loophole
## Notes
Main benefits over [[ngrok]]:
- The service appears to have a static IP
- Publishing to HTTPS works out of the box (and is actually the default behavior)
## Docs
https://loophole.cloud/docs
- Not that much information
## Setup
### Download, unzip with Finder
https://loophole.cloud/download/
### CLI setup
```bash
# Move into $PATH
mv loophole /usr/local/bin
# Authenticate - may need to approve unverified developer
loophole account login
Please open https://loophole.eu.auth0.com/activate and
use NQPN-RFTD code to log in
# Login with Github
9:12PM INF Logged in successfully
# Expose localhost:8000
# Local services need to be accessible via 127.0.0.1:8000,
# not just localhost; e.g. php -S 127.0.0.1:8000 instead of
# php -S localhost:8000
loophole http 8000 --hostname maxfangx
# Site accessible over HTTPS at
# https://maxfangx.loophole.site/
curl -v maxfangx.loophole.site
```