duffn / dumb-password-rules

A compilation of sites with dumb password rules.
https://dumbpasswordrules.com
MIT License
2.98k stars 297 forks source link

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

Open zgael opened 1 year ago

zgael commented 1 year ago

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 :

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

duffn commented 1 year ago

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.