Giter VIP home page Giter VIP logo

rendr's Introduction

rendr

A project scaffolding tool

MIT License GitHub release User Guide

Check out the User Guide for the full documentation.

Features

rendr is a scaffolding tool which allows generating entire projects (or anything else) from blueprints, using standard templating engines and simple customization via parameters. It is generic enough to apply to a wide variety of applications and tech stacks, but powerful and flexible enough to provide value, fast. The tool itself is really a generic template renderer. It's up to you, the template creator, to decide what to put in your template.

Use cases

Here are just a few possible use cases:

  • Enable rapid spin-up of new projects, complete with CI/CD pipelines, code quality gates, security analysis, and more
  • Ship "Hello, World!" projects immediately to production, enabling instant iteration on features
  • Include CI/CD standards baked into projects from the start, easily kept up to date
  • Simplify repeated patterns like creating new microservices, libraries, or submodules on an existing project

Sample blueprints

Check out the sample blueprints to get a feel for what is possible:

Creating your own blueprint is easy! The details are documented in the User Guide.

Installation

Homebrew

To install the latest release:

brew install jamf/tap/rendr

Cargo (from source)

Again, the latest release can be installed with:

cargo install rendr

Binaries for Linux and macOS

Alternatively, you can download the CLI binary directly from the Releases page and put it on your system path.

Usage

More detailed usage can be found in the User Guide.

View available commands:

❯ rendr help

The basic usage to generate a project looks like this:

rendr create --blueprint https://github.com/your/template --dir my-project

Provide values to the template with the -v flag:

rendr create -b https://github.com/your/template -d my-project -v name:foo -v version:1.0.0

Contributing

Feedback and pull requests are welcome! Let us know if you have issues using the tool, or see use cases that are not yet supported. We'd love to expand its usefulness!

rendr's People

Contributors

thecodesmith avatar uint avatar uint-jamf avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

martintheweirdo

rendr's Issues

Cannot generate from blueprint containing non-UTF8 encoded file

Observed Behavior

I am using rendr to create a microservice template that uses Gradle as its build tool. If I include the Gradle wrapper into the blueprint, code generation fails with

stream did not contain valid UTF-8

Removing the Gradle JAR from the blueprint resolves the issue.

Expected Behavior

Binary files are copied into generated directory without inspection or modification.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.