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.
norm
-
Nim v2.0 Released
Congratulations to everyone involved and the entire Nim community!
Nim has been my language of choice for the past decade and I'm really happy with the new features in Nim 2.0. Some of them are real gamechangers for my projects. For example, default values for objects theoretically allow me to make Norm[1] work with object types along with object instances. And the new overloadable enums is something Karkas [2] wouldn't be possible at all (it's still WIP though).
[1] https://norm.nim.town
[2] https://karkas.nim.town
-
Nim Version 1.6 Released
In the ORM field, Norm[1] is an actively maintained package that supports SQLite and Postgres. It's framework agnostic, I've used it with Jester and Prologue (it had nothing to do with Prolog btw).
Among frameworks, Prologue is the most actively developed and feature rich.
[1] https://norm.nim.town
-
Invisible DB Driver / ORM without a single cool feature [experiment]
[1] https://norm.nim.town
nim
-
Twitter Clone in 60 lines of Nim
Twitter Sources and Hello World Sources
- Mono: A Simple UI/Web/Desktop/Mobile Framework Written in Nim
-
File Explorer in 20 lines of Nim | Mono UI
No Network, no JS, no Client, no Server, no API. Write plain Nim code, and Mono UI will turn it into fluid interactive web UI.
-
Purpose of NimScript vs nim
There's no sense to use NimScript. Just run plain Nim as nim -r play.nim and disable compiler outputs to avoid noise in terminal.
-
Mono, Nim Web Framework
Something like mix of Svelte and Phoenix LiveView. # Features - Reactive, like Svelte, with compact and clean code. - Stateful Components. - Bidirectional data binding to inputs. - Multiple UI instances with shared memory updated automatically. - Fast initial page load. - SEO friendly. - Flexible deployment: Server, Browser, Desktop, Mobile. # Example Source of [Todo App Example](https://github.com/al6x/nim/blob/main/mono/examples/todo.nim) ```Nim import base, mono/core # Model -------------------------------------------------------------------------------------------- type TodoItemState* = enum active, completed TodoItem* = ref object text*: string completed*: bool Todo* = ref object items*: seq[TodoItem] proc id*(self: TodoItem): string = self.text
-
Mono, Web UI for Nim, high productivity, simple and clean code
Source of Todo App Example
-
Invisible DB Driver / ORM without a single cool feature [experiment]
It's just a conversion of a tuple into SQL `where` statement https://github.com/al6x/nim/blob/main/postgres/db_tablem.nim#L135
- RPC in 10 and REST API in 5 lines of Nim
-
Twitter in 100 lines of Nim, Interactive UI with no JS
I added description how it works in readme, please check it out, there are answers about forms and chat https://github.com/al6x/nim/tree/main/web#readme
What are some alternatives?
prologue - Powerful and flexible web framework written in Nim
keep - Keep helps you manage Notes
httpbeast - A highly performant, multi-threaded HTTP 1.1 server written in Nim.
nimscripter - Quick and easy Nim <-> Nimscript interop
godot-nim - Nim bindings for Godot Engine
Mono - Mono open source ECMA CLI, C# and .NET implementation.
jester - A sinatra-like web framework for Nim.
vscode-nim
INim - Interactive Nim Shell / REPL / Playground
cps - Continuation-Passing Style for Nim 🔗
nimbus-eth2 - Nim implementation of the Ethereum Beacon Chain
awesome-nim - A curated list of awesome Nim frameworks, libraries, software and resources.