TopGit theo dõi apify/impit trên GitHub, đã đạt 611 sao. impit | rust library for browser impersonation
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
impit is a rust library that allows you to impersonate a browser and make requests to websites. It is built on top of reqwest, rustls and tokio and supports HTTP/1.1, HTTP/2, and HTTP/3.
The library provides a simple API for making requests to websites, and it also allows you to customize the request headers, use proxies, custom timeouts and more.
use impit::cookie::Jar;
use impit::{impit::Impit, fingerprint::database as fingerprints};
#[tokio::main]
async fn main() {
let impit = Impit::<Jar>::builder()
.with_fingerprint(fingerprints::firefox_144::fingerprint())
.with_http3()
.build()
.unwrap();
let response = impit
.get(String::from("https://example.com"), None, None)
.await;
match response {
Ok(response) => {
println!("{}", response.text().await.unwrap());
}
Err(e) => {
println!("{:#?}", e);
}
}
}
Comparison
Median of 11 runs of 2000 sequential requests to a local HTTP/2 server, 1 KiB JSON responses over one warm connection. Profiles counts the impersonation targets each API exposes.
Python
Package
req/s
Wheel
Profiles
Backend
primp
3972
6.6 MB
n/a
Rust
rnet
3400
3.7 MB
75
Rust
impit
3047
5.2 MB
20
Rust
curl_cffi
2450
13.5 MB
38
C (libcurl)
tls-client
2331
41.3 MB
51
Go
httpx (no impersonation)
1554
0.1 MB
—
Python
Node.js
Package
req/s
Install
Profiles
Backend
impit
1978
10.7 MB
20
Rust
got-scraping
1690
4.8 MB
3
Node.js TLS
cycletls
396
133.0 MB
raw JA3
Go subprocess
undici (no impersonation)
3157
1.9 MB
—
Node.js
Measured by benchmarks/ on linux-x64, 2026-10-01. Rerun it on your own hardware.
Other projects
If you'd prefer to use impit from a Node.js application, check out the impit-node folder, or download the package from npm:
npm install impit
The interface is the same as the native fetch.
import { Impit } from 'impit';
// Set up the Impit instance
const impit = new Impit({
browser: "chrome", // or "firefox"
proxyUrl: "http://localhost:8080",
ignoreTlsErrors: true,
});
// Use the `fetch` method as you would with the built-in `fetch` function
const response = await impit.fetch("https://example.com");
console.log(response.status);
console.log(response.headers);
console.log(await response.text());
// console.log(await response.json());
// ...
Usage from Rust
Technically speaking, the impit project is a somewhat thin wrapper around reqwest that provides a more ergonomic API for making requests to websites.
The real strength of impit is that it uses patched versions of rustls and other libraries that allow it to make browser-like requests.
Note that if you want to use this library in your rust project, you have to add the following dependencies to your Cargo.toml file:
Without the patched dependencies, the project won't build.
Note that you also have to build your project with rustflags = "--cfg reqwest_unstable", otherwise, the build will also fail.
This is because impit uses unstable features of reqwest (namely http3 support), which are not available in the stable version of the library.
apify/impit có 611 sao GitHub — tải lại trang để xem số mới nhất, hoặc xem trực tiếp github.com/apify/impit. TopGit phản chiếu số sao của GitHub nhưng không cam kết đến từng phút.
apify/impit có tag gì không?
Bản đồng bộ chưa ghi nhận topic GitHub nào cho apify/impit. GitHub topics hiển thị ở thanh bên phải trang repo — đó là nơi đáng kiểm tra nhất.
apify/impit còn đang phát triển không?
Commit gần nhất trên apify/impit là 13 ngày trước (theo timestamp GitHub). Repo có 49 fork — một chỉ báo về mức độ quan tâm của cộng đồng.
apify/impit viết bằng ngôn ngữ gì?
apify/impit chủ yếu viết bằng Rust. Trường "language" của GitHub dựa trên phần lớn byte ở nhánh mặc định.
Đọc thêm về apify/impit ở đâu?
Trang TopGit này là một snapshot — tab "Readme" hiển thị nguyên văn README của repo (đã bỏ link, giữ ảnh). Repo GitHub ở github.com/apify/impit là nguồn chính thức.
Đọc đầy đủ README ở tab phía trên.
Muốn nghe thêm một ý kiến về impit?
Hỏi một AI đọc được trang này — một cú bấm là có ngay nhận định về impit.