New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@circlesac/cgrok

Package Overview
Dependencies
Maintainers
2
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@circlesac/cgrok

🚀 An ngrok-like CLI that uses Cloudflare for secure tunneling

latest
Source
npmnpm
Version
26.4.1
Version published
Weekly downloads
7
-22.22%
Maintainers
2
Weekly downloads
 
Created
Source

@circlesac/cgrok

An ngrok-compatible CLI that uses Cloudflare Tunnel for secure tunneling.

Quick Start

# 1. Install cloudflared
brew install cloudflared

# 2. Add your Cloudflare API token
npx @circlesac/cgrok config add-authtoken <YOUR_API_TOKEN> --account <ACCOUNT_NAME>

# 3. Start a tunnel
npx @circlesac/cgrok http 8080

Create an API token at https://dash.cloudflare.com/profile/api-tokens with these permissions:

  • Zone > DNS > Edit
  • Account > Cloudflare Tunnel > Edit
  • Zone > Zone > Read

Usage

# Random subdomain
cgrok http 8080

# Custom subdomain
cgrok http 8080 --url myapp

# Custom domain (full)
cgrok http 8080 --url myapp.example.com

# ngrok-compatible --domain flag
cgrok http 8080 --domain myapp

# HTTPS local server
cgrok http https://localhost:8443

# Forward to another host
cgrok http servername.local:9000

Keywords

cli

FAQs

Package last updated on 11 Apr 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts