Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions DOCKER.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,19 @@ docker compose up -d

If you already have a PostgreSQL instance, you can run just the app container:

Need a hosted PostgreSQL database? We recommend [Neon](https://get.neon.com/VqfnMo4) for serverless Postgres with connection pooling and database branching.

<div>
<p>Sponsored by</p>
<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 width="250px" alt="Neon Logo fallback" src="https://raw.githubusercontent.com/f/prompts.chat/main/public/sponsors/neon-dark.svg">
</picture>
</a>
</div>

```bash
docker build -f docker/Dockerfile -t prompts.chat .
docker run -d \
Expand Down
21 changes: 21 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,19 @@ npm install && npm run setup

The setup wizard configures branding, theme, authentication (GitHub/Google/Azure AD), and features.

**Recommended database:** prompts.chat uses PostgreSQL. For a hosted database, we recommend [Neon](https://get.neon.com/VqfnMo4).

<div>
<p>Sponsored by</p>
<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 width="250px" alt="Neon Logo fallback" src="https://raw.githubusercontent.com/f/prompts.chat/main/public/sponsors/neon-dark.svg">
</picture>
</a>
</div>

📖 **[Full Self-Hosting Guide](SELF-HOSTING.md)** • 🐳 **[Docker Guide](DOCKER.md)**

---
Expand Down Expand Up @@ -167,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>&nbsp;&nbsp;
<!-- Clemta -->
<a href="https://clemta.com/?utm_source=prompts.chat">
<picture>
Expand Down
15 changes: 15 additions & 0 deletions SELF-HOSTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,21 @@ This guide explains how to deploy **prompts.chat** on your own private server fo
- **PostgreSQL** database
- **npm**

## Recommended Database

prompts.chat requires PostgreSQL. For a hosted PostgreSQL database, we recommend [Neon](https://get.neon.com/VqfnMo4): it provides serverless Postgres, connection pooling, and branching that work well for self-hosted prompts.chat deployments.

<div>
<p>Sponsored by</p>
<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 width="250px" alt="Neon Logo fallback" src="https://raw.githubusercontent.com/f/prompts.chat/main/public/sponsors/neon-dark.svg">
</picture>
</a>
</div>

## Environment Variables

Create a `.env` file based on `.env.example`:
Expand Down
1 change: 1 addition & 0 deletions prompts.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ export default defineConfig({
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" },
Expand Down
5 changes: 5 additions & 0 deletions public/sponsors/neon-dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions public/sponsors/neon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
46 changes: 46 additions & 0 deletions src/app/docs/self-hosting/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,52 @@ export default async function SelfHostingPage() {
</ul>
</div>

{/* Recommended Database */}
<div className="space-y-4">
<h3 className="text-lg font-semibold flex items-center gap-2">
<Database className="h-5 w-5" />
Recommended Database
</h3>
<div className="rounded-lg border p-4 space-y-4">
<p className="text-muted-foreground">
prompts.chat requires PostgreSQL. For a hosted database, we recommend{" "}
<Link
href="https://get.neon.com/VqfnMo4"
target="_blank"
rel="noopener noreferrer"
className="underline hover:text-foreground"
>
Neon
</Link>
{" "}for serverless Postgres, connection pooling, and database branching.
</p>
<div>
<p className="text-xs uppercase tracking-wide text-muted-foreground mb-3">Sponsored by</p>
<Link
href="https://get.neon.com/VqfnMo4"
target="_blank"
rel="noopener noreferrer"
className="inline-flex"
>
<Image
src="/sponsors/neon.svg"
alt="Neon"
width={250}
height={72}
className="h-10 w-auto dark:hidden"
/>
<Image
src="/sponsors/neon-dark.svg"
alt="Neon"
width={250}
height={72}
className="h-10 w-auto hidden dark:block"
/>
</Link>
</div>
</div>
</div>

{/* Installation */}
<div className="space-y-4">
<h3 className="text-lg font-semibold">Quick Start</h3>
Expand Down
Loading