choosealicense.com icon indicating copy to clipboard operation
choosealicense.com copied to clipboard

Request: add a search bar to every page

Open DeflateAwning opened this issue 1 year ago • 2 comments

It woul be great if there was a basic search bar through all the supported licenses. I prefer to view summaries of licenses on your website, so it's helpful to be able to jump to the page for a specific license.

Implementation options:

  • A basic search bar which loads a search result page is minimum
  • Ajax live search (i.e., autocomplete/search suggestions) would be a bonus, where you can jump right to the resulting page right from the autocomplete/search suggestions.

DeflateAwning avatar Jan 26 '24 21:01 DeflateAwning

Bookmark https://choosealicense.com/appendix/ and c-f (or whatever triggers in-page search in your browser) is one way to jump to the page for any specific license on the site.

But that doesn't search license text or SPDX ID or any other nicknames, which your idea for a search bar could.

Any recommendation for a tiny open source client side search library to use?

Low priority for me to get to, but I'd welcome a prototype implementation in a pull request.

mlinksva avatar Jan 28 '24 00:01 mlinksva

Bookmark https://choosealicense.com/appendix/ and c-f (or whatever triggers in-page search in your browser) is one way to jump to the page for any specific license on the site.

But that doesn't search license text or SPDX ID or any other nicknames, which your idea for a search bar could.

Any recommendation for a tiny open source client side search library to use?

Low priority for me to get to, but I'd welcome a prototype implementation in a pull request.

mozz30-tech avatar Mar 23 '24 11:03 mozz30-tech