
Security News
MCP Community Begins Work on Official MCP Metaregistry
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
github.com/n2d/webgl
change from https://godoc.org/github.com/gopherjs/webgl support "syscall/js"
webgl_example.go:
package main
import (
"syscall/js"
"github.com/n2d/webgl"
)
func main() {
var canvas js.Value = js.
Global().
Get("document").
Call("getElementById", "canvas")
canvas.Set("height", 600)
canvas.Set("width", 800)
gl, _ := webgl.NewContext(canvas)
gl.ClearColor(1, 0, 0, 1)
gl.Clear(gl.COLOR_BUFFER_BIT)
}
webgl_example.html:
<html><body><script src="webgl_example.js"></script><canvas id='canvas'></canvas></br></body></html>
To produce webgl_example.js
file, run gopherjs build webgl_example.go
.
FAQs
Unknown package
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
Research
Security News
Socket uncovers an npm Trojan stealing crypto wallets and BullX credentials via obfuscated code and Telegram exfiltration.
Research
Security News
Malicious npm packages posing as developer tools target macOS Cursor IDE users, stealing credentials and modifying files to gain persistent backdoor access.