https://github.com/respitefromreality/template-zig-window
A barebones Zig app window template using GLFW and ZLFW
https://github.com/respitefromreality/template-zig-window
glfw window zig
Last synced: 11 months ago
JSON representation
A barebones Zig app window template using GLFW and ZLFW
- Host: GitHub
- URL: https://github.com/respitefromreality/template-zig-window
- Owner: RespiteFromReality
- Created: 2025-07-03T09:50:20.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2025-07-03T10:03:28.000Z (12 months ago)
- Last Synced: 2025-07-03T10:39:22.486Z (12 months ago)
- Topics: glfw, window, zig
- Language: Zig
- Homepage:
- Size: 0 Bytes
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Template Zig Window
A barebones Zig window template, for zig stable releases.
### Dependencies
- ZLFW: https://github.com/Batres3/zlfw
- GLFW: https://github.com/allyourcodebase/glfw
### Usage
- Click `Use this template` -> `Create new repository` and create a repo.
- Change the `.name` and `version` inside `build.zig.zon` to whatever you want. (Changing the .name field also invalidates the .fingerprint value)
- Run `zig build` to generate a new `.fingerprint` value, replace the old value with the new one.
- Run `zig build run` to build and open the app window.
#### Older templates
Because GitHub templates don't have any versioning scheme, older templates are available as branches
- Tick `Include all branches` box when creating your repository
- Switch the default branch to the version you want
- Rename the branch to main/master
- Remove other branches