{"id":19118898,"url":"https://github.com/yskszk63/chrome-remote-interface-rs","last_synced_at":"2025-07-24T15:32:57.025Z","repository":{"id":48836257,"uuid":"337904934","full_name":"yskszk63/chrome-remote-interface-rs","owner":"yskszk63","description":"Chrome DevTools Protocol Client.","archived":false,"fork":false,"pushed_at":"2021-10-06T11:59:43.000Z","size":319,"stargazers_count":8,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-07-12T01:12:39.339Z","etag":null,"topics":["async","cdp","chrome","chrome-devtools-protocol","chromium","tokio"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yskszk63.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-02-11T01:51:32.000Z","updated_at":"2023-09-07T12:42:11.000Z","dependencies_parsed_at":"2022-09-26T20:20:21.815Z","dependency_job_id":null,"html_url":"https://github.com/yskszk63/chrome-remote-interface-rs","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/yskszk63/chrome-remote-interface-rs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yskszk63%2Fchrome-remote-interface-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yskszk63%2Fchrome-remote-interface-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yskszk63%2Fchrome-remote-interface-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yskszk63%2Fchrome-remote-interface-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yskszk63","download_url":"https://codeload.github.com/yskszk63/chrome-remote-interface-rs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yskszk63%2Fchrome-remote-interface-rs/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266862606,"owners_count":23996866,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-24T02:00:09.469Z","response_time":99,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["async","cdp","chrome","chrome-devtools-protocol","chromium","tokio"],"created_at":"2024-11-09T05:08:01.129Z","updated_at":"2025-07-24T15:32:56.974Z","avatar_url":"https://github.com/yskszk63.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# chrome-remote-interface\n\n[Chrome DevTools Protocol](https://chromedevtools.github.io/devtools-protocol/) client.\n\nCurrently Work In Progress.\n\n### Supported Browser\n\n- Chromium (latest)\n\n### Browser Discovery\n\n1. Using environemnt variable `CRI_CHROME_BIN` if specified.\n2. Search Platform path.\n    - Windows: `C:\\Program Files\\Chromium\\Application\\chrome.exe`\n    - Mac: `/Applications/Chromium.app/Contents/MacOS/Chromium`\n    - Linux: `/usr/bin/chromium` or `/usr/bin/chromium-browser`\n3. Lookup via `PATH` env var.\n\n### Example\n\n```rust\nuse chrome_remote_interface::Browser;\nuse chrome_remote_interface::model::target::{CreateTargetCommand, AttachToTargetCommand};\n\n#[tokio::main(flavor = \"current_thread\")]\nasync fn main() -\u003e anyhow::Result\u003c()\u003e {\n    pretty_env_logger::init();\n    let browser = Browser::launcher()\n        .headless(true) // headless mode (Default)\n        .launch()\n        .await?;\n\n    let client = browser.connect();\n    // Open new page\n    let response = client.request(CreateTargetCommand::builder()\n        .url(\"https://example.org/\".into())\n        .build()\n        .unwrap()\n    ).await?;\n\n    // Attach opened page.\n    let response = client\n        .request(AttachToTargetCommand::new((*response).clone(), Some(true)))\n        .await?;\n\n    // construct attached session.\n    let mut session = client.session(response);\n\n    // DO STUFF\n    // ...\n\n    Ok(())\n}\n```\n\n### License\n\nLicensed under either of\n* Apache License, Version 2.0\n  ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)\n* MIT license\n  ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)\nat your option.\n\n### Contribution\n\nUnless you explicitly state otherwise, any contribution intentionally submitted\nfor inclusion in the work by you, as defined in the Apache-2.0 license, shall be\ndual licensed as above, without any additional terms or conditions.!\n\nLicense: MIT OR Apache-2.0\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyskszk63%2Fchrome-remote-interface-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyskszk63%2Fchrome-remote-interface-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyskszk63%2Fchrome-remote-interface-rs/lists"}