<commit_before><commit_msg>Publishing: Setting up lunr.js in Jekyll<commit_after>---
title: "Setting up lunr.js in Jekyll"
source: <NAME>
date: 2016-02-23 09:00
link: http://arcath.net/2016/02/23/setting-up-lunrjs-in-jekyll.html
type: Tutorial
tool:
  - jekyll
  - lunrjs
---
lunrjs is a client side search system that is perfectly suited for Jekyll and other static site systems. 

Setting it up in Jekyll without any plugins (so it works on Github Pages) isn’t that hard only needs a couple of extra files and some Javascript. You can see the commit used to add lunr to this site here.





{'fraction_non_alphanumeric': 0.08277027027027027, 'fraction_numerical': 0.033783783783783786, 'mean_word_length': 3.821138211382114, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5921515', 'n_tokens_mistral': 215, 'n_tokens_neox': 191, 'n_words': 82}