Nicheloom

Market intelligence for builders — see what's gaining traction before it's crowded.

AffineUI a 2 file C++ GPU/HTML5 UI that can replace Electron

Details

External ID
48896094
Source
HN
Company
—
Product
AffineUI a 2 file C++ GPU/HTML5 UI that can replace Electron
Website domain
github.com
Launched
July 13, 2026
Cohort
—
Upvotes
6
Upvotes percentile
0.2873357228195938
Tags
—
Fetched at
Sept. 7, 2026, 9:26 p.m.
Updated at
Sept. 7, 2026, 9:26 p.m.

Description

I thought this might be useful to C++ engineers working on games, graphics, content in C++ looking for a good lightweight html5 Electron style UI engine. AffineUI is deeply optimized and meant to run as close to 120hz as possible, but supports (most) of html5 and is easy to integrate with your app. It also is highly crash resistant using weakrefs, handles, etc. to avoid footguns.A zero-dep drop in lib that could be a cross between DearIMGUI and Electron. A full featured GPU accelerated html5 rendering engine you can drop into any C++ project with two files (cpp/h) that adds a gpu accellerated html5 Electron style render plus a Gradio style UI component framework.Just main.cpp, affine.cpp and affine.h and you have yourself an app that's about 1/100th the size of the average Electron beast. I built it as a nicer (but somewhat larger) replacement for DearIMGUI that had full CSS/HTML5 compatibility for graphics apps I've been working on.Also available as a python library (pip install affineui), a rust crate (cargo add affineui) and a .net nuget package.Cheers.

Enrichment

Theme
graphics rendering and visual tools
Vertical
Horizontal
Function
Dev tools
Audience
Developer
AI stance
Not AI
Project type
Commercial product
Normalized one-liner
c++ gpu/html5 ui alternative to electron
Manually corrected
False

Could you build this?

No Building a custom GPU-accelerated HTML/CSS layout and rendering engine in C++ running at 120 FPS requires immense graphics and rendering engine engineering.

What it would actually take: Developing a lightweight browser alternative requires writing an HTML/CSS tokenizer/parser, a CSS box-model layout engine (like Yoga or custom flex/grid algorithms), and a low-overhead GPU rasterizer using Vulkan/DirectX/Metal. This necessitates specialized mastery of C++ systems architecture, GPU memory management, and font/glyph rasterization.

Discussion

No comments on this launch.

Competitors

Other products that read as similar to this one — 83 launches clear the similarity bar, closest 8 shown.

Attention rank: #65 of 84 (itself plus its competitors, highest first — normalized so YC and Product Hunt are compared fairly).

Launched 252 days after the earliest competitor.

Other launches for this product

Same idea, different domain

Nobody's really built a dev tools tool for Sales yet.