{"id":16693850,"url":"https://github.com/deepsweet/firefox-headless-remote","last_synced_at":"2025-04-10T01:21:45.257Z","repository":{"id":43275704,"uuid":"144044630","full_name":"deepsweet/firefox-headless-remote","owner":"deepsweet","description":"🐳 Dockerized Firefox in headless Marionette mode","archived":false,"fork":false,"pushed_at":"2022-03-10T15:07:03.000Z","size":25,"stargazers_count":17,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-24T03:03:39.493Z","etag":null,"topics":["docker","firefox","headless","marionette","remote"],"latest_commit_sha":null,"homepage":"https://hub.docker.com/r/deepsweet/firefox-headless-remote/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/deepsweet.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-08-08T17:10:04.000Z","updated_at":"2024-11-27T06:46:02.000Z","dependencies_parsed_at":"2022-09-22T23:23:16.910Z","dependency_job_id":null,"html_url":"https://github.com/deepsweet/firefox-headless-remote","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepsweet%2Ffirefox-headless-remote","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepsweet%2Ffirefox-headless-remote/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepsweet%2Ffirefox-headless-remote/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepsweet%2Ffirefox-headless-remote/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deepsweet","download_url":"https://codeload.github.com/deepsweet/firefox-headless-remote/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248138238,"owners_count":21053837,"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":["docker","firefox","headless","marionette","remote"],"created_at":"2024-10-12T16:32:40.771Z","updated_at":"2025-04-10T01:21:45.120Z","avatar_url":"https://github.com/deepsweet.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![version](https://img.shields.io/badge/firefox-68-green.svg?style=flat-square)](https://packages.ubuntu.com/disco/firefox) [![build](https://img.shields.io/docker/build/deepsweet/firefox-headless-remote.svg?label=build\u0026style=flat-square)](https://hub.docker.com/r/deepsweet/firefox-headless-remote/) [![size](https://img.shields.io/microbadger/image-size/deepsweet/firefox-headless-remote.svg?label=size\u0026style=flat-square)](https://microbadger.com/images/deepsweet/firefox-headless-remote)\n\nDockerized Firefox in headless [Marionette](https://vakila.github.io/blog/marionette-act-i-automation/) mode.\n\n## Usage\n\n```sh\ndocker pull deepsweet/firefox-headless-remote:68\ndocker run -it --rm --shm-size 2g -p 2828:2828 deepsweet/firefox-headless-remote:68\n```\n\nExample using [Foxr](https://github.com/deepsweet/foxr):\n\n```js\nimport foxr from 'foxr'\n\n(async () =\u003e {\n  try {\n    const browser = await foxr.connect()\n    const page = await browser.newPage()\n\n    await page.goto('https://example.com')\n    await page.screenshot({ path: 'example.png' })\n    await browser.close()\n  } catch (error) {\n    console.error(error)\n  }\n})()\n```\n\n## Fonts\n\nIt's possible to mount a folder with custom fonts to be used later by Firefox: add `-v $(pwd)/path/to/fonts:/home/firefox/.fonts` to `docker run` arguments.\n\n## Related\n\n* [chromium-headless-remote](https://github.com/deepsweet/chromium-headless-remote)\n* [ungoogled-chromium-headless-remote](https://github.com/deepsweet/ungoogled-chromium-headless-remote)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeepsweet%2Ffirefox-headless-remote","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeepsweet%2Ffirefox-headless-remote","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeepsweet%2Ffirefox-headless-remote/lists"}