I open sourced Ghost-Meilisearch Integration to Improve Ghost's Search Experience

Hey Ghost community! :wave:

Inspired by A better search for Ghost - and it’s not Algolia (and open source!)

After struggling with the limitations of Ghost’s default search on my own blog, I decided to build something better. I’m excited to share my Ghost-Meilisearch integration that brings lightning-fast, feature-rich search to Ghost blogs.
What does it do?

This integration replaces Ghost’s default search with a Meilisearch-powered solution that delivers:

  • Full-content search (not just titles and excerpts)
  • Blazing fast results (under 50ms, even for large sites)
  • Search-as-you-type functionality
  • Typo tolerance (users can misspell words and still find results)
  • Dark/light mode support that matches your theme
  • Keyboard shortcuts and fully accessible UI
  • Real-time index updates via webhooks

Why I built this

We all know Ghost’s built-in search has limitations - it only searches titles, excerpts, authors and tags. For content-rich sites, this means readers often can’t find what they’re looking for even when it exists.

I wanted a solution that would:

  • Work with ANY Ghost theme
  • Be easy to set up (even for non-developers)
  • Deliver a premium search experience
  • Stay in sync with content automatically

How to get started

The integration is fully open-source and includes:

  • A drop-in search UI component
  • A CLI tool for initial content syncing
  • A webhook handler for real-time updates

I’ve created detailed documentation for both standard Ghost installations and Ghost(Pro) hosted sites. You can either replace the default search completely or add it via code injection.

Check out the blog post with demo video here: Supercharging Your Ghost Blog with Meilisearch: A Powerful Search Integration

Check out the project on GitHub: GitHub - MFYDev/ghost-meilisearch: Add powerful, lightning-fast search to your Ghost blog with Meilisearch. This integration provides everything you need to create a seamless search experience for your readers.

I’d love to hear your feedback or answer any questions you might have. Has anyone else addressed search limitations in their Ghost sites? What solutions have you tried?

2 Likes

I feel like I’m seeing double today! Nice to have options.

You’re missing a license file in your repo. That’s a key part of being an open source project.

But I guess I’m left wondering: Rather than having two packages for search-ui and two packages for webhooks, whether it might have been better to join @jannis’ existing effort and add a second search option. It feels like duplicated effort for webhooks and ui, given how similar they are.

I think it’d be neat if someone forked one of these two repo’s slick UI offerings (which are really similar) and made it hook up to Algolia, which would be a huge service to Ghost users who can’t afford an additional paid service.

1 Like

@Cathy_Sarisky
Good suggestion! I just updated MIT license to the repo. I forgot that lol.

For the merging into one, I was thinking about it even before started doing it, but however since I am not super experienced in NodeJS project, it was hard for me to make everything perfectly merged, that is the reason why I chose to use some of the similar UI but different backend search logic and etc. Dealing with how to handle both options will slow down my development speed. But now, since the first version is stable, I am open for discussion on it tho, would love to learn more

1 Like