News for hackers. Stuff that matters.

Ask HN: UI for editing YAML/JSON backed by version control

Is there an existing service that exposes a web UI to guide folks editing a JSON or YAML configuration according to some schema? It should store each edited file with full audit/revision history (or even better, just be backed by git).

The goal is to make it easier for non-technical folks to safely editing config files at a higher level while retaining the benefits of version control systems.

Edit: they shouldn't have to know they're editing YAML or JSON. The ideal would be the equivalent of a GUI SQL query builder but for config files.

( 3 comments | 5 points | on HN )
Re:Ask HN: UI for editing YAML/JSON backed by version control by dm7 on Thursday April 16, 2020 @11:18PM (#22895904)
I built something like that when I needed expose config changes to non-technical peers using https://github.com/rjsf-team/react-jsonschema-form + one POST function that checkouts git and commit a change
Re:Ask HN: UI for editing YAML/JSON backed by version control by PaulHoule on Thursday April 16, 2020 @10:43AM (#22889861)
I think the fast path is to start with a self-hosted github clone

https://www.cyberciti.biz/open-source/github-alternatives-op...

and then add a web-based editor specialized for JSON and/or YAML.

Re:Ask HN: UI for editing YAML/JSON backed by version control by thedevindevops on Friday April 17, 2020 @09:34AM (#22898836)
'make it easier for non-technical folks to safely editing config files' gives me the heebie-jeebies