{"id":25429809,"url":"https://github.com/nathanpotter17/glfw-vulkan","last_synced_at":"2025-05-14T10:35:06.265Z","repository":{"id":277799828,"uuid":"933521830","full_name":"nathanpotter17/glfw-vulkan","owner":"nathanpotter17","description":"Vulkan + GLFW on Windows 11","archived":false,"fork":false,"pushed_at":"2025-03-24T15:46:16.000Z","size":1036,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-14T10:32:38.273Z","etag":null,"topics":["cmake","cpp","glfw3","vulkan"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nathanpotter17.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2025-02-16T06:45:20.000Z","updated_at":"2025-03-24T15:46:19.000Z","dependencies_parsed_at":"2025-03-05T21:51:58.923Z","dependency_job_id":"a3b72f5d-5ebf-426b-b3f6-2efc6e821699","html_url":"https://github.com/nathanpotter17/glfw-vulkan","commit_stats":null,"previous_names":["nathanpotter17/glfw-vulkan"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nathanpotter17%2Fglfw-vulkan","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nathanpotter17%2Fglfw-vulkan/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nathanpotter17%2Fglfw-vulkan/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nathanpotter17%2Fglfw-vulkan/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nathanpotter17","download_url":"https://codeload.github.com/nathanpotter17/glfw-vulkan/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254121128,"owners_count":22018107,"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":["cmake","cpp","glfw3","vulkan"],"created_at":"2025-02-17T02:31:42.117Z","updated_at":"2025-05-14T10:35:06.228Z","avatar_url":"https://github.com/nathanpotter17.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GLFW \u0026 Vulkan Template for Windows\n\nThis repository contains a simple example of how to use GLFW with Vulkan on Windows only. The example is a simple triangle that is rendered to the screen. \\\n\n- The example is informed by the [Vulkan Guide by GLFW](https://www.glfw.org/docs/3.3/vulkan_guide.html)\n- The [Vulkan Tutorial](https://vulkan-tutorial.com/Overview) + [Github](https://github.com/Overv/VulkanTutorial/tree/main/code) by Alexander Overvoorde\n- The [Vulkan Spec](https://registry.khronos.org/vulkan/specs/latest/pdf/vkspec.pdf)\n- Other resources:\n  - Vulkan YouTube channel + OGLDEV on YouTube\n  - [Khronos Vulkan Guide](https://github.com/KhronosGroup/Vulkan-Guide)\n\n## Dependencies\n\n- [GLFW](https://www.glfw.org/)\n- [Vulkan SDK](https://vulkan.lunarg.com/)\n- Windows SDK (Only for Windows)\n- CMake\n- VS Code\n\n## Building\n\nI recommend using Ninja as the build system for this project. It is by far the fastest and easiest to use.\n\nFirst ensure you install the Vulkan SDK for Windows. Add the VULKAN_SDK environment variable to your system if desired. Check install with `vulkaninfo` in the command prompt.\n\nNext, grab glfw from https://github.com/glfw/glfw/releases or simply clone it into your C or Root directory. Then build the glfw library using CMake \u0026 Ninja. The following commands should be used to build the library:\n\n```bash\ncd glfw\nmkdir build\ncd build\ncmake -G \"Ninja\" ..\ncmake --build ..\nninja install\n```\n\nThat should ensure that the glfw library is built and installed on your system, and links correctly with other required windows libraries.\n\n## Building the Template\n\nTo build the example, simply clone the repository and run the following commands in the command prompt:\n\n```cmd\ncd glfw-vulkan\nbuild.bat\n```\n\n## Run Pre-Built Template\n\nTo see the example in action, simply run the `run.bat` file in the command prompt. This will run the pre-built executable from the `/build` directory.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnathanpotter17%2Fglfw-vulkan","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnathanpotter17%2Fglfw-vulkan","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnathanpotter17%2Fglfw-vulkan/lists"}