Skip to content

Instantly share code, notes, and snippets.

@theimerj
Last active December 7, 2023 21:37
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save theimerj/8fae5716ef04d6b38f2defcc25da8779 to your computer and use it in GitHub Desktop.
Save theimerj/8fae5716ef04d6b38f2defcc25da8779 to your computer and use it in GitHub Desktop.
How to open ClickUp links in the ClickUp app instead of the browser

How to open ClickUp links in ClickUp app instead of the browser

  1. Install Finicky
  1. Save this Finicky config to your home root directory as follows: ~/.finicky.js. Please change your default browser to your browser of choice.
module.exports = {
    // Possible options: ["Google Chrome", "Safari", "Firefox", ...]
    defaultBrowser: "Brave Browser",
    options: {
        // Hide the finicky icon from the top bar
        hideIcon: true
    },
    rewrite: [
        {
            match: "https://app.clickup.com/*",
            url: ({ url }) => ({
                ...url,
                protocol: "clickup",
                host: "",
                pathname: url.pathname.slice(1)
            })
        },
    ],
    handlers: [
        {
            match: ({ url }) => url.protocol === "clickup",
            browser: "ClickUp"
        },
    ],
};
  1. Open Finicky.app from your applications folder and set it as your default browser

  2. Done. All ClickUp links will now open in the app.

module.exports = {
// Possible options: ["Google Chrome", "Safari", "Firefox", ...]
defaultBrowser: "Brave Browser",
options: {
// Hide the finicky icon from the top bar
hideIcon: true
},
rewrite: [
{
match: "https://app.clickup.com/*",
url: ({ url }) => ({
...url,
protocol: "clickup",
host: "",
pathname: url.pathname.slice(1)
})
},
],
handlers: [
{
match: ({ url }) => url.protocol === "clickup",
browser: "ClickUp"
},
],
};
@kristakis
Copy link

kristakis commented Nov 20, 2023

Recently this stopped working and I found I had to insert this at line 13:

host: "",

@theimerj
Copy link
Author

Recently this stopped working and I found I had to insert this at line 13:

host: "",

Hey @kristakis, I stopped using Clickup altogether, so I am not able to verify, but I can update the gist if you confirm that your solution is working.

@kristakis
Copy link

kristakis commented Nov 20, 2023 via email

@theimerj
Copy link
Author

Hey @kristakis, I updated the gist. You might find this helpful: johnste/finicky#120 (comment).

@kristakis
Copy link

That did the trick - I inserted this at line 15:

pathname: url.pathname.slice(1)

and can see Finicky processing:

Detected file change
Reloading config
Reloading config
Valid config ✅
Checking for updates:
Current version: v3.4.0
Available version: v3.4.0
Latest version seen: v3.4.0
Opening com.clickup.desktop-app at: clickup://xxxxxxxx/v/f/xxxxxxxxx

thank you

@theimerj
Copy link
Author

Updated, glad I could help.

@kjstoneman
Copy link

How would I add Microsoft Teams links to Finicky?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment