{"id":19647808,"url":"https://github.com/chances/wgpu-crystal","last_synced_at":"2025-07-26T20:16:38.191Z","repository":{"id":45351842,"uuid":"190334359","full_name":"chances/wgpu-crystal","owner":"chances","description":"Bindings to wgpu-native for the Crystal programming language","archived":false,"fork":false,"pushed_at":"2021-12-18T18:58:48.000Z","size":399,"stargazers_count":16,"open_issues_count":2,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-28T15:43:55.508Z","etag":null,"topics":["3d-graphics","compute-shaders","crystal","graphics","graphics-library","webgpu"],"latest_commit_sha":null,"homepage":"https://chances.github.io/wgpu-crystal","language":"Crystal","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/chances.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":["chances"],"patreon":"chances","open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2019-06-05T05:56:42.000Z","updated_at":"2025-02-09T17:33:35.000Z","dependencies_parsed_at":"2022-08-29T22:11:18.974Z","dependency_job_id":null,"html_url":"https://github.com/chances/wgpu-crystal","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/chances/wgpu-crystal","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chances%2Fwgpu-crystal","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chances%2Fwgpu-crystal/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chances%2Fwgpu-crystal/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chances%2Fwgpu-crystal/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chances","download_url":"https://codeload.github.com/chances/wgpu-crystal/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chances%2Fwgpu-crystal/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267226553,"owners_count":24056347,"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-07-26T02:00:08.937Z","response_time":62,"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":["3d-graphics","compute-shaders","crystal","graphics","graphics-library","webgpu"],"created_at":"2024-11-11T14:46:07.198Z","updated_at":"2025-07-26T20:16:38.128Z","avatar_url":"https://github.com/chances.png","language":"Crystal","funding_links":["https://github.com/sponsors/chances","https://patreon.com/chances"],"categories":[],"sub_categories":[],"readme":"# wgpu-crystal\n\n[![wgpu.cr v0.9.2](https://img.shields.io/badge/shards-v0.9.2-important)](https://shards.info/github/chances/wgpu-crystal)\n[![wgpu.cr CI](https://github.com/chances/wgpu-crystal/actions/workflows/ci.yml/badge.svg)](https://github.com/chances/wgpu-crystal/actions/workflows/ci.yml)\n[![wgpu.cr license: MIT](https://img.shields.io/badge/license-MIT-informational)](https://github.com/chances/wgpu-crystal/blob/master/LICENSE)\n\nBindings to [gfx-rs/wgpu-native](https://github.com/gfx-rs/wgpu-native) for the [Crystal](https://crystal-lang.org/) programming language.\n\n## Installation\n\n1. Add the dependency to your `shard.yml`:\n\n   ```yaml\n   dependencies:\n     wgpu:\n      github: chances/wgpu-crystal\n   ```\n\n2. Run `shards install`\n\n## Usage\n\n```crystal\nrequire \"wgpu\"\n\n# TODO: Write usage instructions here\n```\n\nSee the [API documentation](https://chances.github.io/wgpu-crystal).\n\nSee the [wgpu-native Usage instructions](https://github.com/gfx-rs/wgpu-native#usage).\n\n## Development\n\nTODO: Write development instructions here\n\n### Running examples\n\n#### Headless\n\n`make example-headless`\n\n#### Headless Triangle\n\n`make example-triangle`\n\n#### Windowed Triangle\n\nTODO: Add a windowed example\n\nEnsure [glfw3](https://formulae.brew.sh/formula/glfw) is installed.\n\n`make example-glfw-triangle`\n\n### Alignment with `wgpu-native` Releases\n\nRelease tags' __major__ and __minor__ version numbers align with those of `wgpu-native`. For example, the `0.9.*` tags align with one of the `0.9.*` releases of `wgpu-native`. See [`./native.lock.yml`](https://github.com/chances/wgpu-crystal/blob/master/native.lock.yml#L2) for the specific native library target.\n\n## Contributing\n\n1. Fork it ([https://github.com/chances/wgpu-crystal/fork](https://github.com/chances/wgpu-crystal/fork))\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create a new Pull Request\n\n## Contributors\n\n- [Chance Snow](https://github.com/chances) - creator and maintainer\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchances%2Fwgpu-crystal","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchances%2Fwgpu-crystal","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchances%2Fwgpu-crystal/lists"}