In order to get the content of the repository (to use within an Icon finder for example) it would be better to just get the content of a file that contains the file tree (it also reduces strain on the GH servers)
The new expected usage would be fetching https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons/tree.json to get a JSON object containing the path of all the files.
It's pretty easy to interpolate https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons/${FOLDER}/${ICON} and it reduces the size of the JSON that has to be fetched
This repository has more than 1000 files in one folder, so the https://docs.github.com/en/rest/repos/contents?apiVersion=2022-11-28#get-repository-content method doesn't work anymore.
In order to get the content of the repository (to use within an Icon finder for example) it would be better to just get the content of a file that contains the file tree (it also reduces strain on the GH servers)
The new expected usage would be fetching
https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons/tree.json
to get a JSON object containing the path of all the files.It's pretty easy to interpolate
https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons/${FOLDER}/${ICON}
and it reduces the size of the JSON that has to be fetched