This Finicky configuration redirects logseq:// protocol URLs to open in the web version of Logseq (test.logseq.com) in Chrome, instead of the desktop Logseq app.
Input (from Logseq Sidekick extension):
logseq://graph/Chrome%20Import%202025-11-09?block-id=68fa4001-7af5-4c59-aa4d-8b9ca2602bc7
Output (opened in Chrome):
https://test.logseq.com/#/page/68fa4001-7af5-4c59-aa4d-8b9ca2602bc7
Add this handler to your ~/.finicky.js config:
export default {
defaultBrowser: "Brave Browser", // or your preferred browser
handlers: [
{
// Handle logseq:// URLs - rewrite and open in Chrome
match: ({ protocol }) => protocol === "logseq:",
browser: "Google Chrome",
url: ({ search }) => {
// Extract block-id from search params
const params = new URLSearchParams(search);
const blockId = params.get("block-id");
if (blockId) {
return `https://test.logseq.com/#/page/${blockId}`;
}
return "https://test.logseq.com/";
}
}
]
};If you don't have Finicky installed:
brew install --cask finickyAdd the handler above to your ~/.finicky.js file.
Use duti to register Finicky as the default handler for the logseq:// protocol:
# Install duti if needed
brew install duti
# Set Finicky as the handler for logseq:// URLs
duti -s se.johnste.finicky logseqCheck that Finicky is registered:
defaults read ~/Library/Preferences/com.apple.LaunchServices/com.apple.launchservices.secure | grep -B 5 -A 5 "LSHandlerURLScheme = logseq"You should see LSHandlerRoleAll = "se.johnste.finicky";
Important: After registering Finicky as the handler, restart your browser (Brave, Chrome, Safari, etc.) for the changes to take effect.
Test with this command:
open "logseq://graph/Chrome%20Import%202025-11-09?block-id=68fa4001-7af5-4c59-aa4d-8b9ca2602bc7"This should open Chrome with: https://test.logseq.com/#/page/68fa4001-7af5-4c59-aa4d-8b9ca2602bc7
- If links aren't working from your browser, restart the browser after setting up Finicky
- Check Finicky logs in Console.app (Applications > Utilities > Console) and search for "Finicky"
- Verify the handler is registered with the
defaults readcommand above
- The Logseq Sidekick extension generates
logseq://URLs when you click on search results - macOS launches Finicky (the registered handler for
logseq://protocol) - Finicky's handler extracts the
block-idparameter from the URL - Finicky transforms the URL to
https://test.logseq.com/#/page/{block-id} - Finicky opens the transformed URL in Chrome