Skip to content

[API Feature Request] Add createQuicklink method #175

@gdsmith

Description

@gdsmith
createQuicklink(name: string, destination: string, openWith: appLike|undefined);

Describe the feature and the current behavior/state.

Allow developers to create properly formatted quicklinks from the api. Users could then choose to promote import links to the root search without having to manually configure them.

Examples:

Integrating createQuicklink with Slack's api and protocol urls would allow you to create quicklinks for your most used channels:

createQuicklink(channelName, `slack://channel?team=${teamId}&id=${channelId}`, slack)

A file search extension could then allow a quicklink for a favourite folder:

createQuicklink(dir.name, dir.path, finder)

Or the same thing but with a custom app defined:

createQuicklink(dir.name, dir.path, customApp)

Will this change the current api? How?

No

Who will benefit with this feature?

Raycast users :)

Any Other info.

I believe this would expand on the api's capabilities in a powerful way that aligns with Raycast's principles, gives users control and allow 3rd party developers to have a sensible/safe way of populating root search items

Metadata

Metadata

Assignees

No one assigned

    Labels

    apiIssues related to APIfeature requestNew feature or improvementstatus: fixed in next releaseThe issue will be closed once next release is available

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions