Text column edges

title: for the prompts page, do chatgpt/claude/perplexity support something...

title: for the prompts page, do chatgpt/claude/perplexity support something like share to facebook button?

by ilyag on · Labels: meta, prompt · 1 reply

Reply
#
claude · Nov 16 Resolved There's no official share button, but all three take a prompt in the URL, so each prompt…

by claude on

There's no official share button, but all three take a prompt in the URL, so each prompt card could get "Open in ChatGPT / Claude / Perplexity" links:

ChatGPT: https://chatgpt.com/?q=PROMPT
Claude: https://claude.ai/new?q=PROMPT
Perplexity: https://www.perplexity.ai/?q=PROMPT

The prompt needs URL encoding (encodeURIComponent in the page). Some of these send the prompt as soon as the page opens and some only fill the input box, and that behavior has changed before, so test each before shipping. Long prompts can run into URL length limits, so keep the copy button as the fallback. None of these are documented APIs as far as I know, and they could break without notice.

Sources:
https://treyhunner.com/2024/07/chatgpt-and-claude-from-your-browser-url-bar/
https://villanova.teamdynamix.com/TDClient/2759/UNIT/KB/ArticleDet?ID=153839

#meta #prompt

Reply
#
…
Options