Deeplinks
Snippety supports deeplinks to allow you navigating to specific places in the app.
It might be useful if you want to integrate Snippety with other apps or services.
How To Use
To use a deeplink, you need to open it in a browser or click on it.
If Snippety is installed, it will open the app and navigate to the specific place.
Those links work both on macOS and iOS.
Id Parameter
Some deeplinks require an id
parameter. You need to replace SNIPPET_ID
with
the actual snippet ID.
You can find it by right-clicking on a snippet in the Snippet List and selecting Copy Deeplink.
Keep in mind that if you use iCloud Collaboration, adding or removing snippets from a "share" regenerates their IDs, which will break old deeplinks.
Supported Deeplinks
New Snippet
snippety://new-snippetOpens Snippet Editor with an empty template.
New Snippet From Clipboard
snippety://new-snippet?fromClipboard=trueOpens Snippet Editor with the content from the clipboard.
Edit Snippet
snippety://edit-snippet?id=SNIPPET_IDOpens Snippet Editor with a specific snippet.
Select Snippet
snippety://snippet?id=SNIPPET_IDOpens Snippety with specific snippet selected.
You can quickly get the deeplink by right-clicking on a snippet and selecting Copy Deeplink.
Select Collection
snippety://collection?id=COLLECTION_NAMEOpens Snippety with a specific collection selected.
You can quickly get the deeplink by right-clicking on a collection and selecting Copy Deeplink.
Shared Snippet
snippety://shared-snippet?id=FvdOjMj6DXGUud&code=HmvUASD8Oic10qviOpens Snippet Editor with a shared snippet.
This is a special deeplink that allows sharing snippets with others. The snippet is stored encrypted on Firebase and only the deeplink allows to decrypt it and open in Snippety.
To generate a shareable deeplink, right-click on a snippet, select Share or Export followed by Share Snippet As Link.