MaterialFiles
MaterialFiles copied to clipboard
Feature Request: Add Nextcloud Integration
Hi, first off—thanks for this fantastic file manager! It's clean, fast, and well-aligned with Material Design principles.
I'd like to request a feature: Nextcloud integration, similar to how FTP, SMB, and WebDAV servers are currently supported.
Use Case:
Nextcloud is a widely-used self-hosted cloud solution that many privacy-conscious users rely on. Integrating it directly into Material Files would allow users to:
- Browse, upload, and download files stored on their Nextcloud server.
- Stream media files directly from Nextcloud.
- Manage remote files using the same interface as local and other network file systems.
Implementation Suggestion:
Since Nextcloud supports WebDAV, basic functionality might already be achievable via existing WebDAV support. However, full Nextcloud integration could include:
- OAuth2 or app password support for more secure authentication.
- Auto-discovery of WebDAV endpoints based on the Nextcloud base URL.
- Enhanced metadata support (e.g., tags, shares) if available via Nextcloud API.
Benefits:
- Makes Material Files more useful for users in the open-source and privacy-focused community.
- Provides a seamless experience across local and cloud-hosted files.
- Strengthens the app’s position as a powerful, modern file manager for Android.
Thanks again for your hard work!
You can use RSAF and then access your Nextcloud storage as external storage thanks to Android's Storage Access Framework (SAF).
You can use RSAF and then access your Nextcloud storage as external storage thanks to Android's Storage Access Framework (SAF).
I didn't find the Nextcloud option on RSAF.
RSAF is basically a frontend to rclone. You can setup a Nextcloud remote with WebDAV. As you can see in the rclone documentation, in combination with Nextcloud (and similar services) it supports some extra features not available with standard/plain WebDAV like hashes and modification time.
RSAF also stores your authentication information as securely as possible. You can enable the biometric applock to secure access to its settings and encrypt the configuration when you want to export it. Neither Material Files, rcx or round sync support this and therefore I am not comfortable with connecting my cloud storage directly through either of these. rclone (and therefore RSAF) is also far more advanced with regard to SFTP, SMB etc.
EDIT: Material Files does support public key authentication. I didn't look carefully enough and missed this.
Material Files has very good support for SAF unlike many other file managers or apps. Personally I don't see a need to reinvent the wheel and I am a strong believer in the "do one thing and do it right" approach.
I would like to add another vote for nextcloud integration. I love this app, but I can't get a nextcloud webdav configured properly. If it's already "doable" then an exmple confguration would be helpful.
Thanks
This is how I added my private Nextcloud account to Material Files:
- Add Storage --> WebDAV-Server
- Hostname: host.domain.tld (no https://)
- Port: 443
- Path: /remote.php/dav/files/
- Name: you-name-it
- Protocol: HTTPS
- Authentication: Password
- Username:
- Password: your-t0p-s3cr37-p4s5w0rD. (best practice: create an app token/password in Nextcloud for your user and use it here)
- Save
Attention: Path cannot be left empty, and it should point to your users files (last part of the path is your username).
Now I am looking for a way to make Material Files the system file manager...
WOW! IT WORKS!!! THANK YOU THANK YOU THANK YOU. Please edit point #4 above and finish the path with a generic username. I initially overlooked that critical detail because it was only present as a note.
I wish developers of a fine app like this would take a few minutes to provide some simple examples. It would probably make their apps much more popular if it weren't such a struggle to figure out how to use it!