{"id":16125661,"url":"https://github.com/dy/nogl","last_synced_at":"2025-09-14T22:36:43.658Z","repository":{"id":57312024,"uuid":"55274702","full_name":"dy/nogl","owner":"dy","description":"WebGL shim for node","archived":false,"fork":false,"pushed_at":"2017-08-21T05:13:38.000Z","size":11,"stargazers_count":3,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-19T15:36:01.163Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dy.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-04-02T02:57:29.000Z","updated_at":"2025-02-09T07:08:46.000Z","dependencies_parsed_at":"2022-09-16T02:51:15.423Z","dependency_job_id":null,"html_url":"https://github.com/dy/nogl","commit_stats":null,"previous_names":["dfcreative/nogl"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dy/nogl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dy%2Fnogl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dy%2Fnogl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dy%2Fnogl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dy%2Fnogl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dy","download_url":"https://codeload.github.com/dy/nogl/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dy%2Fnogl/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275180170,"owners_count":25419065,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-14T02:00:10.474Z","response_time":75,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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-10-09T21:30:29.032Z","updated_at":"2025-09-14T22:36:43.634Z","avatar_url":"https://github.com/dy.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"WebGL context minimal shim for node. Useful to make [stackgl](https://github.com/stackgl) components not fail in node.\n\n[![npm install nogl](https://nodei.co/npm/nogl.png?mini=true)](https://npmjs.org/package/nogl/)\n\n```js\nvar Shader = require('gl-shader');\nvar gl = require('nogl')();\nvar glslify = require('glslify-sync');\nvar createProcessor = require('nogl-shader-output');\n\nvar shader = Shader(gl, glslify('./vertex.glsl'), glslify('./fragment.glsl'));\n\nvar draw = createProcessor(shader);\n\ndraw({\n\tsize: [10, 20]\n});\n```\n\nAPI is compatible with [webgl-context](https://www.npmjs.com/package/webgl-context).\nIf you need real webgl, use [headless-js](https://github.com/stackgl/headless-gl).\nFor practical use-case look [nogl-shader-output](https://npmjs.org/package/nogl-shader-output).\nHeavily inspired by [emscripten headlessCanvas](https://github.com/kripken/emscripten/blob/master/src/headlessCanvas.js).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdy%2Fnogl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdy%2Fnogl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdy%2Fnogl/lists"}