Compiling old webserver sketch using Spiffseditor

Hi,

I'm trying to build a Self Balancing Robot based on an ESP and initial copy of this project.

While trying to compile the sketch I run into a compile error in the ESPAsyncWebServer, particularly on a "SPIFFSEditor.h not found" error.
I investigated already SPIFFS and SPIFFSeditor are excluded from the ESPAsyncWebServer library since a few years due to stopped maintenance of these libraries. SPIFFS can be easily replaced by the LittleFS library but for the SPIFFSeditor library I require an alternative.

The file editor object is used to calibrate and control the Self Balancing Robot using a webinterface, so required for initial setup of the robot parameters in the ESP and later to control movement. A nice solution I think.
But for now my lack of knowledge about file handling on ESP gets me stuck. But willing to learn of course :).

What would be an alternative file editor to use in this case?
I did not find an alternative like LittleFS is for SPIFFS.

On the part of the httpServer.addHandler the editor is created as far as I understand this:

  // Start DNS server
  if (MDNS.begin(host))
  {
    Serial.print("MDNS responder started, name: ");
    Serial.println(host);
  }
  else
  {
    Serial.println("Could not start MDNS responder");
  }

  httpServer.on("/", HTTP_GET, [](AsyncWebServerRequest *request)
                {
    Serial.println("Loading index.htm");
    request->send(LittleFS, "/index.htm"); });

  httpServer.serveStatic("/", LittleFS, "/");
  httpServer.onNotFound([](AsyncWebServerRequest *request)
                        { request->send(404, "text/plain", "FileNotFound"); });

  httpServer.addHandler(new SPIFFSEditor(LittleFS, http_username, http_password));
  httpServer.begin();

  wsServer.begin();
  wsServer.onEvent(webSocketEvent);

  MDNS.addService("http", "tcp", 80);
  MDNS.addService("ws", "tcp", 81);


I do not know which web based file editors exist. If Telnet file editor is OK with you you can use:

How extensive is the editing? How many parameters? What types of values? Maybe you could use an MQTT interface instead and make the changes from a PC or Mobile dashboard.

Thanks gfvalvo for your reply.

I was also thinking of just using the EEPROM solution but I don't want to change too much on the concept to avoid other issues arising.
Therefore a search for using the same approached based on other libraries.

The file editing concept can't be lost by stopping with the SPIFFS library.

Looks like the file editor functionality was moved to (at least) this library: AsyncEspFsWebserver by Tolentino Cotesta, which runs on top of ESP Async WebServer by ESP32Async. (Seems there has been some churn recently regarding the "one true version" of the latter.) Both libraries are listed in the IDE.

Confusing what libraries to use now.
Also had to go back to ESP v2.0.17 to get the code compiled.
Newer versions also came with timer issues on the fastStepper library.

And when getting it compiled the connection with a browser got not established.
Managing operation through a browser also seems a bit unconvenient.
I think I make a dedicated remote controller with another ESP32 and maybe hooking both up to my local network to be able to monitor easy what is happening.