{"id":42924194,"url":"https://github.com/ghetzel/go-webfriend","last_synced_at":"2026-01-30T18:05:58.442Z","repository":{"id":57481238,"uuid":"127212605","full_name":"ghetzel/go-webfriend","owner":"ghetzel","description":"Your friendly friend in modern web automation and testing.","archived":false,"fork":false,"pushed_at":"2024-05-04T00:01:28.000Z","size":6147,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-08-13T17:45:09.338Z","etag":null,"topics":["automation","chrome","chrome-devtools","golang"],"latest_commit_sha":null,"homepage":null,"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/ghetzel.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-03-28T23:59:38.000Z","updated_at":"2024-04-26T18:58:58.000Z","dependencies_parsed_at":"2024-04-26T20:01:35.376Z","dependency_job_id":null,"html_url":"https://github.com/ghetzel/go-webfriend","commit_stats":null,"previous_names":[],"tags_count":67,"template":false,"template_full_name":null,"purl":"pkg:github/ghetzel/go-webfriend","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ghetzel%2Fgo-webfriend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ghetzel%2Fgo-webfriend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ghetzel%2Fgo-webfriend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ghetzel%2Fgo-webfriend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ghetzel","download_url":"https://codeload.github.com/ghetzel/go-webfriend/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ghetzel%2Fgo-webfriend/sbom","scorecard":{"id":425670,"data":{"date":"2025-08-11","repo":{"name":"github.com/ghetzel/go-webfriend","commit":"4b2bb4ec4dc73dc26c696e647b94e89d06868f56"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.8,"checks":[{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: containerImage not pinned by hash: Dockerfile:1: pin your Docker image by updating alpine:3.12 to alpine:3.12@sha256:c75ac27b49326926b803b9ed43bf088bc220d22556de1bc5f72d742c91398f69","Info:   0 out of   1 containerImage dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Vulnerabilities","score":0,"reason":"12 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GO-2022-0635","Warn: Project is vulnerable to: GO-2022-0646","Warn: Project is vulnerable to: GO-2025-3553 / GHSA-mh63-6h87-95cp","Warn: Project is vulnerable to: GO-2023-2402 / GHSA-45x7-px36-x8w8","Warn: Project is vulnerable to: GO-2024-3321 / GHSA-v778-237x-gjrc","Warn: Project is vulnerable to: GO-2025-3487 / GHSA-hcg3-q754-cr77","Warn: Project is vulnerable to: GO-2024-2687 / GHSA-4v7x-pqxf-cx7m","Warn: Project is vulnerable to: GO-2024-3333","Warn: Project is vulnerable to: GO-2025-3503 / GHSA-qxp5-gwg8-xv66","Warn: Project is vulnerable to: GO-2025-3595 / GHSA-vvgc-356p-c3xw","Warn: Project is vulnerable to: GO-2025-3488 / GHSA-6v2p-p543-phr9","Warn: Project is vulnerable to: GO-2024-2611 / GHSA-8r3f-844c-mc37"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-19T02:10:46.088Z","repository_id":57481238,"created_at":"2025-08-19T02:10:46.088Z","updated_at":"2025-08-19T02:10:46.088Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28917033,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-30T16:37:38.804Z","status":"ssl_error","status_checked_at":"2026-01-30T16:37:37.878Z","response_time":66,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["automation","chrome","chrome-devtools","golang"],"created_at":"2026-01-30T18:05:57.945Z","updated_at":"2026-01-30T18:05:58.437Z","avatar_url":"https://github.com/ghetzel.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n    \u003cimg width=\"240\" height=\"240\" src=\"https://raw.githubusercontent.com/ghetzel/go-webfriend/master/contrib/webfriend-arms.png\" /\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n    \u0026ldquo;Your friendly friend in modern web automation and testing.\u0026rdquo;\n\u003c/p\u003e\n\n## ALPHA ALERT\n\nThis software is under _heavy_ development and should not be considered production-ready. Much of it works, but much is still yet to\nbe implemented. It is a ground-up rewrite of my [Python version](https://github.com/ghetzel/webfriend) of this project.\nDocumentation and examples are missing and incomplete at this time, but I am working on it as I am able.\n\nI welcome polite feedback, comments, and suggestions.\n\n## Overview\n\nWebfriend is a Golang library and command-line utility that integrates with the [Chrome DevTools Protocol](https://chromedevtools.github.io/devtools-protocol/) to control a Google Chrome or Chromium browser instance. There is also a purpose-built scripting language (called [Friendscript](docs/intro.md)) that is designed to be an easy-to-learn environment for writing simple or complex browser automation scripts.\n\n### Some of the things that you can use Webfriend for:\n\n- Take full-page screenshots of web pages.\n\n- Automate tedious or repetitive tasks on web pages that otherwise would require extensive user input with a keyboard, mouse, or touchscreen device.\n\n- Execute pre-defined tests against web pages and serve as an automated testing framework for verifying frontend functionality.\n\n* Automatically login to websites with complex authentication flows.\n\n* Extract (i.e. _scrape_) information from web pages and present it in a structured way that other languages and scripts can use as input.\n\n* Inject Javascript code into the browser, evaluate it, then return the results for output or further processing.\n\n### Operation and Usage\n\nWebfriend by default operates using [Headless Chrome](https://developers.google.com/web/updates/2017/04/headless-chrome) mode, but can also just as easily run Chrome in the foreground in a graphical environment. Importantly, headless operation allows you to **run Webfriend on servers without running `Xfvb` or `X11`.** In this sense, it operates as a potentially-faster alternative to \u003ca href=\"http://phantomjs.org/\" target=\"_blank\"\u003ephantomjs\u003c/a\u003e or \u003ca href=\"http://www.seleniumhq.org/\" target=\"_blank\"\u003eSelenium\u003c/a\u003e while also providing almost all of the capabilities of the complete Google Chrome/Chromium browser.\n\nUsing [Friendscript](docs/intro.md), straightforward and composable scripts can be written and combined together to create fast, modular, and flexible processes that can be used to solve real problems.\n\n## Installation\n\n```\ngo install github.com/ghetzel/go-webfriend/webfriend\n```\n\n## Documentation\n\n- Friendscript (Web Automation Scripting Language)\n\n  - [Beginner's Guide](INTRO.md)\n\n  - [Language Overview](LANGUAGE.md)\n\n  - [Command Reference](https://ghetzel.github.io/go-webfriend/#funcref)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fghetzel%2Fgo-webfriend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fghetzel%2Fgo-webfriend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fghetzel%2Fgo-webfriend/lists"}