Like how on Debian’s website, you can find their ISO’s and other related files in this very simple file browser layout which looks kind of old but I want that, know any projects or way to set something like that up? The modern self-hosted stuff just does not seem simple enough, and both aesthetically and from a functional perspective I would like something like what debain does with their own files. I also want it to be reliable, for some reason, with both immich and nextcloud, a relative of mine was unable to download alot of photos without the download not even starting on Nextcloud, or it stopping 30% of the way on immich, if reliable downloads necessitate a desktop app with their own unique file exchanging protocol I would be ok with that too (willing to compromise with the desired aesthetic and minimalist design)
The ideal thing is the thing here: https://cdimage.debian.org/debian-cd/
I think https://github.com/sigoden/dufs is exactly what you want.
Cockpit has a file browser.
I built my own https://drkt.eu/files/
https://drkt.eu/files/fileindexer.zipAn…interesting…collection of stuff.
:)
I use Caddy for all kind of things and it has a very simple file browser built in that can be activated super easily: https://caddyserver.com/docs/quick-starts/static-files
Looks like shown here: https://peterpf.dev/posts/caddy-simple-fileserver/
I did not know Caddy could do that. TIL
Thanks
I use yazi via ssh(it beats most file browsers even the gui once with photo preview and such) and before that i was browsing through the casa OS file manager. Casa was my second entry to self hosting
python3 -m http.server
Like others said, if you just want to let people download files from your server, use a directory listing.
For my self-hosting though, I use FileBrowser and it’s very simple but still works well.
And make sure to not be listed on r/openDirectories without intending it ;)
You can use basically any HTTP server to achieve that, like Apache or Nginx. If the directory (specified by the path in the URL) doesn’t contain a file that matches the default file in the config (index.html and such), the server will list the directory contents instead.
Those are directory listings. They are the default in apache2 (maybe others as well… I only know apache2), unless disabled or disallowed in the configs (enabled and allowed by default). If the directory you’re accessing such as http://192.168.123.123/somedir/ does not contain a default file, such as an index.html, the directory list will be served instead.
Read-only, or the ability to edit filenames & upload files?
Read only: as per other answers here, basically any HTTP server. The easiest one I know would be darkhttpd, because it requires no config files and can be run without root.
Read write: I like WFM https://github.com/tenox7/wfm
Have you thought of using an ftp server? That dir tree view used to be the default.
Most Webbrowser Support ftp. So if you setup an ftp server you can access it by typing ftp://[server] as the URL, if you want to do it remote I am legally required to recommend you using ftps
Most Webbrowser Support ftp.
None of the popular web browsers support FTP. Maybe some niche browsers still do, but certainly not “most”.
Not anymore.
Chrome removed ftp access.
I believe Firefox followed as well.