Ghost-search: Our First Open Source Library for Ghost


#1

Hi guys,

A month ago I decided to work on something that everybody can benefit from. So I started an open source library called ghost-search. After some work I’m proud to announce that I finally have a version that can be used.

Why I started this library?
As you probably know, there is already a search library for Ghost: ghostHunter. The library is good, it does its job, but I always felt that you could do a lot more with a search. Especially now with Dynamic Routing. With ghost-search you can search through posts, tags, users, custom collections, use filters, specify which fields to retrieve and more.

Read more here if you want to know how to setup and customize ghost-search.

The library can be used with/without jQuery.
It’s using fuzzysort as a search algorithm.
Has only 13kb in production.

Let me know what you think.

If you have any questions or suggestions feel free to write in here.


Search for Ghost
#2

Thank you @HauntedThemes for sharing it with the community. I would love to use it and contribute to the project. :+1:


#3

Awesome! Thank you for sharing @HauntedThemes. How does ghost-search work with other languages?


#4

I’ve tested with chinese, russian and an arabic language. I didn’t had a problem.


#5

Thank you @HauntedThemes :+1: :clap: