freeflowuniverse / aydo

Fully featured and highly configurable SFTP server with optional HTTP/S, FTP/S and WebDAV support - S3, Google Cloud Storage, Azure Blob
GNU Affero General Public License v3.0
0 stars 0 forks source link

extend UI with code editor #1

Closed despiegk closed 1 year ago

despiegk commented 1 year ago

http://127.0.0.1:8080/web/client/files

extend the web ui:

embed code editor so we can edit

with syntax coloring

xmonader commented 1 year ago

There is a code editor ( ttps://github.com/despiegk/sftpgo/blob/main/templates/webclient/editfile.html#L126 ) in the editfile template using codemirror, but the syntax highlighting isn't working properly

image

alichaddad commented 1 year ago

Syntax highlighting is fixed in my fork.

despiegk commented 1 year ago

fantastic

alichaddad commented 1 year ago

Vlang is now supported

despiegk commented 1 year ago

how to use it?

xmonader commented 1 year ago

it's runs out of the box when you try to edit a file

despiegk commented 1 year ago

which branch?

alichaddad commented 1 year ago

Code is merged on development now for both web3 proxy and aydo repos

mohamedamer453 commented 1 year ago

Verified.

Code editor for the mentioned languages was added and it also supports syntax highlighting.

Screencast from 01-06-23 14:43:07.webm

despiegk commented 1 year ago

super cool, i'll try tomorrow