Skip to content

merouaneezziti/algolia

Folders and files

NameName
Last commit message
Last commit date

Latest commit

08dbb9f · Aug 3, 2021

History

67 Commits
Aug 3, 2021
May 26, 2021
Apr 22, 2020
Apr 22, 2020
Aug 14, 2020
Apr 28, 2020
Jan 25, 2021
Jan 25, 2021
Apr 22, 2020
May 1, 2020
May 26, 2021
May 26, 2021
May 26, 2021

Repository files navigation

Ghost Algolia tools

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 index
  • algolia-netlify, which uses Netlify Functions to listen to Ghost webhooks and add, update, and remove posts to an Algolia index

Usage

Algolia Netlify package

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.

Deploy to Netlify

Ghost Algolia CLI

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 und user instructions in the package description here.

Develop

This is a mono repository, managed with lerna.

  1. git clone this repo & cd into it as usual
  2. yarn setup is mapped to lerna bootstrap
    • installs all external dependencies
    • links all internal dependencies

To add a new package to the repo:

  • install slimer
  • run slimer new <package name>

Run

  • yarn dev

Test

  • yarn lint run just eslint
  • yarn test run lint and tests

Publish

  • yarn ship is an alias for lerna publish
    • Publishes all packages which have changed
    • Also updates any packages which depend on changed packages

Copyright & License

Copyright (c) 2013-2021 Ghost Foundation - Released under the MIT license.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published