@circlesac/cgrok
v26.2.1
Published
๐ An ngrok-like CLI that uses Cloudflare for secure tunneling
Downloads
223
Readme
@circlesac/cgrok
A Cloudflare-based ngrok CLI compatible program that allows you to create secure tunnels to your local development environment.
Prerequisites
- Cloudflare account with API token
cloudflared
Usage
Use with npx (recommended)
npx @circlesac/cgrokConfigure
npx @circlesac/cgrok config add-authtoken <YOUR_API_TOKEN>Examples
# Tunnel to localhost:8080 from an ephemeral domain
npx @circlesac/cgrok http 8080
# Tunnel to localhost:8080 from https://<subdomain>.<domain>
npx @circlesac/cgrok http 8080 --url <subdomain>
# Tunnel to localhost:8080 from https://<full_domain>
npx @circlesac/cgrok http 8080 --url <full_domain>