owlkettle
Neel
Our great sponsors
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.
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
Neel
-
Is Nim right for me?
I made the Nim equivalent to Python's Eel library called Neel. There are other GUI libraries out there but this is about as simple as it gets. It's only dependency is having chrome installed on your machine. Write your frontend in javascript (or just use Nim and compile to javascript) and backend in Nim. The executables are fast and extremely tiny. It'll embed your assets into the binary too so no dependency/linking BS. If you're on Mac, you can package it into an App too rather than just the executable. See the repo for more details.
What are some alternatives?
Relm4 - Build truly native applications with ease!
godot-nim - Nim bindings for Godot Engine
ImThemes - Dear ImGui style browser and editor written in Nim
NiGui - Cross-platform desktop GUI toolkit written in Nim
nimbus-eth1 - Nimbus: an Ethereum Execution Client for Resource-Restricted Devices
nimgram - An MTProto client written in Nim 👑
mosdepth - fast BAM/CRAM depth calculation for WGS, exome, or targeted sequencing
futhark - Automatic wrapping of C headers in Nim
Eel - A little Python library for making simple Electron-like HTML/JS GUI apps
pixie - Full-featured 2d graphics library for Nim.
nim-dnsprotocol - Domain Name System (DNS) protocol for Nim programming language