Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| dad7f48152 | |||
| 93dabff4ed | |||
| 57694e35f8 | |||
| 20ac7f1abc | |||
| fd0a327162 |
@@ -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 \
|
||||
|
||||
@@ -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)**
|
||||
|
||||
---
|
||||
@@ -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>
|
||||
<!-- Clemta -->
|
||||
<a href="https://clemta.com/?utm_source=prompts.chat">
|
||||
<picture>
|
||||
|
||||
@@ -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`:
|
||||
|
||||
@@ -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" },
|
||||
|
||||
@@ -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 |
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user