Use your chromium browser context with cURL.
Find a file
heming b392efa2ff
All checks were successful
CI / test (push) Successful in 47s
CI / build (push) Successful in 1m58s
go fmt
2025-06-20 22:05:09 +02:00
.forgejo/workflows run ci in parallel 2025-06-20 19:05:48 +02:00
internal go fmt 2025-06-20 22:05:09 +02:00
.gitignore Add Forgejo CI workflow and improve build system 2025-06-20 17:26:19 +02:00
CLAUDE.md Update roboter summary 2025-06-20 21:30:02 +02:00
go.mod Make software installable via go install 2025-06-20 19:15:56 +02:00
go.sum Implement real cookie extraction via Chrome DevTools Protocol 2025-06-20 17:58:56 +02:00
LICENSE Add GPLv3 license headers to all source files 2025-06-20 19:39:26 +02:00
main.go Bump version to v0.1.3 2025-06-20 20:25:10 +02:00
main_test.go go fmt 2025-06-20 22:05:09 +02:00
Makefile Add version management and fix release target 2025-06-20 18:59:45 +02:00
README.md Add GPLv3 license headers to all source files 2025-06-20 19:39:26 +02:00

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.