{"id":16856443,"url":"https://github.com/vallentin/glslinclude","last_synced_at":"2026-04-15T23:31:37.123Z","repository":{"id":89082090,"uuid":"157018709","full_name":"vallentin/GLSLInclude","owner":"vallentin","description":"Simple GLSL tool for preprocessing include directives","archived":false,"fork":false,"pushed_at":"2018-11-12T16:38:51.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-27T08:32:49.400Z","etag":null,"topics":["computer-graphics","glsl","graphics","opengl","shaders"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"zlib","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vallentin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-11-10T20:28:04.000Z","updated_at":"2018-11-12T16:38:04.000Z","dependencies_parsed_at":"2023-06-18T12:35:11.617Z","dependency_job_id":null,"html_url":"https://github.com/vallentin/GLSLInclude","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/vallentin/GLSLInclude","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vallentin%2FGLSLInclude","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vallentin%2FGLSLInclude/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vallentin%2FGLSLInclude/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vallentin%2FGLSLInclude/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vallentin","download_url":"https://codeload.github.com/vallentin/GLSLInclude/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vallentin%2FGLSLInclude/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31864961,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-15T15:24:51.572Z","status":"ssl_error","status_checked_at":"2026-04-15T15:24:39.138Z","response_time":63,"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":["computer-graphics","glsl","graphics","opengl","shaders"],"created_at":"2024-10-13T14:04:15.268Z","updated_at":"2026-04-15T23:31:37.108Z","avatar_url":"https://github.com/vallentin.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# GLSL Include\n\nGLSL Include is a simple GLSL tool for preprocessing `#include` directives.\n\n\n## Install\n\n```bash\npip install git+https://github.com/Vallentin/GLSLInclude\n```\n\n\n## Example\n\nThe default search path is the current working directory.\nThe input is read from `input.glsl` and the written to `output.glsl`.\nIf an output filename is omitted then the output is written stdout.\n\n```bash\npython -m glslinclude --output \"output.glsl\" \"input.glsl\"\n```\n\n*Any missing directories in the output filename are automatically created.*\n\n\n## Search Path\n\nIf the current working directory shouldn't be the default search path, then a custom search path can be specified using `--search-path`.\n\n```bash\npython -m glslinclude --search-path \"shaders\" --output \"output.glsl\" \"input.glsl\"\n```\n\n\n### Multiple Paths\n\nThe search path can include multiple semicolon separated paths.\n\n```bash\npython -m glslinclude --search-path \"shaders;shaders/utilities\" --output \"output.glsl\" \"input.glsl\"\n```\n\n\n### Search Order \u0026 Extensions\n\nSearching the paths are done in the order they're given. Either until a file is found, if not an error is raised.\n\n\n### Extensions\n\nBoth `#include \"common\"` and  `#include \"common.glsl\"` is allowed.\n\n```python\n\"\", \".glsl\", \".vert\", \".tesc\", \".tese\", \".geom\", \".frag\", \".comp\"\n```\n\nSearching is done for each extension and then for each path in the search path.\n\n```python\nfor ext in extensions:\n    for path in search_path:\n        ...\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvallentin%2Fglslinclude","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvallentin%2Fglslinclude","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvallentin%2Fglslinclude/lists"}