Project Pitch Hello: Leveraging CRUD of scripts.acequia.io to WebDAV service

Problem:

Our current system at scripts.acequia.io allows users to create and edit HTML, JavaScript, and other file types, then deploy them as URLs under the scripts.acequia.io domain. This functionality could be extended to any domain where update/delete is offered for existing URLs and Create for 404's.

Opportunity:

We have an opportunity to refactor this functionality to work with any WebDAV server. A "WebDAV server" is any Acequia node that supports WebDAV api. The server can be:

By doing so, users can edit and deploy files directly on their own domains, leveraging their existing WebDAV setups. This expands our user base and enhances the versatility of our tool.

Solution:

We propose to refactor our current editing functionality into a service worker (SW) that can be deployed on any WebDAV server. This service worker will intercept fetch requests and provide an editing interface for various file types (HTML, JavaScript, images, audio, etc.) based on the file type and the presence of an ?edit query parameter.

Details:

Key Features:

Risks and Mitigations:

Next Steps:

  1. Research: Investigate different WebDAV server implementations to understand commonalities and differences.
  2. Development: Refactor current functionality into a modular service worker script.
  3. Testing: Conduct extensive testing across various WebDAV environments.
  4. Documentation: Create detailed documentation and guides for users.
  5. Deployment: Release the service worker script and support materials for public use.

By refactoring our editing functionality to support any WebDAV server, we can significantly enhance the flexibility and utility of our tool, providing a valuable resource for a wider audience.