Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add search/filters/sorting to better find some specific sites #489

Open
zgael opened this issue Mar 2, 2023 · 1 comment
Open

Add search/filters/sorting to better find some specific sites #489

zgael opened this issue Mar 2, 2023 · 1 comment

Comments

@zgael
Copy link

zgael commented Mar 2, 2023

Hi,

here is my use-case :
for a training session, I'm looking for examples of websites to shame, as it always makes people react 馃槆

But I obvisouly don't know all those sites, as some are country-specific, so I thought about some filters that could be useful for many people :

  • A ranking order (as discussed in Add ranking system for sites聽#445 ) that could make it easier for me to find the worst ones
  • A domain filter (categories could be banking, telco, education, ...)
  • A country filter (some entries do bring precisions like "French national health insurance" for instance, which is quite useful, but banks do not bring those precisions. Obivously, banks are not limited to one single country, but the main country/countries they reside in/operate in maybe)
  • A simple searchbar (for now, I'm using my browser's Ctrl-F feature to find all the bank/banque/credit, but I'm missing some like LCL and other acronyms).

Do you think it's something that could be useful ?

@duffn
Copy link
Owner

duffn commented Mar 2, 2023

Great suggestions!

A domain filter (categories could be banking, telco, education, ...)

I like this. It would require changing the entries and adding a "domain" element.

A country filter (some entries do bring precisions like "French national health insurance" for instance, which is quite useful, but banks do not bring those precisions. Obivously, banks are not limited to one single country, but the main country/countries they reside in/operate in maybe)

Also good. It would require changing the entries and adding a "country" element.

A simple searchbar (for now, I'm using my browser's Ctrl-F feature to find all the bank/banque/credit, but I'm missing some like LCL and other acronyms).

This we could do right now without changing the entries. There are a number of posts out there on how to do it with lunr.js or elasticlunr. I also used PageFind in my blog, though I won't claim that's the right solution: https://github.com/duffn/blog/blob/06cf94f8b07ca36d041b10189e74fe8a7b8cc1ab/content/search/index.md

I'm open to suggestions in this area.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants