WebDAVDevs / webdav-browser-extension

Browser extension to browse a URL as a WebDAV share. You can not only list files but also upload and delete
https://github.com/dom111/webdav-js
Apache License 2.0
19 stars 1 forks source link

add a builtin text editor #3

Open eadmaster opened 5 months ago

eadmaster commented 5 months ago

could save some time editing files directly in the browser

as alternative in the past i've used these php scripts over http:

stokito commented 5 months ago

Thank you for interest to the project. Indeed, editing of plain text files is a most important feature.

Technically speaking you should report the issue to the https://github.com/dom111/webdav-js

This is the WebDAV UI library that is simply injected by the extension as is. The problem is that it's author seems missing and a few of my PRs and opened issues aren't processed.

For the extension my main goal was to make at least something that seamlessly works in a browser and detects a WebDAV share. Ideally once tested it will be added to a browser out of the box. This is nearly to impossible to achieve but worth trying.

There is another Chrome extension: https://github.com/WebDAVDevs/webdav-browser-addon

I asked it's author to publish sources so we all can contribute. The extension is much more powerful and I going to merge this two extensions and add an auto-detection of WebDAV. If you have will and time you can try to contribute to that extension. It needs for at least basic things like translation. I tried to start working on it but the build was failed and I added this to the middle of my long TODO list.

If you wish to have an editor just today then take a looks on the https://github.com/katomaso/webdave This is very basic project and initial idea of author was to use it for blogging.

Otherwise you'll have to use the PHP based file managers, NextCloud or the filebrowser.org written in Go.

eadmaster commented 5 months ago

thank you for the links, i've subscribed for notifications if there is any update.

I also did notice that alternative Chrome extension you mentioned, but it seems only in Chinese so for me it is not usable atm.

stokito commented 5 months ago

you can send a PR with translation to the extension. Even without it only a few buttons doesn't have English title so it's usable.