{"id":16131821,"url":"https://github.com/andrewvy/chrome-launcher","last_synced_at":"2025-03-18T14:31:28.568Z","repository":{"id":57482670,"uuid":"100896241","full_name":"andrewvy/chrome-launcher","owner":"andrewvy","description":"Launch managed Chrome processes easily in Elixir","archived":false,"fork":false,"pushed_at":"2017-11-06T20:33:17.000Z","size":16,"stargazers_count":5,"open_issues_count":4,"forks_count":7,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-24T01:20:28.227Z","etag":null,"topics":["elixir","headless-chrome"],"latest_commit_sha":null,"homepage":"https://hex.pm/packages/chrome_launcher","language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/andrewvy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-08-21T00:09:43.000Z","updated_at":"2023-09-08T17:28:56.000Z","dependencies_parsed_at":"2022-09-02T06:21:01.902Z","dependency_job_id":null,"html_url":"https://github.com/andrewvy/chrome-launcher","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewvy%2Fchrome-launcher","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewvy%2Fchrome-launcher/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewvy%2Fchrome-launcher/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewvy%2Fchrome-launcher/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andrewvy","download_url":"https://codeload.github.com/andrewvy/chrome-launcher/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243933431,"owners_count":20370986,"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":["elixir","headless-chrome"],"created_at":"2024-10-09T22:27:25.115Z","updated_at":"2025-03-18T14:31:28.313Z","avatar_url":"https://github.com/andrewvy.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Chrome Launcher\n\nThis Elixir library makes launching headless Google Chrome processes with custom options easily.\n\nUtilizes [erlexec](https://github.com/saleyn/erlexec) to manage processes under the hood.\n\nOnly supports OSX + Linux at this time.\n\n---\n\n### Installation:\n\n```elixir\n{:chrome_launcher, \"~\u003e 0.0.4\"}\n```\n\n### Usage:\n\n```elixir\n{:ok, pid} = ChromeLauncher.launch([\n  remote_debugging_port: 9233\n])\n```\n\n\u003e Or in a supervisor (1.5+)\n\n```elixir\nchildren = [\n  {ChromeLauncher, [remote_debugging_port: 9222]}\n]\n\nSupervisor.start_link(children, strategy: :one_for_one)\n```\n\n\u003e With multiple instances in a supervisor (1.5+)\n\n```elixir\nchildren = [\n  Supervisor.child_spec({ChromeLauncher, [remote_debugging_port: 9222]}, id: :chrome_1),\n  Supervisor.child_spec({ChromeLauncher, [remote_debugging_port: 9223]}, id: :chrome_2),\n]\n\nSupervisor.start_link(children, strategy: :one_for_one)\n```\n\n\u003e Pre 1.5\n\n```elixir\nimport Supervisor.Spec\n\nchildren = [\n  worker(ChromeLauncher, [[remote_debugging_port: 9222]], id: :chrome_1),\n  worker(ChromeLauncher, [[remote_debugging_port: 9223]], id: :chrome_2),\n]\n\nSupervisor.start_link(children, strategy: :one_for_one)\n```\n\nAvailable options:\n\n- `remote_debugging_port`: Configures `--remote-debugging-port=PORT` flag for connecting to the chrome process.\n- `flags`: Flags to be passed in when starting the headless chrome process. (Overrides defaults set by `:chrome_launcher`)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewvy%2Fchrome-launcher","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandrewvy%2Fchrome-launcher","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewvy%2Fchrome-launcher/lists"}