# GLFW

> A multi-platform library for OpenGL, OpenGL ES and Vulkan windows, contexts and input

Source: https://talira.ai/catalog/glfw-18gjv7t0
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [libraries / graphics / windowing](https://talira.ai/categories/libraries/graphics/windowing), [languages / c cpp](https://talira.ai/categories/languages/c-cpp)
- Platforms: windows, macos, linux[^1]
- Licence: Zlib[^1][^2]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Backed by: [GLFW project](https://talira.ai/orgs/glfw-project.md)

GLFW is a small C library for OpenGL, OpenGL ES and Vulkan development on the desktop: it creates windows, contexts and surfaces and receives keyboard, mouse, gamepad, time and window events, by polling or callbacks. A window with an OpenGL context takes two function calls, and it handles multiple windows and monitors, high-DPI and gamma ramps, with access to native objects for platform-specific features. It runs on Windows, macOS, Wayland and X11, under the zlib/libpng licence, and the community maintains bindings for many other languages.

## Links

- Website: https://www.glfw.org/
- GitHub: https://github.com/glfw/glfw
- Docs: https://www.glfw.org/docs/latest/

## Problems it solves

- open a window with an OpenGL context in my C or C++ program
- create a Vulkan surface and window on Windows, macOS and Linux
- read keyboard, mouse and gamepad input for my OpenGL app without a full game engine

## Features

- window and OpenGL context in two function calls
- OpenGL, OpenGL ES and Vulkan support
- multiple windows and monitors, high-DPI and gamma ramps
- keyboard, mouse, gamepad, time and window input by polling or callbacks
- access to native objects for platform-specific features
- community bindings for many languages

## Trust

Overall: 0.52 out of 1.
Signals: maintenance 0.45, adoption 0.84, momentum 0.60, community 0.93, backing 0.30, extensibility 0.00.

- last commit 3 months ago
- latest release 3.5.1 4 months ago
- 15.5k GitHub stars
- 208 contributors
- backed by GLFW project

## Alternatives

- [SDL](https://talira.ai/catalog/sdl-twb60hjt.md): Simple DirectMedia Layer: cross-platform C library for windows, input, audio and graphics

## Sources

[^1]: https://www.glfw.org/ (checked 26 Nov 2026)
[^2]: https://github.com/glfw/glfw/blob/master/LICENSE.md (checked 26 Nov 2026)
