{"id":18894547,"url":"https://github.com/redthing1/dray","last_synced_at":"2026-02-27T13:30:15.948Z","repository":{"id":156959653,"uuid":"282357933","full_name":"redthing1/dray","owner":"redthing1","description":"raylib bindings for dlang","archived":false,"fork":false,"pushed_at":"2024-08-12T21:50:18.000Z","size":349,"stargazers_count":21,"open_issues_count":1,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-12-31T07:29:09.646Z","etag":null,"topics":["bindings","d","dlang","raylib"],"latest_commit_sha":null,"homepage":"","language":"D","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/redthing1.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}},"created_at":"2020-07-25T02:51:08.000Z","updated_at":"2024-09-20T23:28:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"d73aa4b9-2bd8-490f-9427-ab3c58354ac5","html_url":"https://github.com/redthing1/dray","commit_stats":null,"previous_names":[],"tags_count":21,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redthing1%2Fdray","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redthing1%2Fdray/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redthing1%2Fdray/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redthing1%2Fdray/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/redthing1","download_url":"https://codeload.github.com/redthing1/dray/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239869225,"owners_count":19710486,"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":["bindings","d","dlang","raylib"],"created_at":"2024-11-08T08:23:03.754Z","updated_at":"2026-02-27T13:30:15.864Z","avatar_url":"https://github.com/redthing1.png","language":"D","readme":"[![DUB Package](https://img.shields.io/dub/v/dray.svg)](https://code.dlang.org/packages/dray)\n\n# dray\n\ndlang bindings to [redthing1 raylib](https://github.com/redthing1/raylib) **v5.0.0** (based on the official upstream [5.0.0 release](https://github.com/raysan5/raylib/releases/tag/5.0.0)).\n\npatches:\n+ `raygui` included\n+ HIDPI enabled\n+ `physac` included\n\n## usage\n\nall you need to do is add this package as a dependency and it should automatically build the Raylib C library and link it in.\nif for some reason you want to use a custom build, just place your own `libraylib.a` in the package root (usually something like `~/.dub/packages/dray_xxx`.\n\nnote that `raylib` has some of its own dependencies such as OpenGL.\n\n## build (unix/linux/mac)\nsimply run a build as usual. a script will clone and build raylib from source.\n```sh\ndub build\n```\n\n## build (windows)\nplace the static libraries for GLFW and a static libraries from a prebuilt raylib (with raygui) in your dray package dir.\nprebuilt libraries are available here:\n+ [raylib+raygui](https://github.com/redthing1/dray/releases/tag/v5.0.0-r1)\n+ [glfw 3.4](https://github.com/glfw/glfw/releases/3.4/)\n\nthen, run a build as usual, which will compile the bindings.\n```\ndub build\n```\n\nrefer to [this github actions workflow](https://github.com/bmchtech/rengfx/blob/3413eca319d450b6c04eeb2b5855c08a6d54dd17/.github/workflows/windows.yml) for more details.\n\n## demo\n\nsee [demo](demo/), which demonstrates a simple application using these Raylib bindings.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fredthing1%2Fdray","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fredthing1%2Fdray","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fredthing1%2Fdray/lists"}