{"id":19137795,"url":"https://github.com/ibaryshnikov/shader-editor","last_synced_at":"2025-05-06T20:24:01.109Z","repository":{"id":212587884,"uuid":"680884212","full_name":"ibaryshnikov/shader-editor","owner":"ibaryshnikov","description":"WGSL shader editor for wgpu","archived":false,"fork":false,"pushed_at":"2025-04-06T00:53:50.000Z","size":100,"stargazers_count":7,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-19T14:57:55.136Z","etag":null,"topics":["iced","rust","webgpu","wgpu","wgsl","winit"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ibaryshnikov.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null}},"created_at":"2023-08-20T18:06:59.000Z","updated_at":"2025-04-10T07:22:53.000Z","dependencies_parsed_at":"2024-02-16T02:26:40.356Z","dependency_job_id":"64928a5e-0024-4200-8efb-30a730abed01","html_url":"https://github.com/ibaryshnikov/shader-editor","commit_stats":null,"previous_names":["ibaryshnikov/shader-editor"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibaryshnikov%2Fshader-editor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibaryshnikov%2Fshader-editor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibaryshnikov%2Fshader-editor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibaryshnikov%2Fshader-editor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ibaryshnikov","download_url":"https://codeload.github.com/ibaryshnikov/shader-editor/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252762477,"owners_count":21800312,"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","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":["iced","rust","webgpu","wgpu","wgsl","winit"],"created_at":"2024-11-09T06:40:37.711Z","updated_at":"2025-05-06T20:24:01.072Z","avatar_url":"https://github.com/ibaryshnikov.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Shader editor\n\nA minimal WebGPU application which can run your WGSL shaders.\nBuilt with iced, providing the ability to add some UI on top\nof the rendered image.\n\nSyntax highlight is kindly borrowed from [halo](https://github.com/bungoboingo/halo)\n\n## Motivation\n\nThe main goal is to provide a quick way to develop shaders with\na fast iteration loop. Inspired by tools like shadertoy.\n\n## Usage\n\nUse `cargo run` to start\n\nEditor:\n- press `Update shader` or `Ctrl+R` to reload shader\n\nFile watcher:\n- edit `shader.wgsl` file, it will be reloaded on changes\n\n## Preview\n\n\u003cimg alt=\"preview\" src=\"editor.png\"\u003e\n\n## Roadmap\n\n- [x] Watch shader file and do hot reload on changes\n- [ ] Menu dialog to open shader files\n- [x] Multiline text editor for shaders\n- [x] Syntax highlight\n- [ ] Show error position inside editor\n\n## Details\n\nThe implementation is based on the following examples:\n- iced [integration](https://github.com/iced-rs/iced/tree/master/examples/integration)\n- wgpu [cube](https://github.com/gfx-rs/wgpu/tree/trunk/examples/cube)\n  and [hello-triangle](https://github.com/gfx-rs/wgpu/tree/trunk/examples/hello-triangle).\n\nUsing [notify](https://github.com/notify-rs/notify)\nfor file watching.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fibaryshnikov%2Fshader-editor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fibaryshnikov%2Fshader-editor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fibaryshnikov%2Fshader-editor/lists"}