halostatue

halostatue

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.

Pagefindex is a wrapper for Pagefind for use with static sites written in Elixir and specific extension support for Tableau.

Pagefind is a fully static search library that aims to perform well on large sites, while using as little of your users’ bandwidth as possible, and without hosting any infrastructure.

With configuration similar to bun and esbuild, Pagefindex makes it easy to index a static site with a standalone Mix task.

mix pagefind # defaults to --site=_site --run-with=auto
mix pagefind --site=dist
mix pagefind --run-with=bun
mix pagefind --use-version=1.4.0

The real magic is for Tableau sites, as you can configure the Pagefindex.Tableau extension and it will automatically index your site after every mix tableau.build so that you have the Pagefind UI, library, and your site index available for every publish*.

config :tableau, Pagefindex.Tableau,
  enabled: true,
  run_with: :auto,
  debounce_ms: 2000

*Batteries Not Included

You still have to prepare your site for using Pagefind, but it’s pretty easy.

https://github.com/halostatue/pagefindex

Showing Posts 1 to 2

netoum

netoum

I have been using Pagefind with the Vite plugin of many static sites and it works great

Self-hosted site search without a third party are rare these days. Pagefind fills the gap perfectly.

Thanks for bringing Pagefindex to the Elixir world, and for the clear documentation with and without Tableau.
Have you tried custom rendering, filtering or are you using the default UI that Pagefind provides ?

halostatue

halostatue OP

I’m using the default UI with a couple of tweaks (it pops up in its own search box on halostatue.ca when you hit /).

I’d consider doing more, but really what’s there suits my limited needs at the moment.

— All posts loaded —

Where Next? Top

Trending in Announcing Top

achempion
Hi, I would like to tell about my initiative to further maintain and develop Waffle project which is the fork of Arc library. The progre...
New
mudasobwa
I fully migrated to my own harness from Anthropic/Gemini and I think it’s time to share it. Welcome DSH, the DeepSeek Harness, fully writ...
New
kip
Localize is the next generation localisation library for Elixir. Think of it as ex_cldr version 3.0. The first version will be released ...
New
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
mcass19
ExRatatui lets you cook up rich terminal UIs in Elixir, powered by Rust’s ratatui via Rustler NIFs. Build interactive terminal applicatio...
New
danschultzer
I’ve moved the strategies out of PowAssent and created a multi-provider framework for Elixir. This way the strategies can be used in any ...
New
gtcode
Aloha gang, There’s a new class of AI model out from TypeSafe. Jev is their flagship model. You can learn about it here: ...
New

Other Trending Topics Top

dominicletz
Hey there, I haven’t seen a list of useful Elixir specific skills for the popular AI tools yet so I’m starting one here with my first. ...
New
raa-ziq
Hi everyone :waving_hand: I wanted to share something I’ve been building — NowBlind, a random chat app designed to help people discover ...
New
OndrejValenta
(I just needed to vent somewhere and LinkedIn is full of hope, or hype, I’m not sure which exactly) AI dream has many faces, but general...
New
AstonJ
With advancements in AI gathering pace and set to increasingly accelerate, perhaps it’s worth having an annual thread on the topic - feel...
New
bartblast
If you haven’t tried Hologram yet, what’s stopped you? Here’s why I’m asking. Building a framework turns out to be two jobs, the framewo...
New
mat-hek
Popcorn, the library that runs Elixir code in the browser, is now stable :popcorn: This is possible because it now builds on a very stab...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews