ConfigTool ESP32 and ESP8266 Arduino library for easy saving and storing config variables. Also has a handler to edit them via a webserver (ESP8266 Only). See this example.