rejetto / hfs

HFS is a web file server to run on your computer. Share folders or even a single file thanks to the virtual file system.
GNU General Public License v3.0
2.29k stars 227 forks source link

text file editor #500

Closed W-i-n-7 closed 7 months ago

W-i-n-7 commented 8 months ago

a basic text file editor in browser prefferably could open any file such as .bat .cmd .log .conf .ini .cfg .py .html and others this could also be a plugin

rejetto commented 8 months ago

i guess we'll have something like that, at least as a plugin. in the meanwhile, did you consider the "reupload" plugin? it does the job. you can edit basically anything.

W-i-n-7 commented 8 months ago

i use firefox you said the plugin is chrome only

damienzonly commented 7 months ago

@W-i-n-7 i released a simple text editor plugin, give it a try, you can download it in the plugin page of the admin panel https://github.com/damienzonly/hfs-simple-editor

W-i-n-7 commented 7 months ago

@damienzonly

this is really cool thanks :D could you add a create text document button somewhere though?

damienzonly commented 7 months ago

sure it's a good idea, i'll keep you updated

damienzonly commented 7 months ago

@W-i-n-7 i released a new version (1.1), you can update it in the plugins > check updates page. i added some screenshots to the documentation to show you how to create a new file in the current folder

NOTE: the button may not appear if the browser caches the old plugin UI. in that case it's enough to ctrl+shift+R (or cmd+shift+R on mac)

W-i-n-7 commented 7 months ago

@damienzonly tysm

W-i-n-7 commented 7 months ago

oh i just noticed its exactly issue 500