I'm using icons from github repo that is updated, how would you store it?

Hi, I'm allowing users to choose their techstack, I have the techstack from https://github.com/gilbarbara/logos How would you store them? As a file or would you insert it into database, what if the data changes, would you have some script to update the database? I'm leaning forward a simple file that is cached, but would love hear a second opinion on this
GitHub
GitHub - gilbarbara/logos: A huge collection of SVG logos
A huge collection of SVG logos. Contribute to gilbarbara/logos development by creating an account on GitHub.
3 Replies
Mendy
Mendy2y ago
I would store in a file - same way I store other assets. Personally I'd prefer to update manually whenever required. Unless it's security, I want to be in full control. If you do want update, you can setup a simple script to update the file once a month or so..
Jaaneek
JaaneekOP2y ago
WOuld you store it in db as array of strings? something like: user_techstack: [react,typescript]
Sturlen
Sturlen2y ago
unless you need hundreds, I'd store it as a static file in your repo and access it like any other static file from your app
Want results from more Discord servers?
Add your server