icons8 / line-awesome

Replace Font Awesome with modern line icons
https://icons8.com/line-awesome
Other
1.25k stars 141 forks source link

Added basic search term metadata file for issue #45 #64

Open SirJson opened 4 years ago

SirJson commented 4 years ago

Hey,

Today I ran into a similar issue as outlined in #45. I needed metadata from Line Awesome to make it better searchable locally, so I wrote a python script that can be found here (https://github.com/SirJson/iconmeta2json) that parses the FA icons.json file and a CSS Stylesheet like Line Awesome and tries to match both to extract metadata like search terms.

One big difference at the moment is that I leave out properties like path because they wouldn't match and I needed only the search terms for now. If there is something that could be extracted from the FA icons.json file and needed it should be easy to include as well, I just thought as a starting point having a focus on search is better.

What do you guys think? Is this helpful for you or not a good idea / not needed anymore?