I've discovered your http://glyphsearch.com/ website on HN; that's totally awesome! I can't count the number of times I open my browser on fontawesome.io or getbootstrap.com to find an icon. That's just what all developers need :)
I took the liberty of forking your project to plug Algolia's Search API and provide a better search experience. To achieve that, I've created a free Algolia (http://www.algolia.com) account for you (I'll send you the credentials privately).
New features includes:
I tried to follow your coding conventions and project architecture. (more details in the commit logs)
I hope you'll like it !
Ignore jekyll's _site directory
Plug Algolia's Search API (auto-complete + instant-search)
- What's new ?
- typeahead.js-based search input (auto-completion)
- typo-tolerance (both in instant-search and auto-completion)
- Push datas to Algolia's indexing server ?
- ```grunt``` generates ```batch.json``` from ```bath.handlebars```
- ```grunt index-icons --apikey PERSONAL_API_KEY``` pushes ```batch.json```
- Enjoy it !
Hey Sylvain. First off, wow! Thanks for your pull request and setting me up with an Algolia account. Lots of awesomeness here. Here are my thoughts.
Thanks in advance. Can't wait to see these features go live!
Removed typeahead.js-based auto-complete (quite useless).
Restore responsive .entry-related classes.
Keep the alphabetical order when the query is empty.
Hey Thomas. I removed the typeahead stuff; you're right about the fit, wasn't improving anything. I added the alphabetical sort on empty queries and restored the responsive classes + font-size on the .entry elements (don't even remember why I removed them, probably a test :p)
You're really welcome !
Sort by name by default, no need to sort using JS.
Prefix query on all words.
Merged. Gave you and Algolia props in the readme/footer. Cheers!