{"id":13804650,"url":"https://github.com/wendigo/chrome-reactive-kotlin","last_synced_at":"2025-07-22T13:35:16.296Z","repository":{"id":46245375,"uuid":"83794841","full_name":"wendigo/chrome-reactive-kotlin","owner":"wendigo","description":"Headless Chrome DevTools Protocol Client (RxJava3 + Kotlin)","archived":false,"fork":false,"pushed_at":"2021-11-04T15:21:18.000Z","size":102772,"stargazers_count":77,"open_issues_count":3,"forks_count":11,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-04-06T14:11:18.784Z","etag":null,"topics":["chrome","chrome-browser","chrome-devtools-protocol","debugging-tool","headless-chrome","kotlin","protocol","remote","remote-control","remote-execution","rxjava","rxjava2"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","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/wendigo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-03-03T12:13:21.000Z","updated_at":"2024-11-14T05:51:26.000Z","dependencies_parsed_at":"2022-09-19T07:30:43.677Z","dependency_job_id":null,"html_url":"https://github.com/wendigo/chrome-reactive-kotlin","commit_stats":null,"previous_names":[],"tags_count":161,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wendigo%2Fchrome-reactive-kotlin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wendigo%2Fchrome-reactive-kotlin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wendigo%2Fchrome-reactive-kotlin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wendigo%2Fchrome-reactive-kotlin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wendigo","download_url":"https://codeload.github.com/wendigo/chrome-reactive-kotlin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251881655,"owners_count":21659137,"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","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":["chrome","chrome-browser","chrome-devtools-protocol","debugging-tool","headless-chrome","kotlin","protocol","remote","remote-control","remote-execution","rxjava","rxjava2"],"created_at":"2024-08-04T01:00:51.868Z","updated_at":"2025-05-01T13:31:22.993Z","avatar_url":"https://github.com/wendigo.png","language":"Kotlin","funding_links":[],"categories":["Chrome DevTools Protocol"],"sub_categories":["Libraries for driving the protocol (or a layer above)"],"readme":"# chrome-reactive-kotlin v0.7.1\n\n[![Maven Central](https://maven-badges.herokuapp.com/maven-central/pl.wendigo/chrome-reactive-kotlin/badge.svg)](https://maven-badges.herokuapp.com/maven-central/pl.wendigo/chrome-reactive-kotlin) [![Javadocs](https://www.javadoc.io/badge/pl.wendigo/chrome-reactive-kotlin.svg)](https://www.javadoc.io/doc/pl.wendigo/chrome-reactive-kotlin) [![Tests](https://github.com/wendigo/chrome-reactive-kotlin/actions/workflows/tests-with-gradle.yml/badge.svg)](https://github.com/wendigo/chrome-reactive-kotlin/actions/workflows/tests-with-gradle.yml) [![Update Status](https://github.com/wendigo/chrome-reactive-kotlin/workflows/Update%20protocol%20to%20ToT/badge.svg)](https://github.com/wendigo/chrome-reactive-kotlin/actions?workflow=Update+protocol+to+ToT) [![Dependabot Status](https://api.dependabot.com/badges/status?host=github\u0026repo=wendigo/chrome-reactive-kotlin)](https://dependabot.com)\n\n**chrome-reactive-kotlin** is a low level [Chrome DevTools Protocol](https://chromedevtools.github.io/debugger-protocol-viewer/) client written in [Kotlin](https://kotlinlang.org) and leveraging [RxJava3](https://github.com/ReactiveX/RxJava) for easy composability. \n\nLibrary exposes all protocol domains in a single, cohesive and highly composable API. It supports both headless and standalone Chrome versions and supports creating isolated environments via [BrowserContext](https://chromedevtools.github.io/debugger-protocol-viewer/tot/Target/) from [Target]((https://chromedevtools.github.io/debugger-protocol-viewer/tot/Target/)) domain and flatted sessions mode (see: [http://crbug.com/991325](http://crbug.com/991325)).\n\nFor debugging purposes you can use my other project: [chrome-protocol-proxy](https://github.com/wendigo/chrome-protocol-proxy).\n\nPlease note that most up-to-date protocol is used at the moment.\n\n**Documentation can be found on [https://wendigo.github.io/chrome-reactive-kotlin/](https://wendigo.github.io/chrome-reactive-kotlin/).**\n\n# Usage\n\n## Gradle\n\n`build.gradle`:\n```groovy\nimplementation 'pl.wendigo:chrome-reactive-kotlin:0.7.1'\n```\n\n`build.gradle.kts`:\n```kotlin\nimplementation(\"pl.wendigo:chrome-reactive-kotlin:0.7.1\")\n```\n\n## Maven\n\n`pom.xml`:\n\n```xml\n\u003cdependency\u003e\n  \u003cgroupId\u003epl.wendigo\u003c/groupId\u003e\n  \u003cartifactId\u003echrome-reactive-kotlin\u003c/artifactId\u003e\n  \u003cversion\u003e0.7.1\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\n# Example\n\nRun headless chrome:\n\n```\ndocker container run -d -p 9222:9222 eu.gcr.io/zenika-hub/alpine-chrome:89 --no-sandbox --remote-debugging-address=0.0.0.0 --remote-debugging-port=9222 about:blank\n```\n\nAnd now execute:\n\n```kotlin\nimport pl.wendigo.chrome.api.page.NavigateRequest\n\nfun main() {\n    val chrome = Browser.builder()\n        .withAddress(\"127.0.0.1:9222\")\n        .build()\n\n    chrome.use { browser -\u003e\n        browser.target(\"about:blank\").use { target -\u003e\n            await {\n                target.Page.enable()\n            }\n\n            await {\n                target.Page.navigate(NavigateRequest(url = \"https://github.com/wendigo/chrome-reactive-kotlin\")).flatMap { (frameId) -\u003e\n                    target.Page.frameStoppedLoading().filter {\n                        it.frameId == frameId\n                    }.take(1).singleOrError()\n                }\n            }\n        }\n    }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwendigo%2Fchrome-reactive-kotlin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwendigo%2Fchrome-reactive-kotlin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwendigo%2Fchrome-reactive-kotlin/lists"}