RoBorregos / Display

GNU General Public License v3.0
2 stars 1 forks source link

Settings through json #11

Closed Francisco-SP3 closed 6 months ago

Francisco-SP3 commented 6 months ago

Make the display be able to change certain values given a json file

Francisco-SP3 commented 6 months ago

This repository seems interesting, will review a possible implementation: https://github.com/json-editor/json-editor

Francisco-SP3 commented 6 months ago

Past repository doesn't edit a json file, rather gives a json format to values in the page. Will try this node package instead: https://www.npmjs.com/package/jsonfile

Francisco-SP3 commented 6 months ago

Screenshot from 2024-04-13 14-32-18

Same problem I was seeing online, fs isn't supported in tailwind thus rendering previous package useless. Investigating other workarounds.

Francisco-SP3 commented 6 months ago

Didn't find a way to implement it. There is the option to use databases, so that is going to be implemented instead.