1.0.0 • Published 11 months ago

create-svelte-chatgpt v1.0.0

Weekly downloads
-
License
-
Repository
-
Last release
11 months ago

Create Svelte ChatGPT

create-svelte-chatgpt is a project generator for building SvelteKit applications powered by ChatGPT. It comes with a pre-built example chat interface and other common features integrated.

Features include:

  • ChatGPT integration using Vercel's AI package, which allows for streamed responses.
  • Chat interface using TailwindCSS for styling / animations.

Getting Started

Installation

npx create-svelte-chatgpt@latest

Add Environment Variable(s)

Create a .env file in the root directory and add your OpenAI API key.

You can get your API key here from the OpenAI dashboard.

OPENAI_API_KEY=xxx

Demo

https://github.com/WillKre/create-svelte-chatgpt/assets/7396157/de9897bb-28e3-4e71-b142-7ce81afdd264

Development

To start a development server:

npm run dev

# Or start the server and open the app in a new browser tab
npm run dev -- --open

Building

To create a production version of your app:

npm run build

You can preview the production build with npm run preview.

To deploy your app, you may need to install an adapter for your target environment.

Contributing

Contributions are welcome! Please create a fork of the repository, make your changes, and submit a pull request.

License

This project is open-source and available under the MIT License.

1.0.0

11 months ago

0.2.12

1 year ago

0.2.11

1 year ago

0.2.10

1 year ago

0.2.9

1 year ago

0.2.8

1 year ago

0.2.7

1 year ago

0.2.6

1 year ago

0.2.5

1 year ago

0.2.4

1 year ago

0.2.3

1 year ago

0.2.2

1 year ago

0.2.1

1 year ago

0.2.0

1 year ago

0.1.4

1 year ago

0.1.3

1 year ago

0.1.2

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago