Thriving Thriving Rust RS
↑ 20
codegenr eventuallyconsultant/codegenr

Fast handlebars templates based code generator, ingesting swagger/openapi and other json/yaml documents with $refs, or graphql schema, outputs whatever you template

HEALTH 76 / Stable
// hidden gem// legacy hero codegenrusthandlebarscodegeneratoropenapiswaggerapi-firstgraphqlgraphql-schemarhai

// momentum

tracking since W47

// why it's here

  • Active: last commit today
  • Health 76/100 with only 32 stars
  • Around since 2021 and still shipping

// how to help

// readme

CodeGenR

Installation

Install Rust, 1.91 or later : https://www.rust-lang.org/tools/install. And then install codegenr

cargo install codegenr

or install the development version

cargo install --git https://github.com/eventuallyconsultant/codegenr --branch dev

codegenr runs every section of the codegenr.toml of the current folder, codegenr --help lists the other commands. -v shows the debug logs, -vv the trace ones, and -q only the warnings and the errors. While you write templates (gabarits), codegenr -w keeps running, and renders a section again as soon as a file of its template or custom helper folders changes. It reads the source again first when the source changes, or a file one of its $ref leads to; a source or a $ref given as an url is not watched. A change of codegenr.toml starts everything again, as a new run.

Documentation

codegenr documentation on docs.rs

Codegen Steps

Here is a simple folders/files Tree we’re gonna use in example

Read the full README on GitHub β†—

Health score

Is the project alive and maintained right now? A 0–100 pulse recomputed nightly from commit recency, rhythm, how fast issues close, and how quickly PRs get merged.

How it's calculated

Undervalued score

Activity relative to attention (stars + watchers). Above 50 means a lot of activity for a project its size. Recomputed nightly from commit velocity, contributor effort, issue resolution, fork utility, release cadence, and project maturity β€” divided by a logarithmic reach factor.

How it's calculated

Tags

Tags are independent behavioral signals computed nightly. A project can hold multiple at once. They drive the home page sections.

How it's calculated