thomaspark / glyphsearch

Search for icons from Font Awesome, Glyphicons, IcoMoon, Ionicons, and Octicons
https://glyphsearch.com
MIT License
492 stars 73 forks source link

Offline fallback #67

Open grimen opened 8 years ago

grimen commented 8 years ago

It would be of great value if this project had a fallback on offline search/filtering. Not possible with 100% Algolia dependency, but I could look into client-side approach as fallback using Lunr.js or similar.

Thoughts?

thomaspark commented 8 years ago

Sure, it would be great to have offline fallback as a contingency, and I suppose as a niche use case with local clone.

grimen commented 8 years ago

OK. Actually passed my mind to propose a move towards both Web and Desktop (i.e. using Electron) with same code base, and so offline makes sense. Will have a look at this then.

coliff commented 7 years ago

For this site to work offline I'd suggest;

  1. Get a free SSL cert for the domain from Cloudflare and point it at Github Pages (it's easy to do and free)
  2. Now the site is available over HTTPS (which has many benefits) you can now take advantage of Service Workers, so you can make the site work offline with https://www.talater.com/upup/.
thomaspark commented 7 years ago

Thanks for the suggestion. I've set up GlyphSearch to be available over https://glyphsearch.com, which was needed anyway.

Will look into step 2...