protocol / research-website

PL Research website
https://research.protocol.ai/
2 stars 2 forks source link

Please add Search (Algolia search would be great!) #132

Closed daviddias closed 4 years ago

daviddias commented 4 years ago

image

See how it works in IPFS image

Or drand image

jsoares commented 4 years ago

I agree search would be great. However, I am not a fan of Algolia in this context. What's the point of building a decentralised website hosted on IPFS if you then add a core dependency on a centralised service?

I wanted to use Fuse.js to implement client-sided search (see Hugo Academic example here) but I don't have much time to explore it and we don't have frontend dev support atm :|

jsoares commented 4 years ago

@daviddias Your wish has been granted in #154 (preview). As I mentioned above, I really didn't want to use a centralised service for a part of the website and therefore implemented the search using fuse.js. The disadvantage is that we don't get highlighting (we could but it's additional complexity) and performance varies based on local computing resources. The advantage is that we get fast, client-side fuzzy search that is entirely decentralised and works offline. I think it's a reasonable trade-off.