@@ -36,9 +36,9 @@ Need a hosted PostgreSQL database? We recommend [Neon](https://get.neon.com/Vqfn
|
||||
<p>Sponsored by</p>
|
||||
<a href="https://get.neon.com/VqfnMo4">
|
||||
<picture>
|
||||
<source media="(prefers-color-scheme: dark)" srcset="https://neon.com/brand/neon-logo-dark-color.svg">
|
||||
<source media="(prefers-color-scheme: light)" srcset="https://neon.com/brand/neon-logo-light-color.svg">
|
||||
<img width="250px" alt="Neon Logo fallback" src="https://neon.com/brand/neon-logo-dark-color.svg">
|
||||
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/f/prompts.chat/main/public/sponsors/neon-dark.svg">
|
||||
<source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/f/prompts.chat/main/public/sponsors/neon.svg">
|
||||
<img width="250px" alt="Neon Logo fallback" src="https://raw.githubusercontent.com/f/prompts.chat/main/public/sponsors/neon-dark.svg">
|
||||
</picture>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
@@ -122,9 +122,9 @@ The setup wizard configures branding, theme, authentication (GitHub/Google/Azure
|
||||
<p>Sponsored by</p>
|
||||
<a href="https://get.neon.com/VqfnMo4">
|
||||
<picture>
|
||||
<source media="(prefers-color-scheme: dark)" srcset="https://neon.com/brand/neon-logo-dark-color.svg">
|
||||
<source media="(prefers-color-scheme: light)" srcset="https://neon.com/brand/neon-logo-light-color.svg">
|
||||
<img width="250px" alt="Neon Logo fallback" src="https://neon.com/brand/neon-logo-dark-color.svg">
|
||||
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/f/prompts.chat/main/public/sponsors/neon-dark.svg">
|
||||
<source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/f/prompts.chat/main/public/sponsors/neon.svg">
|
||||
<img width="250px" alt="Neon Logo fallback" src="https://raw.githubusercontent.com/f/prompts.chat/main/public/sponsors/neon-dark.svg">
|
||||
</picture>
|
||||
</a>
|
||||
</div>
|
||||
@@ -180,6 +180,14 @@ Use prompts.chat as an MCP server in your AI tools.
|
||||
## 💖 Sponsors
|
||||
|
||||
<p align="center">
|
||||
<!-- Neon (py-1) -->
|
||||
<a href="https://get.neon.com/VqfnMo4">
|
||||
<picture>
|
||||
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/f/prompts.chat/main/public/sponsors/neon-dark.svg">
|
||||
<source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/f/prompts.chat/main/public/sponsors/neon.svg">
|
||||
<img height="30" alt="Neon" src="https://raw.githubusercontent.com/f/prompts.chat/main/public/sponsors/neon.svg">
|
||||
</picture>
|
||||
</a>
|
||||
<!-- Clemta -->
|
||||
<a href="https://clemta.com/?utm_source=prompts.chat">
|
||||
<picture>
|
||||
|
||||
+3
-3
@@ -44,9 +44,9 @@ prompts.chat requires PostgreSQL. For a hosted PostgreSQL database, we recommend
|
||||
<p>Sponsored by</p>
|
||||
<a href="https://get.neon.com/VqfnMo4">
|
||||
<picture>
|
||||
<source media="(prefers-color-scheme: dark)" srcset="https://neon.com/brand/neon-logo-dark-color.svg">
|
||||
<source media="(prefers-color-scheme: light)" srcset="https://neon.com/brand/neon-logo-light-color.svg">
|
||||
<img width="250px" alt="Neon Logo fallback" src="https://neon.com/brand/neon-logo-dark-color.svg">
|
||||
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/f/prompts.chat/main/public/sponsors/neon-dark.svg">
|
||||
<source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/f/prompts.chat/main/public/sponsors/neon.svg">
|
||||
<img width="250px" alt="Neon Logo fallback" src="https://raw.githubusercontent.com/f/prompts.chat/main/public/sponsors/neon-dark.svg">
|
||||
</picture>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
+13
-2
@@ -74,8 +74,19 @@ export default defineConfig({
|
||||
enabled: !useCloneBranding,
|
||||
},
|
||||
sponsors: {
|
||||
enabled: false,
|
||||
items: [],
|
||||
enabled: !useCloneBranding,
|
||||
items: [
|
||||
// Add sponsors here
|
||||
{ name: "Neon", className: 'py-1', logo: '/sponsors/neon.svg', darkLogo: '/sponsors/neon-dark.svg', url: "https://get.neon.com/VqfnMo4" },
|
||||
{ name: "Clemta", logo: '/sponsors/clemta.webp', url: "https://clemta.com/?utm_source=prompts.chat" },
|
||||
{ name: "Wiro.ai", className: 'py-1', darkLogo: '/sponsors/wiro.png', logo: '/sponsors/wiro.png', url: "https://wiro.ai/?utm_source=prompts.chat" },
|
||||
{ name: "Cognition", logo: "/sponsors/cognition.svg", url: "https://wind.surf/prompts-chat" },
|
||||
{ name: "CodeRabbit", className: 'py-1', logo: '/sponsors/coderabbit.svg', darkLogo: '/sponsors/coderabbit-dark.svg', url: "https://coderabbit.link/fatih" },
|
||||
{ name: "Sentry", className: 'py-1', logo: '/sponsors/sentry.svg', darkLogo: '/sponsors/sentry-dark.svg', url: "https://sentry.io/?utm_source=prompts.chat" },
|
||||
|
||||
{ name: "eachlabs", className: 'py-[6px]', logo: '/sponsors/eachlabs.png', darkLogo: '/sponsors/eachlabs-dark.png', url: "https://www.eachlabs.ai/?utm_source=promptschat&utm_medium=referral" },
|
||||
{ name: "CommandCode", className: 'py-1', logo: '/sponsors/commandcode.svg', darkLogo: '/sponsors/commandcode-dark.svg', url: "https://commandcode.ai/?utm_source=prompts.chat" },
|
||||
],
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
<svg width="157" height="45" viewBox="0 0 157 45" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M43.9842 0.0123174V44L26.9844 29.2514V44H0.416626V0L43.9842 0.0123174ZM5.75712 38.6595H21.6439V17.5326L38.644 32.5729V5.35124L5.75712 5.34181V38.6595Z" fill="#34D59A"/>
|
||||
<path d="M79.0701 35.7042L62.1564 20.7349V35.4106H56.8364V9.06775L73.7502 24.037V9.36126H79.0701V35.7042ZM84.9267 35.4106V9.36126H100.85V14.6078H90.2466V19.7443H98.6485V24.8808H90.2466V30.1641H100.85V35.4106H84.9267ZM117.32 35.7042C109.945 35.7042 104.001 29.7605 104.001 22.386C104.001 15.0114 109.945 9.06775 117.32 9.06775C124.694 9.06775 130.638 15.0114 130.638 22.386C130.638 29.7605 124.694 35.7042 117.32 35.7042ZM117.32 30.5677C121.869 30.5677 125.281 26.8987 125.281 22.386C125.281 17.8732 121.869 14.2042 117.32 14.2042C112.77 14.2042 109.358 17.8732 109.358 22.386C109.358 26.8987 112.77 30.5677 117.32 30.5677ZM156.493 35.7042L139.579 20.7349V35.4106H134.259V9.06775L151.173 24.037V9.36126H156.493V35.7042Z" fill="black"/>
|
||||
<path d="M79.0701 35.7042L62.1564 20.7349V35.4106H56.8364V9.06775L73.7502 24.037V9.36126H79.0701V35.7042ZM84.9267 35.4106V9.36126H100.85V14.6078H90.2466V19.7443H98.6485V24.8808H90.2466V30.1641H100.85V35.4106H84.9267ZM117.32 35.7042C109.945 35.7042 104.001 29.7605 104.001 22.386C104.001 15.0114 109.945 9.06775 117.32 9.06775C124.694 9.06775 130.638 15.0114 130.638 22.386C130.638 29.7605 124.694 35.7042 117.32 35.7042ZM117.32 30.5677C121.869 30.5677 125.281 26.8987 125.281 22.386C125.281 17.8732 121.869 14.2042 117.32 14.2042C112.77 14.2042 109.358 17.8732 109.358 22.386C109.358 26.8987 112.77 30.5677 117.32 30.5677ZM156.493 35.7042L139.579 20.7349V35.4106H134.259V9.06775L151.173 24.037V9.36126H156.493V35.7042Z" fill="white"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.7 KiB |
@@ -0,0 +1,4 @@
|
||||
<svg width="157" height="45" viewBox="0 0 157 45" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M43.9842 0.0123174V44L26.9844 29.2514V44H0.416626V0L43.9842 0.0123174ZM5.75712 38.6595H21.6439V17.5326L38.644 32.5729V5.35124L5.75712 5.34181V38.6595Z" fill="#37C38F"/>
|
||||
<path d="M79.0702 35.7042L62.1565 20.7349V35.4106H56.8365V9.06775L73.7503 24.037V9.36126H79.0702V35.7042ZM84.9267 35.4106V9.36126H100.85V14.6078H90.2467V19.7443H98.6485V24.8808H90.2467V30.1641H100.85V35.4106H84.9267ZM117.32 35.7042C109.945 35.7042 104.001 29.7605 104.001 22.386C104.001 15.0114 109.945 9.06775 117.32 9.06775C124.694 9.06775 130.638 15.0114 130.638 22.386C130.638 29.7605 124.694 35.7042 117.32 35.7042ZM117.32 30.5677C121.869 30.5677 125.281 26.8987 125.281 22.386C125.281 17.8732 121.869 14.2042 117.32 14.2042C112.77 14.2042 109.358 17.8732 109.358 22.386C109.358 26.8987 112.77 30.5677 117.32 30.5677ZM156.493 35.7042L139.579 20.7349V35.4106H134.259V9.06775L151.173 24.037V9.36126H156.493V35.7042Z" fill="black"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1018 B |
@@ -147,14 +147,14 @@ export default async function SelfHostingPage() {
|
||||
className="inline-flex"
|
||||
>
|
||||
<Image
|
||||
src="https://neon.com/brand/neon-logo-light-color.svg"
|
||||
src="/sponsors/neon.svg"
|
||||
alt="Neon"
|
||||
width={250}
|
||||
height={72}
|
||||
className="h-10 w-auto dark:hidden"
|
||||
/>
|
||||
<Image
|
||||
src="https://neon.com/brand/neon-logo-dark-color.svg"
|
||||
src="/sponsors/neon-dark.svg"
|
||||
alt="Neon"
|
||||
width={250}
|
||||
height={72}
|
||||
|
||||
@@ -77,8 +77,8 @@ const videoPlatforms: Platform[] = [
|
||||
|
||||
// Code platforms (IDEs + code generation tools)
|
||||
const codePlatforms: Platform[] = [
|
||||
{ id: "commandcode", name: "Command Code", baseUrl: "https://commandcode.ai", supportsQuerystring: false },
|
||||
{ id: "windsurf", name: "Windsurf", baseUrl: "windsurf://", isDeeplink: true, supportsQuerystring: false },
|
||||
{ id: "commandcode", name: "Command Code", baseUrl: "https://commandcode.ai/?utm_source=prompts.chat", supportsQuerystring: false, sponsor: true },
|
||||
{ id: "windsurf", name: "Windsurf", baseUrl: "windsurf://", isDeeplink: true, supportsQuerystring: false, sponsor: true },
|
||||
{ id: "vscode", name: "VS Code", baseUrl: "vscode://", isDeeplink: true, supportsQuerystring: false },
|
||||
{ id: "vscode-insiders", name: "VS Code Insiders", baseUrl: "vscode-insiders://", isDeeplink: true, supportsQuerystring: false },
|
||||
{ id: "cursor", name: "Cursor", baseUrl: "cursor://anysphere.cursor-deeplink/prompt", isDeeplink: true },
|
||||
@@ -297,7 +297,7 @@ export function RunPromptButton({
|
||||
}
|
||||
analyticsPrompt.run(promptId, pendingPlatform.name);
|
||||
}
|
||||
}, [variableValues, onVariablesFilled, pendingPlatform, getContentWithVariables, content, title, description, promptId]);
|
||||
}, [variableValues, onVariablesFilled, pendingPlatform, getContentWithVariables, content, promptId]);
|
||||
|
||||
const handleRun = (platform: Platform, baseUrl: string) => {
|
||||
// Check if there are any variables to fill
|
||||
|
||||
@@ -1,9 +1,18 @@
|
||||
import type { WidgetPlugin, WidgetPrompt, WidgetContext, InjectedWidget } from "./types";
|
||||
import { coderabbitWidget } from "./coderabbit";
|
||||
import { bookWidget } from "./book";
|
||||
import { textreamWidget } from "./textream";
|
||||
import { commandcodeWidget } from "./commandcode";
|
||||
|
||||
export * from "./types";
|
||||
|
||||
// Registry of all widget plugins
|
||||
const widgetPlugins: WidgetPlugin[] = [];
|
||||
const widgetPlugins: WidgetPlugin[] = [
|
||||
coderabbitWidget,
|
||||
bookWidget,
|
||||
textreamWidget,
|
||||
commandcodeWidget,
|
||||
];
|
||||
|
||||
/**
|
||||
* Get all registered widget plugins
|
||||
|
||||
Reference in New Issue
Block a user