boxy
owlkettle
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
boxy
-
Nim v2.0 Released
Not by itself! But together with other library boxy you can: https://github.com/treeform/boxy
You should use pixie to load textures, create text, rasterize vector graphic etc... and send them to boxy to be drawn every frame.
Yes Pixie is CPU only, and just like you can't use Cairo or Skea for real time games you can't use Pixie, but boxy you totally can.
- How can I add graphics to my nim program?
-
Simple Gamepad Support
I made it because I really like pixie/boxy/windy combo, but there is no gamepad support built-in.
-
Is Fidget usable for implementation of 3D rendering?
The author Fidget actually has a number of other great libraries that are part of the rendering stack. Notably, Pixie for text and shape rendering in 2D, Boxy for rendering textures to the GPU via opengl, and then Windy for an OS window context and user events, and a number of other libraries related to 3D rendering.
owlkettle
-
Writing Gnome Apps with Swift
This is really cool! I love the JSX-like approach to UI and it's a shame it's not so common on desktop. https://github.com/can-lehmann/owlkettle is the only thing I find comparable.
- Owlkettle – declarative GUI framework for Nim
-
Nim v2.0 Released
Ones that have not been mentioned so far:
nlvm is an unofficial LLVM backend: https://github.com/arnetheduck/nlvm
npeg lets you write PEGs inline in almost normal PEG notation: https://github.com/zevv/npeg
futhark provides for much more automatic C interop: https://github.com/PMunch/futhark
nimpy allows calling Python code from Nim and vice versa: https://github.com/yglukhov/nimpy
questionable provides a lot of syntax sugar surrounding Option/Result types: https://github.com/codex-storage/questionable
ratel is a framework for embedded programming: https://github.com/PMunch/ratel
cps allows arbitrary procedure rewriting to continuation passing style: https://github.com/nim-works/cps
chronos is an alternative async/await backend: https://github.com/status-im/nim-chronos
zero-functional fixes some inefficiencies when chaining list operations: https://github.com/zero-functional/zero-functional
owlkettle is a declarative macro-oriented library for GTK: https://github.com/can-lehmann/owlkettle
A longer list can be found at https://github.com/ringabout/awesome-nim.
-
Simple Gamepad Support
Although for a GUI (if I even made one, rather than just a fixed/hardcoded setup) I'd probably use Owlkettle(though there are some things I don't like about it, see closed issue 16).
-
Forte! A new way of writing Gtk apps for GNOME.
A similar library in nim is https://github.com/can-lehmann/owlkettle
-
How should one start a GUI library
There's also Owlkettle that seems a bit easier/cleaner IMO, though when I tried it I had some issues (clunky container workflow, wanting better scaling) and would prefer something similar using Qt.
- Show HN: Owlkettle – A Declarative user interface framework based on GTK 4
What are some alternatives?
cpython - Alternative StdLib for Nim for Python targets, hijacks Python StdLib for Nim
Relm4 - Build truly native applications with ease!
nim-gamepad - Cross-platform gamepad library for nim
ImThemes - Dear ImGui style browser and editor written in Nim
pixie - Full-featured 2d graphics library for Nim.
NiGui - Cross-platform desktop GUI toolkit written in Nim
vulkan - Vulkan C bindings for Nim
nimgram - An MTProto client written in Nim 👑
windy - Windowing library for Nim using OS native APIs.
futhark - Automatic wrapping of C headers in Nim
nimgl - NimGL is a Nim library that offers bindings for popular libraries used in computer graphics
awesome-nim - A curated list of awesome Nim frameworks, libraries, software and resources.