Sign inSign up

thde/ghost-algolia-indexer

By thde

•Updated about 6 years ago

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

Image
0

473

thde/ghost-algolia-indexer repository overview

⁠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

Tag summary

Content type

Image

Digest

Size

24.4 MB

Last updated

about 6 years ago

docker pull thde/ghost-algolia-indexer