pet-nim-starter

Nim starter tutorials

Pure Nim score 15/100 · last commit 2024-06-25 · 0 stars · tests present · no docs generated

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

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 - - - - - - -

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