Skip to content

pierre-aurele-martin/Algolia4you

Repository files navigation

Algolia4You

Goal

Allow some e-commerce owner who wants to try Algolia without anything to code to actually do that.

How does it work?

  1. Simply go to pamart.in/Algolia4you/
  2. Put your e-commerce CMS in the input
  3. Let the magic happen

Limitations

For now it only works with Woocomerce (YEAST SEO installed) and Shopify. Prestashop should arrive Limit for each site is 500 objects as the app on my site is plugged to a Community plan

Installation

If you want plug your own accound to use this tools, you'll simple have to change the API key :

  • One back/secret_key.php defining : $GLOBALS['MASTER_KEY'] = [your-write-key];
  • AppID in src/js/main.js const appId = '[your-app-id]';
  • apiKey in src/js/main.js const apiKey = '[your-api-READ-ONLY]';

** !!!Never put your Admin API Key in a frontend Javascript file!!! **

Still to do:

  • Listen and adapt to your feedback

  • Fine tunes the indices

  • Add a debug mode

  • Add a more visual progress bar

  • Update Algolia libraries

  • Add a function to compare with native search

  • Add Color, Size etc. in Object

  • Add more CMS

  • Remove first level of categories when generic (shops, collections etc...)

  • Lite version of the repo

  • The sky is the limit...

I'll create GitHub issues to details those.

Disclaimer

I code for fun and this was made to show Algolia some ❤️ !