nim-lang

Native Nim UI library based on the idea of "relays" which is a new fancy name for dependency injections via global callbacks. Has Windows API, X11, Cocoa and SDL 3 support. Write UI apps as easily as terminal apps!

15
1
100% credibility
Found Apr 13, 2026 at 15 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
Nim
AI Summary

A Nim library for building native graphical user interfaces across Windows, macOS, and Linux using simple callback relays for drawing, input, and windows.

How It Works

1
🔍 Discover uirelays

You hear about a simple tool that lets you create windows, drawings, and interactive apps as easily as writing a text program.

2
📝 Start your app

Open your writing space in Nim and bring in the UI tools with one easy step.

3
🖥️ Build your window

Tell it to open a window on your screen, and it automatically fits your computer's style.

4
Add drawings and actions

Draw shapes, add text, handle mouse clicks, and make things respond just by calling friendly helpers.

5
▶️ Run and see it live

Start your program, and watch your app appear looking perfectly native on your desktop.

🎉 Your app shines

Share your smooth, cross-computer window app with friends, feeling like a pro without the hassle.

Sign up to see the full architecture

4 more

Sign Up Free

Star Growth

See how this repo grew from 15 to 15 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is uirelays?

uirelays is a native UI library for Nim that lets you build cross-platform desktop apps with Windows API, X11, Cocoa, or SDL3 backends, all kicking in automatically on import. It solves the pain of platform-specific UI setup by handling drawing, input, fonts, and events through simple API calls, so you write UIs as straightforwardly as terminal programs. Think github native ui for Nim developers chasing game native github vibes without the hassle.

Why is it gaining traction?

It stands out by ditching heavy frameworks for zero-config native rendering—no virtual tables or allocations slowing you down, just fast dispatch to platform APIs. Developers dig the one-import simplicity that auto-picks backends like SDL3 for broader reach or GTK4 overrides, making prototypes fly on Windows, macOS, or Linux. The hook? Native performance in a Nim package that's lighter than Electron or Qt bindings.

Who should use this?

Nim devs building tools, dashboards, or lightweight editors who hate UI boilerplate. Ideal for backend hackers dipping into github native client apps, simple game native github prototypes, or native nim ui experiments without SDL-only limits. Skip if you're doing complex layouts—it's for minimalists.

Verdict

Promising alpha for Nim natives (1.0% credibility score, 15 stars), with solid docs but no tests or automerge in repo settings signaling early days. Try examples for quick wins, but wait for more adoption before production. (198 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.