{"id":26445433,"url":"https://github.com/vinnyhorgan/wray","last_synced_at":"2025-10-07T05:40:39.626Z","repository":{"id":231345937,"uuid":"781525750","full_name":"vinnyhorgan/wray","owner":"vinnyhorgan","description":"The tiny wren runtime.","archived":false,"fork":false,"pushed_at":"2024-04-13T20:45:23.000Z","size":331,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-04-13T21:10:14.736Z","etag":null,"topics":["c","runtime","scripting","wren"],"latest_commit_sha":null,"homepage":"https://wray.it","language":"C","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/vinnyhorgan.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}},"created_at":"2024-04-03T14:48:50.000Z","updated_at":"2024-04-15T17:13:15.885Z","dependencies_parsed_at":"2024-04-15T17:23:25.819Z","dependency_job_id":null,"html_url":"https://github.com/vinnyhorgan/wray","commit_stats":null,"previous_names":["vinnyhorgan/wray"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/vinnyhorgan/wray","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vinnyhorgan%2Fwray","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vinnyhorgan%2Fwray/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vinnyhorgan%2Fwray/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vinnyhorgan%2Fwray/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vinnyhorgan","download_url":"https://codeload.github.com/vinnyhorgan/wray/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vinnyhorgan%2Fwray/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270850054,"owners_count":24656443,"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-08-17T02:00:09.016Z","response_time":129,"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":["c","runtime","scripting","wren"],"created_at":"2025-03-18T11:18:28.437Z","updated_at":"2025-10-07T05:40:34.576Z","avatar_url":"https://github.com/vinnyhorgan.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"![wray](assets/wray.png)\n\n# wray\n\n\u003e **The tiny wren runtime.**\n\nWray can be used to create any type of program: from basic command line tools up to fully fledged graphical applications and games.\nPrograms written with it are lightweight, fast and cross platform.\nAll of this is possible thanks to wray's main dependencies: the amazing [raylib](https://raylib.com) library and the [wren](https://wren.io) programming language.\n\nThe project takes A LOT of inspiration from the [love2d](https://love2d.org) framework, but trying to be even more lightweight and friendly to use.\nWray aims to be a self-contained, scripting tool with minimal dependencies and a lot of educational value.\n\n## Features\n\n- **Simple**: the API is friendly and can be learned by anyone.\n- **Fast**: thanks to the speed of wren and raylib.\n- **Cross Platform**: wray works on all major desktop platforms.\n- **Tiny**: the runtime is self-contained and minimal in size.\n- **Educational**: easy to get up and running with writing code.\n- **Versatile**: can be used to create a vast array of different programs.\n\n## Getting Started\n\nTo get started simply download the latest release for your operating system.\nWray has a simple CLI which allows to create, package and run projects.\n\n```\nwray new my_project\nwray my_project\n```\n\nThis should output: \"Hello, World!\".\n\nIf so you are ready to start writing code!\nJust open the new folder in a code editor.\nTo learn everything you can do with wray, look at the [api](src/api.wren) file in the source directory.\nAlso check out wren's [documentation](https://wren.io/syntax.html).\n\nThe following code opens a window:\n\n``` javascript\nimport \"wray\" for Window, Graphics, Color\n\nWindow.init(640, 480, \"Hello Wray!\")\nWindow.targetFps = 60\n\nwhile (!Window.closed) {\n    Graphics.begin()\n\n    Graphics.clear(Color.blue)\n\n    Graphics.end()\n}\n```\n\nFor more examples check the [examples](examples) folder in the repository!\nAlso look at the [modules](modules) directory for some wren libraries to use in your projects!\n\n## Distribution\n\nOnce you've completed your project, you have to package it up.\nFirst you should create an `egg` file.\nThis is an archive that contains all the project files and assets.\n\n```\nwray nest my_project\n```\n\nThis file can now be distributed, but users will need to have the wray runtime installed.\nYou can also create completely indipendent executables by fusing the runtime and the egg file.\n\n```\nwray fuse my_project.egg\n```\n\nThis will create the file `my_project.exe`, which can be distributed.\n\n## Building\n\nTo build wray from source you need [cmake](https://cmake.org).\n\n```\nmkdir build\ncd build\ncmake ..\ncmake --build . --config Release\n```\n\n## Acknowledgements\n\nThanks to all these amazing projects:\n\n- [raylib](https://raylib.com)\n- [wren](https://wren.io)\n- [love2d](https://love2d.org)\n- [raylib-wren](https://github.com/TSnake41/raylib-wren)\n- [dome](https://domeengine.com)\n- [enet](https://github.com/lsalzman/enet)\n- [argparse](https://github.com/cofyc/argparse)\n- [map](https://github.com/rxi/map)\n- [microui](https://github.com/rxi/microui)\n- [naett](https://github.com/erkkah/naett)\n- [zip](https://github.com/kuba--/zip)\n- [icon](https://www.flaticon.com/free-icon/robin_1230870?term=bird\u0026page=1\u0026position=8\u0026origin=search\u0026related_id=1230870)\n\n## License\n\nWray is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvinnyhorgan%2Fwray","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvinnyhorgan%2Fwray","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvinnyhorgan%2Fwray/lists"}