HTTP/HTTPS proxy that impersonates browser TLS fingerprints using curl_cffi
Project description
impersonate-proxy
HTTP/HTTPS proxy that impersonates browser TLS fingerprints using curl_cffi that can be effective in avoiding blocks against non-browser clients.
[!NOTE] This project started as a fork of hauxir/tls-impersonate-proxy and has now evolved beyond a pull request to merge. This impersonate-proxy project is maintained at psaintelligence/impersonate-proxy.
Pypi: pypi.org/project/impersonate-proxy
GHCR: github.com/psaintelligence/impersonate-proxy/pkgs/container
Quick Start (Docker)
Spin up the proxy container:
docker run --rm -p 8899:8899 \
-v /tmp/impersonate-certs:/root/.config/impersonate-proxy \
ghcr.io/psaintelligence/impersonate-proxy:latest
Once started, configure your client to trust the CA and use the proxy:
# Export the generated CA cert to trust the proxy
export SSL_CERT_FILE=/tmp/impersonate-certs/ca.crt
# Issue request through the proxy
curl --silent -x http://127.0.0.1:8899 https://tls.browserleaks.com/json
Quick Start (pip / uv)
Install and start the proxy locally:
# Install via pipx from pypi
pipx install impersonate-proxy
# Or install via uv from source
uv pip install git+https://github.com/psaintelligence/impersonate-proxy.git
# Start the proxy (default: 127.0.0.1:8899)
impersonate-proxy
Documentation
Full guides and configuration details are available at psaintelligence.github.io/impersonate-proxy.
- Installation Guide: Setup, CLI arguments, and Docker.
- How It Works: Detailed information about TLS impersonation and HTTPS decryption.
- Development Guide: Building, running benchmarks, and tests.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file impersonate_proxy-0.3.0.tar.gz.
File metadata
- Download URL: impersonate_proxy-0.3.0.tar.gz
- Upload date:
- Size: 27.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f510a788783e3724cb6b917d190756ac3d1b918ece35f5dad0956d1d6ec71982
|
|
| MD5 |
12f67d9c3181898b98d78b4bb30ab01a
|
|
| BLAKE2b-256 |
3d0a5c9e31e7a32f05798b6fe98805d4f77e7f7aed93e214dd1e2314e14d91cb
|
Provenance
The following attestation bundles were made for impersonate_proxy-0.3.0.tar.gz:
Publisher:
publish.yml on psaintelligence/impersonate-proxy
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
impersonate_proxy-0.3.0.tar.gz -
Subject digest:
f510a788783e3724cb6b917d190756ac3d1b918ece35f5dad0956d1d6ec71982 - Sigstore transparency entry: 2211865261
- Sigstore integration time:
-
Permalink:
psaintelligence/impersonate-proxy@20c7eb88ca6e3f914bc1ce05a768c06087e2dd26 -
Branch / Tag:
refs/tags/v0.3.0 - Owner: https://github.com/psaintelligence
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@20c7eb88ca6e3f914bc1ce05a768c06087e2dd26 -
Trigger Event:
push
-
Statement type:
File details
Details for the file impersonate_proxy-0.3.0-py3-none-any.whl.
File metadata
- Download URL: impersonate_proxy-0.3.0-py3-none-any.whl
- Upload date:
- Size: 14.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
85ac1ea6da94e6d648ed9c24ffaafd8776f5e8616088ce8c9d833eb1bf128cb9
|
|
| MD5 |
c2542a8462d789ba4da00f2ca8dede56
|
|
| BLAKE2b-256 |
c9df02430e3d5bed67294e95e217597e4a6a67a120552c8473460542c65cfa1f
|
Provenance
The following attestation bundles were made for impersonate_proxy-0.3.0-py3-none-any.whl:
Publisher:
publish.yml on psaintelligence/impersonate-proxy
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
impersonate_proxy-0.3.0-py3-none-any.whl -
Subject digest:
85ac1ea6da94e6d648ed9c24ffaafd8776f5e8616088ce8c9d833eb1bf128cb9 - Sigstore transparency entry: 2211865281
- Sigstore integration time:
-
Permalink:
psaintelligence/impersonate-proxy@20c7eb88ca6e3f914bc1ce05a768c06087e2dd26 -
Branch / Tag:
refs/tags/v0.3.0 - Owner: https://github.com/psaintelligence
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@20c7eb88ca6e3f914bc1ce05a768c06087e2dd26 -
Trigger Event:
push
-
Statement type: