kairos

Multi-threaded chronos HTTP server with httpx-compatible API

Pure Nim score 15/100 · tests present · no docs generated

Summary

Latest Version 0.1.1
License MIT
CI Status Failing
Downloads 0
Last Indexed 2026-09-04 07:26

Authors

  • jmgomez

Installation

nimble install kairos
choosenim install kairos
git clone https://github.com/jmgomez/kairos

OS Compatibility

Platform Linux macOS Windows FreeBSD OpenBSD NetBSD Android iOS WASM Embedded
kairos - - - - - - -

Dependencies

Package Version Optional
nim >= 2.2.0 No
chronos >= 4.0.0 No
websock >= 0.2.1 No

Source

Repository https://github.com/jmgomez/kairos
Homepage https://github.com/jmgomez/kairos
Registry Source nimble_official

README

Kairos

Kairos (καιρός) — the opportune moment. A chronos HTTP backend for Prologue with an httpx-compatible API.

Quick Start

import kairos

proc onRequest(req: Request): Future[void] {.gcsafe, async.} =
  req.send(Http200, "Hello from Kairos!")

run(onRequest, initSettings(port = Port(8080), numThreads = 4))

Install

nimble install kairos

Requires Nim >= 2.2.0, chronos >= 4.2.0

License

MIT