sauer

Scaffolder for Karax, with Karkas in mind.

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

Summary

Latest Version 1.1.2
License MIT
CI Status Failing
Downloads 0
Last Indexed 2026-07-21 05:25

Authors

  • Constantine Molchanov

Installation

nimble install sauer
choosenim install sauer
git clone https://github.com/moigagoo/sauer

OS Compatibility

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

Dependencies

Package Version Optional
nim >= 2.0.8 No
climate ~= 1.1.1 No

Source

Repository https://github.com/moigagoo/sauer
Homepage https://github.com/moigagoo/sauer
Registry Source nimble_official

README

Sauer

Sauer is a command-line scaffolder for Kraut-powered Karax SPAs.

Installation

Install Sauer with Nimble:

$ nimble install -y sauer

or add to your .nimble file:

requires "sauer >= 1.0.0"

Usage

  1. Generate a new Nim project with nimble init.
  2. In the project directory, run sauer init.
  3. Build the app by running nimble make or sauer make.
  4. See the app in action by running nimble serve or sauer serve and opening http://localhost:1337/app.html#/" in your browser.
  5. To add a new page, run sauer page new mynewpage --route="#/my/new/location/" and rebuild the app. You should now see your page on http://localhost:1337/app.html#/my/new/location/.
  6. To add a page with URL params, use placeholders: sauer page new cat --route="#/cats/{catName}/"
  7. During development, run sauer make --watch --serve to automatically rebuild your app when it's source is updated and serve it locally.