开发者工具DEVELOPER TOOLS· TESTING
gre/gl-react
用React组件组合WebGL着色器,为应用添加动态视觉效果。Write and compose WebGL shaders as React components for web and native apps.
根据公开文档整理,未运行实测;费用以项目官网为准。Based on public documentation, without runtime testing. Check the project site for pricing.
能力CAPABILITIES
用React组件编写组合着色器效果
在网页手机服务器运行着色器
用图片视频做着色器纹理
在DevTools中调试着色器
运行本地示例学习着色器
Compose shaders as reusable React components
Reuse effects across web and native platforms
Use uniform bindings for GLSL types like vec2 and sampler2D
Load images, videos, and canvas as textures
Debug effect stacks with React DevTools
上手GET STARTED
文档里没有找到可识别的安装命令。这类项目按发布规则不会进入榜单,只能在这里查看。No recognisable install command was found in the docs. Projects like this never enter the ranked list under our publishing rules — they are viewable here only.
文档未说明Install with pnpm; the project scripts check for pnpm and exit otherwise.
使用限制LIMITATIONS
以下要求与风险来自文档静态检查,未执行项目代码;扫描没有命中,不代表使用安全。Risk here is evidence, not an alarm. These findings come from static scanning of the docs; we never execute a project’s code.
限制LIMITS
需检查Needs review
静态扫描STATIC SCAN
01安装时执行脚本Runs a script during installpackage.json
preinstall: node -e "if (process.env.npm_execpath.indexOf('pnpm') === -1) { console.log('[31mPlease use pnpm[0m'); process.exit(1); }"静态扫描未发现高风险,但发现一个中等风险:安装时执行脚本(preinstall 脚本检查包管理器并可能退出),可能带来安全隐患。Static scan found a preinstall script that checks for pnpm and exits if not present. That is not a known vulnerability, but it could run code during installation, so review before using.
项目动态PROJECT ACTIVITY
首次发现FIRST SEEN
04 OCT 202604 OCT 2026
增长GROWTH
+0.3%+0.3%
3.0k → 3.0k stars · 46 个快照3.0k → 3.0k stars · 46 snapshots
状态STATUS
持续活跃Active
有可运行的 Cookbook 示例和 JSFiddle,能快速体验着色器效果。Actively maintained with a commit in the past week
{
"agents": [],
"apiKey": null,
"docker": null,
"taxonomy": {
"scores": {
"design": 0,
"ai-tools": 0,
"dev-tools": 1,
"indie-web": 0,
"skill-agent": 0,
"productivity": 0
},
"primary": "dev-tools",
"secondary": "testing"
},
"localRuntime": "kbook/)** (`pnpm cookbook` to run locally) - [Expo Cookbook](packages/cookbook-ex",
"skillMdTotal": 0,
"skillMdErrors": [],
"treeTruncated": false,
"categoryScores": {
"data": 0,
"agent": 0,
"media": 0,
"design": 0,
"browser": 1,
"devtool": 1,
"security": 0,
"marketing": 0,
"productivity": 1
},
"classification": [],
"scannedSources": [
"readme"
],
"skillMdFetched": 0
}