ego - An ERB-style templating language for Go.

  •        15

Ego is an ERb style templating language for Go. It works by transpiling templates into pure Go and including them at compile time. These templates are light wrappers around the Go language itself.Then run ego on a directory. Recursively traverse the directory structure and compile all .ego files.

https://github.com/benbjohnson/ego

Tags
Implementation
License
Platform

   




Related Projects

pongo2 - Django-syntax like template-engine for Go

  •    Go

pongo2 is the successor of pongo, a Django-syntax like templating-language.Please use the issue tracker if you're encountering any problems with pongo2 or if you need help with implementing tags or filters (create a ticket!). If possible, please use playground to create a short test case on what's wrong and include the link to the snippet in your issue.

ace - HTML template engine for Go

  •    Go

Ace is an HTML template engine for Go. This is inspired by Slim and Jade. This is a refinement of Gold.Ace fully utilizes the strength of the html/template package. You can embed actions of the template package in Ace templates. Ace also uses nested template definitions of the template package and Ace templates can pass pipelines (parameters) to other templates which they include.

amber - Amber is an elegant templating engine for Go Programming Language, inspired from HAML and Jade

  •    Go

While Amber is perfectly fine and stable to use, I've been working on a direct Pug.js port for Go. It is somewhat hacky at the moment but take a look at Pug.go if you are looking for a Pug.js compatible Go template engine.

scalate - Scalate is a Scala based template engine which supports HAML, Mustache and JSP, Erb and Velocity style syntaxes

  •    Scala

Scalate is a Scala based template engine which supports HAML, Mustache and JSP, Erb and Velocity style syntaxes. In Scaml and SSP all expressions are typesafe and checked at edit/compile time to ensure you don't leave any mistakes in your pages. Mustache uses dynamic typing and reflection; a trade off of hiding code and logic from inside the templates.

jet - Jet template engine

  •    Go

Jet is a template engine developed to be easy to use, powerful, dynamic, yet secure and very fast.You can find the documentation in the wiki.


hero - A handy, fast and powerful go template engine.

  •    Go

Hero is a handy, fast and powerful go template engine, which pre-compiles the html templates to go code. It has been used in production environment in bthub.io.Hero is the fastest and least-memory used among currently known template engines in the benchmark. The data of chart comes from https://github.com/SlinSo/goTemplateBenchmark. You can find more details and benchmarks from that project.

curly - The Curly template language allows separating your logic from the structure of your HTML templates

  •    Ruby

Curly is a template language that completely separates structure and logic. Instead of interspersing your HTML with snippets of Ruby, all logic is moved to a presenter class.Curly can also install an application layout file, replacing the .erb file commonly created by Rails. If you wish to use this, run the curly:install generator.

HappyTemplate Template Engine

  •    

A simple, light weight template engine which is designed to be embedded in a larger program. The template language is very simple, yet highly flexible. It can be used to generate C#, VB.Net, HTML, XML and pretty much any other kind of text based output.

Apache Velocity - Java-based template engine

  •    Java

Velocity is a Java-based template engine. It permits anyone to use a simple yet powerful template language to reference objects defined in Java code. Velocity separates Java code from the web pages, making the web site more maintainable over its lifespan and providing a viable alternative to Java Server Pages (JSPs) or PHP.

Twig - Twig, the flexible, fast, and secure template language for PHP

  •    PHP

Twig is a template language for PHP, released under the new BSD license (code and documentation). Twig uses a syntax similar to the Django and Jinja template languages which inspired the Twig runtime environment.

tera - A template engine for Rust based on Jinja2/Django

  •    Rust

Tera is a template engine inspired by Jinja2 and the Django template language. API documentation is available on docs.rs.

gorazor - Razor view engine for Golang

  •    Go

gorazor -watch input_dir output_dir to auto re-generate code when file changes.Only use raw when you are 100% sure what you are doing, please always be aware of XSS attack.

templating - This repo contains the Template Engine which is used by dotnet new

  •    CSharp

This repository is the home for the .NET Core Template Engine. It contains the brains for dotnet new. When dotnet new is invoked, it will call the Template Engine to create the artifacts on disk. Template Engine is a library for manipulating streams, including operations to replace values, include/exclude regions and process if, else if, else and end if style statements.We have created a dotnet template samples repo, which shows how you can use the Template Engine to create new templates. The samples are setup to be stand alone for specific examples. If you are in need of a sample, and it doesn't exist please create an issue in the samples repo.

plates - Native PHP template system

  •    PHP

Plates is a native PHP template system that's fast, easy to use and easy to extend. It's inspired by the excellent Twig template engine and strives to bring modern template language functionality to native PHP templates. Plates is designed for developers who prefer to use native PHP templates over compiled template languages, such as Twig or Smarty.Full documentation can be found at platesphp.com.

httl - Hyper-Text Template Language and Engine.

  •    Java

Hyper-Text Template Language and Engine.

RazorLight - Template engine based on Microsoft's Razor parsing engine for .NET Core

  •    CSharp

The simplest scenario is to create a template from string. Each template must have a templateKey that is assosiated with it, so you can render the same template next time without recompilation.RazorLight can resolve templates from any source, but there are a built-in providers that resolve template source from filesystem and embedded resources.

TallXSLT

  •    Java

The Template Abstraction Layer Library for XSLT is a java library that allows a programmer to use XSLT as a template engine. This library takes the ideas from web template engines like Smarty and uses XSLT as the template language.

gofpdf - A PDF document generator with high level support for text, drawing and images

  •    Go

Package gofpdf implements a PDF document generator with high level support for text, drawing and images.gofpdf has no dependencies other than the Go standard library. All tests pass on Linux, Mac and Windows platforms.

Rythm Engine - A template engine for Java programmer

  •    Java

A "Razor" like, rich featured, high performance and easy to use Java template engine

EasyOCR - Java OCR 识别组件(基于Tesseract OCR 引擎)。能自动完成图片清理、识别 CAPTCHA 验证码图片内容的一体化工作。Java Image cleanup, OCR recognition component (based Tesseract OCR engine, automatically cleanup image and identification CAPTCHA verification code picture content)

  •    

EasyOCR is a Java language using OCR recognition engine (based Tesseract). By means of a few simple API, the Java language can be used to complete the picture content identification work. And integrated image cleanup, recognition CAPTCHA image, bill notes and other content integration efforts. EasyOCR engine supports plugin programming, ETD templates support, provide a graphical ETD template design tools (EasyTemplateDesigner GUI). EasyOCR not only provide services for consumers, but mainly oriented to provide localized development SDK integration with C/S, B/S and Android mobile terminal native integration projects.