New Project
Back to Templates

Novel – AI-powered Notion-style editor

A Notion-style WYSYWIG editor with AI-powered autocompletions, built with Tiptap, OpenAI, and Vercel AI SDK.

DeployView Demo
Novel opengraph-image

Docs (WIP)

https://novel.sh/docs/introduction

Introduction

Novel is a Notion-style WYSIWYG editor with AI-powered autocompletions.

https://github.com/steven-tey/novel/assets/28986134/2099877f-4f2b-4b1c-8782-5d803d63be5c

Deploy Your Own

You can deploy your own version of Novel to Vercel with one click:

Setting Up Locally

To set up Novel locally, you'll need to clone the repository and set up the following environment variables:

  • OPENAI_API_KEY – your OpenAI API key (you can get one here)
  • BLOB_READ_WRITE_TOKEN – your Vercel Blob read/write token (currently still in beta, but feel free to sign up on this form for access)

If you've deployed this to Vercel, you can also use vc env pull to pull the environment variables from your Vercel project.

To run the app locally, you can run the following commands:

pnpm i
pnpm dev

Cross-framework support

While Novel is built for React, we also have a few community-maintained packages for non-React frameworks:

  • Svelte: https://novel.sh/svelte
  • Vue: https://novel.sh/vue

VSCode Extension

Thanks to @bennykok, Novel also has a VSCode Extension: https://novel.sh/vscode

https://github.com/steven-tey/novel/assets/28986134/58ebf7e3-cdb3-43df-878b-119e304f7373

Tech Stack

Novel is built on the following stack:

  • Next.js – framework
  • Tiptap – text editor
  • OpenAI - AI completions
  • Vercel AI SDK – AI library
  • Vercel – deployments
  • TailwindCSS – styles
  • Cal Sans – font

Contributing

Here's how you can contribute:

  • Open an issue if you believe you've encountered a bug.
  • Make a pull request to add new features/make quality-of-life improvements/fix bugs.

Repo Activity

License

Licensed under the Apache-2.0 license.

GitHub Reposteven-tey/novel
LicenseView License
Use Cases
AISaaS
Stack
Next.jsTailwind
Database
Vercel Blob

Related Templates

Back to Templates
This template is unavailable

ChatGPT Plugin Starter: WeatherGPT

The ultimate ChatGPT Plugin starter template. WeatherGPT is a ChatGPT Plugin to get the weather of any given location.
ChatGPT Plugin Starter: WeatherGPT

Liftoff – AI Mock Interview Simulator

Liftoff is an interview preparation tool that provides AI feedback on your mock interviews, built with OpenAI Whisper and GPT.
Liftoff – AI Mock Interview Simulator

Chatbot UI

A ChatGPT clone for running locally in your browser.
Chatbot UI