Skip to content

Latest commit

 

History

History
47 lines (34 loc) · 1.79 KB

File metadata and controls

47 lines (34 loc) · 1.79 KB

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.