# go-gl/glfw

Go bindings for GLFW 3

Repository: https://github.com/go-gl/glfw
Canonical: https://ross.abutalabs.com/products/go-gl-glfw
Language: C
License: BSD-3-Clause
License Family: permissive
Topics: glfw-bindings, glfw, opengl, gamedev, golang, go
Last push: 2026-08-23T16:24:49+00:00

## Health v2 (maintenance only)
Score: 77/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 35, longevity 100
- inputs: {"age_days": 4854, "days_push": 10, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1690, forks 194 (observed 2026-08-28T04:05:22.536178+00:00)

## What it is
Go bindings for the GLFW 3.4 C library, providing window, OpenGL/Vulkan context, and input handling for desktop applications and games. The GLFW C source is bundled and compiled automatically as part of the Go package.

## Use cases
- create OpenGL windows in Go
- handle keyboard and mouse input for a Go game
- build a cross-platform desktop graphics app in Go
- set up a Vulkan rendering surface from Go
- write a Go game with windowing support

## When to choose
- you need GLFW functionality in a Go program
- you want automatic bundling of the GLFW C library without manual installation
- you need X11, Wayland, and Windows support from one Go package

## When to avoid
- you need a full game engine rather than windowing and input
- you want pure Go without cgo compilation
- you target mobile or web platforms, since GLFW is desktop-only

## Facets
- artifact type: library
- maturity: active
- function: graphics, game-engine, sdk
- domain: graphics, cross-platform, developer-tools
- platform: go, cross-platform, windows, bsd
- tags: glfw, opengl, windowing, cgo-bindings, gamedev, game-development, linux, macos

## Member repositories
- go-gl/glfw (main) score 77

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:22.536178+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:38:21.752919+00:00, confidence not recorded.
  - readme: https://github.com/go-gl/glfw (fetched 2026-08-28T04:05:22.536178+00:00, sha ab99adff9ebb)
- Data as of 2026-08-30T08:39:29.467469+00:00.
