feat(docs): update quick start instructions in README and SELF-HOSTING files

This commit is contained in:
Fatih Kadir Akın
2026-01-05 19:41:50 +03:00
parent 7c9aa269a9
commit 30f843b1d1
3 changed files with 65 additions and 13 deletions

View File

@@ -22,6 +22,43 @@ Building effective AI prompts is challenging. Developers often struggle with:
npm install prompts.chat
```
## CLI
### Create a New Instance
Scaffold a new prompts.chat deployment with a single command:
```bash
npx prompts.chat new my-prompt-library
```
This will:
1. Clone a clean copy of the repository (removes `.github`, `.claude`, `packages/`, dev scripts)
2. Install dependencies
3. Launch the interactive setup wizard to configure branding, theme, auth, and features
### Interactive Prompt Browser
Browse and search prompts from your terminal:
```bash
npx prompts.chat
```
**Navigation:**
- `↑/↓` or `j/k` — Navigate list
- `Enter` — Select prompt
- `/` — Search prompts
- `n/p` — Next/Previous page
- `r` — Run prompt (open in ChatGPT, Claude, etc.)
- `c` — Copy prompt (with variable filling)
- `C` — Copy raw prompt
- `o` — Open in browser
- `b` — Go back
- `q` — Quit
---
## Quick Start
```typescript