Repository navigation
Conversation
Contributor
|
We will not be merging this into the repo. These implementations are meant for you, or someone to maintain outside of the Strata repo. |
This was referenced Oct 18, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Adds an optional Nextcloud desktop provider. Strata does not implement sharing. The provider asks the running desktop client which actions apply to a path, then sends the chosen command back over the client's local shell-integration socket. Share options and the other windowed entries open the client's own windows. Copy-link actions ask the client to copy the link. Sync state is shown as the provider badge.
python3 providers/nextcloud/install.pycopies the adapter to$XDG_CONFIG_HOME/strata/providers/nextcloud. When the desktop client's status icons are installed, the installer copies those icons beside the manifest. The icons are not stored in this repository. Restart Strata after installing. Remove that directory and restart Strata to uninstall.The sync folder itself has no share action, because that is the client's rule. Items outside a synced folder are unchanged. The desktop client has to be running.
Visual evidence
How to test
python3 providers/nextcloud/install.py.python3 scripts/test_nextcloud_provider.py.Expected result: Menu entries and badges come from the desktop client. Choosing an action hands that command back to the client. The unit tests pass, including a fake client that receives
SHAREwith no extra Strata dialog.Related issue
Closes #1668