qmetrics.net

winit

Cross-platform Rust window and event library

Frameworks & PlatformsDesktop/CLI app
winit screenshot

winit creates native windows and runs event loops in Rust, dispatching input and window events so higher-level GUI or graphics code can hook in.

Overview

winit is a Rust library for cross-platform window creation and event loop management. Applications first build an EventLoop, then create one or more Window instances and process events such as resize, keyboard input, pointer movement, and close requests.

It is intentionally low level: it does not render graphics itself. Instead it exposes raw window and display handles so callers or companion crates can attach OpenGL, Vulkan, DirectX, Metal, or similar contexts. Multi-window programs match events to windows by ID.

The library supports logical and physical coordinates and emits scale factor changes when a window moves between monitors or DPI settings change. Platform-specific behavior lives behind optional platform modules, with Cargo features for X11, Wayland, raw-window-handle versions, serde, and mint interoperability on Unix and other targets.

Event handling uses EventLoop::run_app rather than a polling iterator model, though a pump-events extension exists on some platforms for compatibility. winit sits as a foundation layer for game engines, custom UIs, and other Rust graphical tooling.

Key features

  • Cross-platform event loop
  • Window create and lifecycle
  • Keyboard and pointer events
  • Raw window handle access
  • Multi-window support
  • DPI and scale factor events
  • X11 and Wayland backends
  • Custom user events

Use cases

  • Rust game window setup
  • Custom GUI engine foundation
  • Graphics API bootstrap
  • Cross-platform desktop tooling
  • Event-driven visual applications

Tags

Similar software

ECC

Open-source agent engineering toolkit for coding harnesses

ECC adds planning, verification, review, memory, skills, and security scanning to coding agents such as Claude Code, Codex, and Cursor. It installs as plugins, packages, and managed adapters across multiple harnesses.

★ 311.7k⟳ 8 days agoMIT
Frameworks & PlatformsDesktop/CLI app

React

JavaScript library for web and native user interfaces

React helps developers build interfaces from reusable components that manage their own state. Views update declaratively when underlying data changes.

★ 253k⟳ 2 days agoMIT
Frameworks & PlatformsDesktop/CLI app

Flutter

Open-source UI framework for multi-platform apps from one codebase

Flutter is an SDK for building user experiences for mobile, web, and desktop from a single codebase. It uses the Dart language and compiles to native machine code or web targets.

★ 181.5k⟳ todayBSD-3-Clause
Open Source Alternative to:Ionic Enterprise

Bootstrap

Responsive HTML, CSS, and JavaScript front-end toolkit

Bootstrap supplies CSS, JavaScript, and Sass-based styles for building responsive, mobile-first sites. It ships prebuilt grid layouts, UI components, and optional JavaScript plugins.

★ 175.1k⟳ 2 days agoMIT

Langflow

Visual low-code builder for AI agents and workflows

Langflow is a visual builder for AI agents and workflows. Flows can be customized in Python and deployed as an API or as an MCP server, with support for major LLMs and vector databases.

★ 157k⟳ todayMIT
Open Source Alternative to:Relevance AIVoiceflow

LangChain

Framework for agents and LLM-powered applications

LangChain helps developers chain interoperable components and integrations to build agents and LLM-powered applications. It offers a standard interface for models, embeddings, vector stores, and related pieces.

★ 150.1k⟳ 2 days agoMIT