A Cloudflare app with login and a database.
Recent revisions are kept. Restoring one creates a new revision.