Skip to content
This repository has been archived by the owner on Jun 27, 2022. It is now read-only.
/ ghost-algolia-indexer Public archive

A script using the Ghost API to index posts in Algolia.

License

Notifications You must be signed in to change notification settings

thde/ghost-algolia-indexer

Repository files navigation

Ghost Algolia Indexer

This script uses the Ghost API to index your posts in Algolia.

Set the following variables to use the script: GHOST_ADMIN_URL, GHOST_CLIENT_ID, GHOST_CLIENT_SECRET, ALGOLIA_APP_ID, ALGOLIA_API_KEY, ALGOLIA_INDEX_NAME

You could then run it like this:

GHOST_ADMIN_URL='https://demo.ghost.io/ghost' \
GHOST_CLIENT_ID='ghost-frontend' \
GHOST_CLIENT_SECRET='f84a07a72b17' \
ALGOLIA_APP_ID='ABC' \
ALGOLIA_API_KEY='123' \
ALGOLIA_INDEX_NAME='prod_search' \
ghost-algolia-indexer

About

A script using the Ghost API to index posts in Algolia.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published