churl

command module
v0.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 20, 2025 License: GPL-3.0 Imports: 5 Imported by: 0

README

churl

Authenticated cURL via browser context. Leverages a running Chromium browser's debugging interface to issue HTTP requests with automatic cookie and CSRF token extraction.

Installation

go install src.heming.dev/heming/churl@latest

You can also download a pre-built binary and put it somewhere in your $PATH.

Or build from source:

git clone https://src.heming.dev/heming/churl.git
cd churl
make build

Features

  • Browser integration via Chrome DevTools Protocol
  • Automatic cookie and CSRF token extraction
  • Transparent cURL argument passthrough

Usage

Launch browser with debugging enabled:

churl

Show connection information:

churl info

Make authenticated requests:

churl https://api.example.com/data
churl https://api.example.com/data -X POST -d '{"key":"value"}'

All cURL options are supported and passed through transparently.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL