💾 Archived View for mio.vern.cc › 2024-05-08-nim-web-frameworks.gmi captured on 2024-09-29 at 00:07:24. Gemini links have been rewritten to link to archived content
View Raw
More Information
⬅️ Previous capture (2024-08-18)
-=-=-=-=-=-=-
---
date: 2024-05-08T18:42:06Z
update: 2024-05-08T18:42:06Z
---
Nim web frameworks
Tried out running a "hello world" app following ~vern wiki instructions, specifically the "Reverse-proxying a non-UNIX service" section. Worked well. Not sure if any of the web frameworks for Nim supports unix sockets to avoid using a port.
Some options:
- HappyX: full stack. ~20 dependencies, works in 2.0.0. nim >= 1.6.14.
- mike: looks relatively simple to use. Compiles in nim 2.0.0. nim >= 1.6.12.
- Jester: backend framework, one of the most mature. nim <= 1.x.x only.
- Supranim: fork of httpbeast, which powers Jester. WIP. nim >= 2.0.0.
- jesterfork: development uncertain. Fork of jester for nim >= 2.0.0.
- scorper: uses chronos, incompatible wtih stdlib async. nim >= 2.0.0.
- Nexus: in maintenance mode. Define ORM in yaml. Uses jester. nim >= 1.6.0.
- Phoon: repo archived on 2023*09*05. nim >= 1.6.0.
- zfcore: async server, labelled production ready. Errored. nim >= 2.0.0.
```
# Error while attempting to compile a simple example.
~/.nimble/pkgs/zfcore-#head/zfcore/httpcontext.nim(289, 38) Error: attempting to call undeclared routine: 'getAllQueries'
```
Others with a specialty:
- Caprese: for real*time messaging. nim >= 1.6.4.
- FastKISS: fastcgi server. In heavy development. nim >= 1.4.6.
- Karax: single page application (SPA) framework. nim >= 0.18.0.
- rosencrantz: library for building web services. nim >= 0.19.0.
Links
How to host websites on ~vern
Web frameworks