patrykcoding / rcloneExplorer

rclone explorer for Android
MIT License
346 stars 51 forks source link

Serve files via Android App Links #231

Open MA3o opened 5 years ago

MA3o commented 5 years ago

Hi there and first of all thanks for all the hard work to build this great app!

I love to use this app to reference files saved in my (crypted) cloud storage using file links in my notes application. That is currently possible, but requires the local webserver to be running.

Would it be possible to use Android App Links to serve files without leaving a service running in the background? This is the way Apps like Reddit open automatically when you click a link to reddit.com/Whatever somewhere on your phone. RCloneExplorer could register for some URL (maybe even 127.0.0.1:8080 or something) and would be notified by an Android Intent when a link of that form is clicked. It could then automatically serve a requested file.

This might be related to #228 , even though it's not exactly the same.