Skip to content

tim-engine/tim-ruby

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tim - Template Engine
⚡️ A high-performance front-end engine as a Ruby Gem
FastCompiledSource-to-SourceInterpreter

gem install tim_engine

Official docs | API reference
Github Actions Github Actions

Or add to your Gemfile:

gem "tim_engine"

Usage

require "tim_engine"

# Initialize the engine (auto-detects templates directory)
Tim.init("templates", "output", Dir.pwd)

# Render a view with a layout
html = Tim.render("index", { title: "Hello" })

# Render a standalone view
html = Tim.renderView("error", { message: "Not found" })

Development

The native extension is built via Clue and the Nim compiler.

OpenCode Switch to Open-Source LLMs via OpenCode GO, choosing from a variety of powerful models such as DeepSeek, Qwen, Kimi, GLM-5, MiniMax, MiMo. 🍕 Use our referral link to get started!

🎩 License

Tim Engine | LGPLv3 license. Made by Humans from OpenPeeps.
Copyright © 2026 OpenPeeps & Contributors — All rights reserved.

Releases

No releases published

Packages

 
 
 

Contributors

Languages

Generated from openpeeps/pistachio