Skip to content

marc-dantas/trellis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Trellis

Trellis is a simple and powerful templating engine.

It uses a clean and readable syntax to define templates and inherit from them, allowing for flexible and maintainable content generation.

Trellis is meant for HTML content but can be used as any text generator (Markdown, plain, Gemini's Gemtext, or any other).

Getting started

Trellis is written in Lua programming language and is shipped as a script.

NOTE: For now, trellis is nothing more than a prototype and I'm also creating it for my own use. This piece of software has no warranty, so use it at YOUR OWN RISK!

Dependencies

Trellis depends only on:

To install Lua interpreter, visit the official Lua website.

Install LuaRocks on your machine. Then and run this command to install LuaFileSystem:

$ luarocks install luafilesystem

Usage

To use trellis you need to execute the script at the src folder in this repository:

  • Windows
> lua src\trellis.lua
  • Linux/Mac
$ chmod +x src/trellis.lua
$ ./src/trellis.lua # or lua src/trellis.lua

Learning resources

Read the manual in this repository to understand how to use Trellis and its capabilities

Examples

For a demonstration of how Trellis works, please see the examples folder.

About

A simple and powerful templating engine

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages