Ghost Algolia tools offers tools to index and fragment Ghost posts to an Algolia index. It consists of two user facing tools:
algolia
, which is a CLI tool to batch index the full content of a Ghost install to a defined Algolia indexalgolia-netlify
, which uses Netlify Functions to listen to Ghost webhooks and add, update, and remove posts to an Algolia index
You can start using the Algolia Netlify package by clicking on this deplooy button. You can find the detailed install and user instructions over here.
While the Algolia Netlify tool is useful to maintain your search index, the Ghost Algolia CLI is good for the initial indexing of the full post content of a site. See full install and user instructions in the package description here.
This is a mono repository, managed with lerna.
git clone
this repo &cd
into it as usualyarn setup
is mapped tolerna bootstrap
- installs all external dependencies
- links all internal dependencies
To add a new package to the repo:
- install slimer
- run
slimer new <package name>
yarn dev
yarn lint
run just eslintyarn test
run lint and tests
yarn ship
is an alias forlerna publish
- Publishes all packages which have changed
- Also updates any packages which depend on changed packages
Copyright (c) 2013-2023 Ghost Foundation - Released under the MIT license.