{"id":13837041,"url":"https://github.com/augustoroman/v8","last_synced_at":"2026-01-17T17:26:38.246Z","repository":{"id":57490933,"uuid":"65984358","full_name":"augustoroman/v8","owner":"augustoroman","description":"A Go API for the V8 javascript engine.","archived":false,"fork":false,"pushed_at":"2023-01-20T17:43:58.000Z","size":168,"stargazers_count":399,"open_issues_count":18,"forks_count":76,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-08-14T00:18:58.386Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","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/augustoroman.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}},"created_at":"2016-08-18T09:29:54.000Z","updated_at":"2025-08-07T09:15:38.000Z","dependencies_parsed_at":"2023-02-12T04:00:49.339Z","dependency_job_id":null,"html_url":"https://github.com/augustoroman/v8","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/augustoroman/v8","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/augustoroman%2Fv8","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/augustoroman%2Fv8/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/augustoroman%2Fv8/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/augustoroman%2Fv8/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/augustoroman","download_url":"https://codeload.github.com/augustoroman/v8/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/augustoroman%2Fv8/sbom","scorecard":{"id":216269,"data":{"date":"2025-08-11","repo":{"name":"github.com/augustoroman/v8","commit":"0beab25c876a7da564416e1a7df3333e61615337"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.6,"checks":[{"name":"Code-Review","score":2,"reason":"Found 5/18 approved changesets -- score normalized to 2","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":"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":"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":"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":"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":"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":"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":"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":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"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":2,"reason":"dependency not pinned by hash detected -- score normalized to 2","details":["Warn: containerImage not pinned by hash: Dockerfile:15","Warn: containerImage not pinned by hash: Dockerfile:18","Warn: containerImage not pinned by hash: Dockerfile:40: pin your Docker image by updating ubuntu:16.04 to ubuntu:16.04@sha256:1f1a2d56de1d604801a9671f301190704c25d604a416f59e03c04f5c6ffee0d6","Warn: containerImage not pinned by hash: docker-v8-lib/Dockerfile:10","Warn: containerImage not pinned by hash: docker-v8-lib/Dockerfile:36","Info:   0 out of   5 containerImage dependencies pinned","Info:   2 out of   2 goCommand 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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 17 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-17T01:42:47.018Z","repository_id":57490933,"created_at":"2025-08-17T01:42:47.018Z","updated_at":"2025-08-17T01:42:47.018Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28512903,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T13:38:16.342Z","status":"ssl_error","status_checked_at":"2026-01-17T13:37:44.060Z","response_time":85,"last_error":"SSL_read: 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":[],"created_at":"2024-08-04T15:00:59.794Z","updated_at":"2026-01-17T17:26:38.211Z","avatar_url":"https://github.com/augustoroman.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"# Unsupported \n\nThis library no longer being maintained. If someone would like to take ownership of it, please contact me. As it is, it's severely out-of-date.\n\n# V8 Bindings for Go [![Build Status](https://travis-ci.org/augustoroman/v8.svg?branch=master)](https://travis-ci.org/augustoroman/v8) [![Go Report Card](https://goreportcard.com/badge/github.com/augustoroman/v8)](https://goreportcard.com/report/github.com/augustoroman/v8) [![GoDoc](https://godoc.org/github.com/augustoroman/v8?status.svg)](https://godoc.org/github.com/augustoroman/v8)\n\nThe v8 bindings allow a user to execute javascript from within a go executable.\n\nThe bindings are tested to work with several recent v8 builds matching the\nChrome builds 54 - 60 (see the .travis.yml file for specific versions). For\nexample, Chrome 59 (dev branch) uses v8 5.9.211.4 when this was written.\n\nNote that v8 releases match the Chrome release timeline:\nChrome 48 corresponds to v8 4.8.\\*, Chrome 49 matches v8 4.9.\\*. You can see\nthe table of current chrome and the associated v8 releases at:\n\nhttp://omahaproxy.appspot.com/\n\n# Using a pre-compiled v8\n\nv8 is very slow to compile, it's a large project. If you want to go that route, there are building instructions below.\n\nFortunately, there's a project that pre-builds v8 for various platforms. It's packaged as a ruby gem called [libv8](https://rubygems.org/gems/libv8).\n\n```bash\n# Find the appropriate gem version for your OS,\n# visit: https://rubygems.org/gems/libv8/versions\n\n# Download the gem\n# MacOS Sierra is darwin-16, for v8 6.3.292.48.1 it looks like:\ncurl https://rubygems.org/downloads/libv8-6.3.292.48.1-x86_64-darwin-16.gem \u003e libv8.gem\n\n# Extract the gem (it's a tarball)\ntar -xf libv8.gem\n\n# Extract the `data.tar.gz` within\ncd libv8-6.3.292.48.1-x86_64-darwin-16\ntar -xzf data.tar.gz\n\n# Symlink the compiled libraries and includes\nln -s $(pwd)/data/vendor/v8/include $GOPATH/src/github.com/augustoroman/v8/include\nln -s $(pwd)/data/vendor/v8/out/x64.release $GOPATH/src/github.com/augustoroman/v8/libv8\n\n# Run the tests to make sure everything works\ncd $GOPATH/src/github.com/augustoroman/v8\ngo test\n```\n\n# Using docker (linux only)\n\nFor linux builds, you can use pre-built libraries or build your own.\n\n## Pre-built versions\n\nTo use a pre-built library, select the desired v8 version from https://hub.docker.com/r/augustoroman/v8-lib/tags/ and then run:\n\n```bash\n# Select the v8 version to use:\nexport V8_VERSION=6.7.77\ndocker pull augustoroman/v8-lib:$V8_VERSION           # Download the image, updating if necessary.\ndocker rm v8 ||:                                      # Cleanup from before if necessary.\ndocker run --name v8 augustoroman/v8-lib:$V8_VERSION  # Run the image to provide access to the files.\ndocker cp v8:/v8/include include/                     # Copy the include files.\ndocker cp v8:/v8/lib libv8/                           # Copy the library fiels.\n```\n\n## Build your own via docker\n\nThis takes a lot longer, but is still easy:\n\n```bash\nexport V8_VERSION=6.7.77\ndocker build --build-arg V8_VERSION=$V8_VERSION --tag augustoroman/v8-lib:$V8_VERSION docker-v8-lib/\n```\n\nand then extract the files as above:\n\n```bash\ndocker rm v8 ||:                                      # Cleanup from before if necessary.\ndocker run --name v8 augustoroman/v8-lib:$V8_VERSION  # Run the image to provide access to the files.\ndocker cp v8:/v8/include include/                     # Copy the include files.\ndocker cp v8:/v8/lib libv8/                           # Copy the library fiels.\n```\n\n# Building v8\n\n## Prep\n\nYou need to build v8 statically and place it in a location cgo knows about. This requires special tooling and a build directory. Using the [official instructions](https://github.com/v8/v8/wiki/Building-from-Source) as a guide, the general steps of this process are:\n\n1.  `go get` the binding library (this library)\n1.  Create a v8 build directory\n1.  [Install depot tools](http://commondatastorage.googleapis.com/chrome-infra-docs/flat/depot_tools/docs/html/depot_tools_tutorial.html#_setting_up)\n1.  Configure environment\n1.  Download v8\n1.  Build v8\n1.  Copy or symlink files to the go library path\n1.  Build the bindings\n\n```\ngo get github.com/augustoroman/v8\nexport V8_GO=$GOPATH/src/github.com/augustoroman/v8\nexport V8_BUILD=$V8_GO/v8/build #or wherever you like\nmkdir -p $V8_BUILD\ncd $V8_BUILD\ngit clone https://chromium.googlesource.com/chromium/tools/depot_tools.git\nexport PATH=$PATH:$V8_BUILD/depot_tools\nfetch v8 #pull down v8 (this will take some time)\ncd v8\ngit checkout 6.7.77\ngclient sync\n```\n\n## Linux\n\n```\n./build/install-build-deps.sh #only needed once\ngn gen out.gn/golib --args=\"strip_debug_info=true v8_use_external_startup_data=false v8_enable_i18n_support=false v8_enable_gdbjit=false v8_static_library=true symbol_level=0 v8_experimental_extra_library_files=[] v8_extra_library_files=[]\"\nninja -C out.gn/golib\n# go get some coffee\n```\n\n## OSX\n\n```\ngn gen out.gn/golib --args=\"is_official_build=true strip_debug_info=true v8_use_external_startup_data=false v8_enable_i18n_support=false v8_enable_gdbjit=false v8_static_library=true symbol_level=0 v8_experimental_extra_library_files=[] v8_extra_library_files=[]\"\nninja -C out.gn/golib\n# go get some coffee\n```\n\n## Symlinking\n\nNow you can create symlinks so that cgo can associate the v8 binaries with the go library.\n\n```\ncd $V8_GO\n./symlink.sh $V8_BUILD/v8\n```\n\n## Verifying\n\nYou should be done! Try running `go test`\n\n# Reference\n\nAlso relevant is the v8 API release changes doc:\n\nhttps://docs.google.com/document/d/1g8JFi8T_oAE_7uAri7Njtig7fKaPDfotU6huOa1alds/edit\n\n# Credits\n\nThis work is based off of several existing libraries:\n\n* https://github.com/fluxio/go-v8\n* https://github.com/kingland/go-v8\n* https://github.com/mattn/go-v8\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faugustoroman%2Fv8","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faugustoroman%2Fv8","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faugustoroman%2Fv8/lists"}