A multi-platform library for OpenGL, OpenGL ES, Vulkan, window and input (by glfw)


Basic GLFW repo stats
7 days ago

glfw/glfw is an open source project licensed under zlib License which is an OSI approved license.

GLFW Alternatives

Similar projects and alternatives to GLFW

  • GitHub repo cray

    A simple and easy-to-use library to enjoy videogames programming

  • GitHub repo re3

    GTA III, Vice City [UnavailableForLegalReasons - Repository access blocked]

  • GitHub repo luxtorpeda

    Steam Play compatibility tool to run games using native Linux engines (by luxtorpeda-dev)

  • GitHub repo Redis

    Redis is an in-memory database that persists on disk. The data model is key-value, but many different kind of values are supported: Strings, Lists, Sets, Sorted Sets, Hashes, Streams, HyperLogLogs, Bitmaps.

  • GitHub repo imgui

    Dear ImGui: Bloat-free Graphical User interface for C++ with minimal dependencies

  • GitHub repo OpenSSL

    TLS/SSL and crypto library

  • GitHub repo libevent

    Event notification library

  • GitHub repo libvips

    A fast image processing library with low memory needs.

  • GitHub repo Klib

    A standalone and lightweight C library

  • GitHub repo ZLib

    A massively spiffy yet delicately unobtrusive compression library.

  • GitHub repo Jansson

    C library for encoding, decoding and manipulating JSON data

  • GitHub repo ck

    Concurrency primitives, safe memory reclamation mechanisms and non-blocking (including lock-free) data structures designed to aid in the research, design and implementation of high performance concurrent systems developed in C99+.

  • GitHub repo Onion

    C library to create simple HTTP servers and Web Applications.

  • GitHub repo Allegro

    The official Allegro 5 git repository. Pull requests welcome!

  • GitHub repo LibTomCrypt

    LibTomCrypt is a fairly comprehensive, modular and portable cryptographic toolkit that provides developers with a vast array of well known published block ciphers, one-way hash functions, chaining modes, pseudo-random number generators, public key cryptography and a plethora of other routines.

  • GitHub repo smaz

    Small strings compression library

  • GitHub repo MongoDB C Driver

    A high-performance MongoDB driver for C

  • GitHub repo net_skeleton

    Async non-blocking multi-protocol networking library for C/C++

  • GitHub repo MIRACL

    MIRACL Cryptographic SDK: Multiprecision Integer and Rational Arithmetic Cryptographic Library is a C software library that is widely regarded by developers as the gold standard open source SDK for elliptic curve cryptography (ECC).

  • GitHub repo Apophenia

    A C library for statistical and scientific computing

NOTE: The number of mentions on this list indicates mentions on common posts. Hence, a higher number means a better GLFW alternative or higher similarity.


Posts where GLFW has been mentioned. We have used some of these posts to build our list of alternatives and similar projects - the last one was on 2021-03-30.
  • Is there a chance that stormworks will come to consoles?
    Nope. Not very likely. They're using GLFW, which does not have any support for any of the gaming consoles. It also has Vulkan support, but for some reasons, the devs aren't using it. Guessing they do not have the expertise for it.
  • Advanced 2d topics | 2021-03-30
    GLFW ( is a very good OpenGL context/OpenGL window handling library which is a much better alternative to the very outdated GLUT.
  • Should I go with OpenGL or use a Game Engine | 2021-03-30
    assuming that you have any intention of having whatever you build be even remotely crossplatform, you should absolutely make a point to learn and master cmake, if you haven't already, and you should definitely use / build off of glfw
  • 3 easy steps to fix Stormworks: Search and Rescue from the perspective of a software CTO
    They are indeed a tiny team. There are 4 main developers. Deltars, Jon, Antie, and Bones. There were few others that wasn't publically known, but they were working on a short-term contract, as far I'm aware. There could be more they're not telling us. They used to be Sunfire Software but from the offical documention from the UK gov, they're now called Geometa, apparently. The engine they use is GLFW, an OpenGL Rendering engine, plus PyBullet for physic engine. It's not quite from the ground up as you said, but close. They are relativity new to the game development as they all came from different background.
  • Does anyone know how to write a window procedure for all the platform like window and Mac without any extra third party libraries. Also does buffer(that draw pixel on window) need to change too?
    Eventually, after a year or two, you'll have essentially recreated GLFW.
  • An Introduction to the Dear ImGui Library | 2021-03-04
    Dear ImGui is mainly designed for developers to use in content creation and debug tools. It's renderer agnostic in the way that you have to provide the tools to render the data but It's very easy to integrate into your own code as it has multiple bindings for different window and events handling libraries (like GLFW, SDL2 and GLUT) and multiple renderers (like OpenGL, DirectX and Vulkan).
  • C Deep | 2021-02-27
    GLFW - Multi-platform library for creating windows with OpenGL contexts. Zlib
  • Grand Theft Auto: Vice City natively on Linux (reVC)
    It uses glfw, so there is a chance that it works on wayland.
  • Linking Vulkan Static library in Ubuntu | 2021-02-14
  • luaJIT graphics api for use with Luvit? | 2021-02-11
    The only GUI library published to lit is creationix/glfw, which is a pretty 1-to-1 translation layer for GLFW. That seems like your first stop, but will require a certain familiarity with GLFW to get anywhere.
  • Mods for Mac M1? | 2021-02-08
    More info here:
  • mouse passthrough in a transparent window in glfw? | 2021-01-29
    Edit: It is [1] [2] [3 - see very bottom].
  • glfwGetCursorPos bug? | 2021-01-20
    I had a cursor position jumping issue when using GLFW_CURSOR_DISABLED input mode and this is a verified issue.
  • OpenGL cmake linmath.h no such file or directory | 2021-01-15
    You need to download it here Put in same folder as the file you are compiling.
  • Render Blank Window | 2021-01-08
    It can also be useful to read through the source of GLFW, especially once you're a bit more familiar with OS-style programming and the APIs you'd generally expect to use. I've found myself referencing the code from time to time to get ideas about how certain APIs are implemented: