mirror of
https://github.com/f/awesome-chatgpt-prompts.git
synced 2026-06-27 22:36:02 +00:00
feat: Add support for running prompts on Netlify Agent Runners
This commit is contained in:
@@ -31,6 +31,7 @@ export const codePlatforms: Platform[] = [
|
||||
{ id: "goose", name: "Goose", baseUrl: "goose://recipe", isDeeplink: true },
|
||||
{ id: "github-copilot", name: "GitHub Copilot Chat", baseUrl: "https://github.com/copilot" },
|
||||
{ id: "github-copilot-agents", name: "GitHub Copilot Agents", baseUrl: "https://github.com/copilot/agents" },
|
||||
{ id: "netlify", name: "Netlify", baseUrl: "https://app.netlify.com/run" },
|
||||
{ id: "bolt", name: "Bolt", baseUrl: "https://bolt.new" },
|
||||
{ id: "lovable", name: "Lovable", baseUrl: "https://lovable.dev" },
|
||||
{ id: "v0", name: "v0", baseUrl: "https://v0.dev/chat" },
|
||||
@@ -103,6 +104,8 @@ export function buildUrl(
|
||||
return `${baseUrl}/?prompt=${encoded}`;
|
||||
case "lovable":
|
||||
return `${baseUrl}/?autosubmit=true#prompt=${encoded}`;
|
||||
case "netlify":
|
||||
return `${baseUrl}?prompt=${encoded}&ref=prompts-chat`;
|
||||
case "mistral":
|
||||
return `${baseUrl}?q=${encoded}`;
|
||||
case "perplexity":
|
||||
|
||||
@@ -192,6 +192,12 @@ export const codePlatforms: Platform[] = [
|
||||
baseUrl: "https://github.com/copilot",
|
||||
supportsQuerystring: true,
|
||||
},
|
||||
{
|
||||
id: "netlify",
|
||||
name: "Netlify",
|
||||
baseUrl: "https://app.netlify.com/run",
|
||||
supportsQuerystring: true,
|
||||
},
|
||||
{
|
||||
id: "bolt",
|
||||
name: "Bolt",
|
||||
@@ -278,6 +284,8 @@ export function buildUrl(
|
||||
return `${baseUrl}/?prompt=${encoded}`;
|
||||
case "lovable":
|
||||
return `${baseUrl}/?autosubmit=true#prompt=${encoded}`;
|
||||
case "netlify":
|
||||
return `${baseUrl}?prompt=${encoded}&ref=prompts-chat`;
|
||||
case "mistral":
|
||||
return `${baseUrl}?q=${encoded}`;
|
||||
case "perplexity":
|
||||
|
||||
@@ -91,6 +91,7 @@ const codePlatforms: Platform[] = [
|
||||
{ name: "Copilot Agents", baseUrl: "https://github.com/copilot/agents" },
|
||||
],
|
||||
},
|
||||
{ id: "netlify", name: "Netlify", baseUrl: "https://app.netlify.com/run" },
|
||||
{ id: "bolt", name: "Bolt", baseUrl: "https://bolt.new" },
|
||||
{ id: "lovable", name: "Lovable", baseUrl: "https://lovable.dev" },
|
||||
{ id: "v0", name: "v0", baseUrl: "https://v0.dev/chat" },
|
||||
@@ -173,6 +174,8 @@ function buildUrl(platformId: string, baseUrl: string, promptText: string, promp
|
||||
return `${baseUrl}/?prompt=${encoded}`;
|
||||
case "lovable":
|
||||
return `${baseUrl}/?autosubmit=true#prompt=${encoded}`;
|
||||
case "netlify":
|
||||
return `${baseUrl}?prompt=${encoded}&ref=prompts-chat`;
|
||||
case "mistral":
|
||||
return `${baseUrl}?q=${encoded}`;
|
||||
case "perplexity":
|
||||
|
||||
Reference in New Issue
Block a user