dop251/goja
View on GitHub ↗ ★ 7,180 Go
ECMAScript/JavaScript engine in pure Go
18 mentions on Hacker News by 17 people: 3 stories, 15 comments · first 2020-05-18 · latest 2026-07-07
20082026
-
…wouldn't be a good fit for. It's not public yet, but is fairly rudimentary and based on Go + goja: https://github.com/dop251/goja You write rules in ESLint, it makes sure that they're followed. If it's a file in your repo, it can obviously…
comment by KronisLV · 2026-07-07 · in Zuckerberg says AI agent development going slower than expected -
We recently switched from Node.js + Mathjax for rendering latex to Goja ( https://github.com/dop251/goja ) + Mathjax, and surprisingly it worked really well. We did this because the app is already 99% golang, and this allows us to…
comment by umvi · 2026-05-07 · in RaTeX: KaTeX-compatible LaTeX rendering engine in pure Rust -
…and conventions, alongside something like Oxlint/Oxfmt and Ruff and so on), with Go and goja: https://github.com/dop251/goja Basically just a bunch of .js rules that are executed like: projectlint run --rules-at ./projectlint-rules ./src…
comment by KronisLV · 2026-03-20 · in Be intentional about how AI changes your codebase -
…in Go would look like, you can look at https://pkg.go.dev/github.com/robertkrimen/otto and https://github.com/dop251/goja . Of course they aren't "ports", but I feel like having two fairly complete intepreters is probably enough to prove…
comment by jerf · 2026-01-21 · in The coming industrialisation of exploit generation with LLMs -
JavaScript scripting by users inside frameworks / applications built in other languages. Similar to https://github.com/dop251/goja for Go or https://github.com/sebastienros/jint for .NET
comment by jddj · 2025-11-15 · in Boa: A standard-conforming embeddable JavaScript engine written in Rust -
…support, but it is tailored for k6 and they don't have plans for making it easier to use. [2] [1] https://github.com/dop251/goja/issues/348 [2] https://github.com/grafana/sobek/issues/49
comment by notanaverageman · 2025-03-24 · in Move on to ESM-Only -
…you’d find a lot of it is valid ES5 as well (and GoJa does actually support a lot of ES6, see https://github.com/dop251/goja/milestone/1?closed=1 ). Also, what features do you need to code in JavaScript to extend PocketBase functionality?
comment by d1sxeyes · 2024-12-06 · in Trailbase: Fast, single-file, open-source app server built using Rust and SQLite -
…outstanding [3] So, Sobek seems to be the way forward... [1] https://github.com/grafana/sobek/ [2] https://github.com/dop251/goja/pull/430 [3] https://github.com/dop251/goja/milestone/1
comment by nchmy · 2024-09-07 · in Goja: A Golang JavaScript Runtime -
▲ 2
Goja: ECMAScript/JavaScript engine in pure Gostory by thunderbong · 2024-04-07 · 0 comments
-
…link to the project repos for the packages mentioned: < https://github.com/PuerkitoBio/goquery > < https://github.com/dop251/goja > (Please do not reply to this comment of mine—if you do, I won't be able to delete it once the previous post…
comment by cxr · 2023-11-11 · in Show HN: Flyscrape – A standalone and scriptable web scraper in Go -
…go a long way to matching ergonomics in other tools. This project uses both, but then also goes on to use github.com/dop251/goja, which is a JavaScript VM and it's accompanying nodejs compatability layer and even esbuild, in order to…
comment by xyzzy_plugh · 2023-11-11 · in Show HN: Flyscrape – A standalone and scriptable web scraper in Go -
▲ 1
Goja: ECMAScript 5.1 implementation in pure Gostory by nateb2022 · 2023-07-27 · 0 comments
-
python, Lua and JS These functions are implemented by these packages: github.com/dop251/goja github.com/yuin/gopher-lua go.starlark.net Go scripts (programs) are not subject to any restrictions. So there is no Go script support in the…
comment by vanishs · 2023-02-15 · in Show HN: Lockval Engine – A distributed backend KV engine that can run scripts -
…another templating language. Bud will eventually ship with it's own JS evaluator. Either through https://github.com/dop251/goja or through porting https://github.com/bellard/quickjs to Go (~25kloc of C)
comment by matthewmueller · 2022-05-14 · in Show HN: A Full-Stack Web Framework for Go -
…implementations. For example, here's one I stumbled upon recently that's written in plain Go: https://github.com/dop251/goja Of course, it won't help you since it's not built into a web browser.
comment by azornathogron · 2022-03-26 · in Chrome 0day is being exploited now for CVE-2022-1096; update immediately -
…and so on. BTW, here is the project link: https://github.com/Snawoot/trusearch Pure-Go JS engine: https://github.com/dop251/goja
comment by Snawoot · 2021-07-06 · in Roll your own minilanguages with mini-interpreters (1989) -
…to come any time soon... We'd need support for that in the JS runtime we're using ( https://godoc.org/github.com/dop251/goja ) and then we'd need to figure out how to expose in in k6, while dealing with potentially hundreds of concurrent…
comment by na-- · 2020-11-28 · in K6: Like unit testing, for performance -
▲ 2
Goja – ECMAScript 5.1(+) implementation written in Gostory by todotask · 2020-05-18 · 0 comments