Action
AI Web Search
Posted by ap3,
Last update
11 months ago
UPDATES
12 months ago
Raised Exa’s priority
Search Perplexity, ChatGPT, Grok, Exa, You, Gemini, Globe, Brave, Andi, Komo, Phind, Claude, Bing, Yep, Copilot
Steps
-
script
/* Action created by ap3, based on an action created by Jimmy Reekes who built off of Tim Nahumck's work */ var actions = [ "Perplexity", "Exa", "Reddit", "You", "Globe", "ChatGPT", "Brave", "Andi", "Komo", "Phind", "Bing", "Anna" ]; var p = Prompt.create(); p.title = "Select AI Search Engine"; for (i = 0; i < actions.length; i++) { p.addButton(actions[i]); } var con = p.show(); if (con) { var content = draft.processTemplate("[[selection]]"); var output = encodeURIComponent(content); var urls = { "Perplexity": "https://www.perplexity.ai/search?q=", "ChatGPT": "https://chat.openai.com/search?q=", "Grok":"https://grok.x.ai/search?q=", "Exa": "https://exa.ai/search?q=", "You": "https://you.com/search?q=", "Arc": "https://arc.net/search?q=", "Gemini": "https://gemini.google.com/search?q=", "Globe": "https://explorer.globe.engineer/search?q=", "Brave": "https://search.brave.com/search?q=", "Andi": "https://andisearch.com/search?q=", "Komo": "https://komo.ai/search?q=", "Phind": "https://phind.com/search?q=", "Claude": "https://claude.ai/search?q=", "Bing": "https://www.bing.com/search?q=", "Yep": "https://yep.com/search?q=", "Copilot": "https://copilot.microsoft.com/search?q=", "Reddit": "https://www.reddit.com/answers/?q=", "Anna": "https://annas-archive.org/search?q=", }; var selectedUrl = urls[p.buttonPressed]; if (selectedUrl) { var searchUrl = selectedUrl + output; var result = app.openURL(searchUrl, true); } } else { context.cancel(); }
Options
-
After Success Default Notification Info Log Level Info
Items available in the Drafts Directory are uploaded by community members. Use appropriate caution reviewing downloaded items before use.