Meshcentral: Setup page for config.json

Created on 24 Sep 2020  路  4Comments  路  Source: Ylianst/MeshCentral

good morning @all - thanks for this really great software! - since i also have some problems with config.json, i wanted to ask if it would be possible to create a setup page to create the different configurations? maybe for security reasons not directly on the config.json file itself - but e.g. so that you can download the config and then copy it to the server (yes, i am from the windows world ;-)) this would answer many questions here. again many thanks

Translated with www.DeepL.com/Translator (free version)

enhancement

Most helpful comment

So what I'm thinking here (and may start to build if I get a free minute) is an external webpage that has every value loaded and simple yes/no/etc options. Kinda like if you have deployed Microsoft Office using the ODT tool, you need to make a config file, and they have a generator to make that file here: https://config.office.com/deploymentsettings.

If I do build it, I'll probably "base" it off this project that I used a long time ago:
Sample site: https://b3configs.reactiongaming.us/
Source: https://github.com/ozguruysal/b3-config-generator
(That whole project has kinda been abandoned, but it's what I'm seeing in my minds eye right now)

Just a thought on how to move this forward. Probably much better options out there too, but limited skills and all that...

All 4 comments

So what I'm thinking here (and may start to build if I get a free minute) is an external webpage that has every value loaded and simple yes/no/etc options. Kinda like if you have deployed Microsoft Office using the ODT tool, you need to make a config file, and they have a generator to make that file here: https://config.office.com/deploymentsettings.

If I do build it, I'll probably "base" it off this project that I used a long time ago:
Sample site: https://b3configs.reactiongaming.us/
Source: https://github.com/ozguruysal/b3-config-generator
(That whole project has kinda been abandoned, but it's what I'm seeing in my minds eye right now)

Just a thought on how to move this forward. Probably much better options out there too, but limited skills and all that...

I need to research this a bit. The best would be for the configuration page to be auto-generated from the "meshcentral-config-schema.json" file. That is, the config.json schema should have all the the information needed to auto-generate the configuration form. I need to find a tool that does this.

Something like this would work: https://github.com/brutusin/json-forms
This one looks well supported: https://github.com/json-editor/json-editor

I like this editor that I stumbled upon just this evening... very helpful in correcting actions... However I still know there have to be unknown fields and knowing exactly where to place or expose those can be a challenge... It would be awesome to have a Config.JSON generator that could allow new people the opportunity to make correctly validated files based off form data entered.

Additionally, this generator could be done on the same machine that is running the meshcentral server code to allow all "in house" wants, to satisfy the need.

Editor Site: https://jsoneditoronline.org/#left=local.voderi&right=local.lemori

Thanks,
SomeGuru

Was this page helpful?
0 / 5 - 0 ratings

Related issues

LPJon picture LPJon  路  3Comments

coolwormgit picture coolwormgit  路  3Comments

unguzov picture unguzov  路  3Comments

PathfinderNetworks picture PathfinderNetworks  路  3Comments

petervanv picture petervanv  路  3Comments