Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/udecode/plate-playground-template

A Next.js 15 template with Plate AI, plugins and components.
https://github.com/udecode/plate-playground-template

editor nextjs plate radix-ui shadcn-ui slate tailwindcss

Last synced: 2 days ago
JSON representation

A Next.js 15 template with Plate AI, plugins and components.

Awesome Lists containing this project

README

        

# Playground Template

A Next.js 15 template with [Plate](https://platejs.org/) AI, plugins and components.

## Features

- Next.js 15 App Directory
- [Plate](https://platejs.org/) editor
- [shadcn/ui](https://ui.shadcn.com/)

## Installation

Choose one of these methods:

### 1. Using CLI (Recommended)

```bash
npx shadcx@latest init plate
```

```bash
npx shadcx@latest add plate/editor-ai
```

### 2. Using Template

[Use this template](https://github.com/udecode/plate-playground-template/generate), then install dependencies:

```bash
pnpm install
```

## Development

Copy the example env file:

```bash
cp .env.example .env.local
```

Configure `.env.local`:

- `OPENAI_API_KEY` – OpenAI API key ([get one here](https://platform.openai.com/account/api-keys))
- `UPLOADTHING_TOKEN` – UploadThing API key ([get one here](https://uploadthing.com/dashboard))

Start the development server:

```bash
pnpm dev
```

Visit http://localhost:3000/editor to see the editor in action.