pet-nim-starter
Nim starter tutorials
Summary
| Latest Version | Unknown |
|---|---|
| License | Unknown |
| CI Status | Failing |
| Stars | 0 |
| Forks | 0 |
| Open Issues | 0 |
| Last Commit | 2024-06-25 |
| Downloads | 0 |
| Last Indexed | 2026-09-06 06:05 |
Tags
Installation
nimble install pet-nim-starter
choosenim install pet-nim-starter
git clone https://github.com/ngocdo1987/pet-nim-starter
OS Compatibility
| Platform | Linux | macOS | Windows | FreeBSD | OpenBSD | NetBSD | Android | iOS | WASM | Embedded |
|---|---|---|---|---|---|---|---|---|---|---|
| pet-nim-starter | ✓ | ✓ | ✓ | - | - | - | - | - | - | - |
Source
| Repository | https://github.com/ngocdo1987/pet-nim-starter |
|---|---|
| Homepage | https://github.com/ngocdo1987/pet-nim-starter |
| Registry Source | github |
README
How to build
nim c helloworld.nim
or compile + run
nim c -r helloworld.nim
or compile + optimize size
nim -d:release c hello
nim -d:release --opt:size c hello
nim -d:release --opt:size c hello && strip -s hello
or support SSL (if you receive error "SSL support is not available. Cannot connect over SSL. Compile with -d:ssl to enable")
nim -d:release -d:ssl --opt:size c http_server && strip -s http_server
Base64 support
https://nim-lang.org/docs/base64.html
HTTP client
Home: https://nim-lang.org/docs/httpclient.html Proxy: https://nim-lang.org/docs/httpclient.html#proxy
HTTP server
https://planety.github.io/prologue/quickstart/
Datetime
https://nim-lang.org/docs/times.html
Examples
https://github.com/planety/prologue-examples/tree/master