nextcloud / nextcloud/server

Open shared link from browser in app

Open
#16,305 8 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

client: 💻 desktop client: 🤖🍏 mobile feature: sharing overview
Dominant language
PHP
Stars
36.9k
Forks
5.2k
Avg merge
2d 3h
Merged PRs (30d)
713

Description

Idea is that you click on a shared link (maybe got it from mail) and this opens up browser on mobile/desktop.
Browser then detects this and asks to open it in app. It pass
nc://shownode/server:cloud.example.org&shareToken=ASDFWASD&fileId=123
to mobile/desktop.

On client, we check if we can access the file, or have it shown anonymous:

if (same account)
  if (file id exists)
    show internal
  else 
    #show unauth: 
    if query shared token
      check if password and ask for it
    else 
      show error (internal link was clicked, but not shared)
    fi
  fi
else 
  show unauth: query shared token, check if password and ask for it
fi

webdav request on protected link:
user: shareToken
pass: password

Next step:
- add to my cloud (on federated share) within app

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 linked nextcloud/files-clients issue and the server-side shared-link and WebDAV behavior described here. Trace how the nc:// URI, share token, password, and file ID would cross from the browser into the mobile or desktop client. Done requires an agreed server/client flow for internal, anonymous, protected, and federated shares.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend, cloud
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.