halostatue

halostatue

TableauEexExtension - Tableau Extension to Render EEx templates

Over the last several months, I’ve been using Tableau to rebuild my long-neglected website. Tableau is part of the Elixir Tools project headed by @mhanberg, and is built on top of MDEx by @leandrocp. This library is one of ten libraries and Elixir extensions that I built. Most of these were built with the assistance of Kiro.

TableauEexExtension is like Tableau’s Tableau.PageExtension and Tableau.PostExtension in that it reads all files in a configurable directory (_eex/ by default) and renders them as files in the source root. It’s suitable for well-known files where some dynamic content would be beneficial: robots.txt, humans.txt, etc.

Where Tableau.PageExtension and Tableau.PostExtension render to HTML and transform the name (_page/about.md becomes <base_url>/about/index.html), TableauEexExtension keeps the filename provided without the .eex extension (_eex/humans.txt becomes /humans.txt).

Example

# _eex/humans.txt.eex
/* TEAM */
Author: <%= @config.author %>
Site: <%= @config.url %>

/* SITE */
Last update: <%= Date.to_iso8601(Date.utc_today()) %>

This generates:

/* TEAM */
Author: Austin Ziegler
Site: https://halostatue.ca

/* SITE */
Last update: 2026-03-06

https://github.com/halostatue/tableau_eex_extension

Where Next?

Popular in Announcing Top

treble37
Just looking for a little feedback on a tiny helper library I built - Sometimes I find the need to convert maps with atom keys to maps w...
New
danschultzer
None of the current solutions worked well for me, so I went ahead and built a user management system from scratch. This project took far...
548 30486 241
New
ityonemo
Currently just starting out on a new mini-project - getting zig NIFs to run in elixir. https://github.com/ityonemo/zigler The idea here...
New
mathieuprog
Hello :waving_hand: Allow me to introduce you to Tz, an alternative time zone database support to Tzdata. Why another library? First a...
New
tfwright
After working on it for a couple of months and using it in production for most of that time, today I’ve released LiveAdmin, a LiveView ba...
New
restlessronin
The repo is at GitHub - cyberchitta/openai_ex: Community maintained Elixir library for OpenAI API · GitHub. Docs are at OpenaiEx User Gu...
152 10796 134
New
scohen
Lexical Lexical is a next-generation language server for the Elixir programming language. Features Context aware code completion As-you...
New

Other popular topics Top

vertexbuffer
Hello, can anybody help here..? I have a list of players and I what to delete an element, but every for loop the list is reverting to ori...
New
joaquinalcerro
Hi there, I am working with Ecto-Postgresql and I need to call all of the records from a specific table but the table has 40,000 records...
New
dokuzbir
I want to highlight html closing tags when i click a html tag. That works in .html files but doesnt work for html.eex templates. How can...
New
aadeshere1
I have a another noob question about loop. Since elixir is immutable, while loop is not directly possible. total = 10 while total != 0 ...
New
sorentwo
Hello! tl;dr Announcing Oban, an Ecto based job processing library with a focus on reliability and historical observability. After spen...
985 44778 311
New
alice
Hey, Just curious what are the main benefits of Elixir compared to Clojure? When is Elixir more useful than Clojure and vice versa? Th...
New

We're in Beta

About us Mission Statement