nextcloud / nextcloud/server

Open file from URL locally if desktop client installed

Open
#51,851 3 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

0. Needs triage enhancement
Dominant language
PHP
Stars
36.9k
Forks
5.2k
Avg merge
2d 3h
Merged PRs (30d)
713

Description

A lot of users use NC as a way to sync and exchange their files on their desktops without much interaction via web preferring local apps (Text/Sheet processors etc).

In my case users need to exchange the files located in group folders. NC provides internal URLs of the files/dirs. So users copy these URLs in their Windows File Explorer and send them via messengers/email whatever to their counterparts. Counterparts click on the URL and are proceeded to NC webUI to open folder or file. This is not always convenient.

My suggestion is to provide an option to open files and folders locally on their devices, providing they:

  1. have NC desktop client installed, working
  2. they have permission to open file or folder
  3. they have an app to process this type of file

This option may be listed as a separate item in a NC desktop client dialogue when clicking over file or a folder which is synced, or as options in the NC desktop client itself, eg: Always open locally/Always open in web/Ask each time.

NC itself has a function Edit locally, which is accessible under 3-dot manu in Files app, which allow to open a file on the device in case there's NC desktop client installed. As I understand the main task is to make NC desktop client be registered as a processor of all URL requests to NC files app in order not to open web browser each time.

What do you think about that?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Files app's existing “Edit locally” action and the desktop client's handling of internal file and folder URLs. Review how the proposed permission, client-installed, and local-application conditions would interact with the suggested “Always open locally/Always open in web/Ask each time” choices. Done would require an agreed design and behavior for opening eligible URLs locally without breaking web access.

Written by the indexing model from the issue text.

Assessment

Domain
desktop, web-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.