MCPcopy
hub / github.com/intentui/intentui / getPromptUrl

Function getPromptUrl

src/components/open-in.tsx:18–24  ·  view source on GitHub ↗
(baseURL: string, url: string)

Source from the content-addressed store, hash-verified

16import { DuplicateIcon } from './icons/duplicate-icon'
17
18function getPromptUrl(baseURL: string, url: string) {
19 return `${baseURL}?q=${encodeURIComponent(
20 `I'm currently reading the ${app.name} documentation at: ${url}\n\n` +
21 `Please help me understand it thoroughly. ` +
22 `Explain the key concepts, show practical examples, and be ready to help me debug or implement features based on this documentation.`
23 )}`
24}
25
26function getPerplexityUrl(url: string) {
27 return `https://www.perplexity.ai/search/new?q=${encodeURIComponent(

Callers 1

OpenInFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected