Coder Social home page Coder Social logo

waynemorganuk / create-svelte-chatgpt Goto Github PK

View Code? Open in Web Editor NEW

This project forked from willkre/create-svelte-chatgpt

0.0 1.0 0.0 1 MB

Set up a SvelteKit + ChatGPT application by running one command

JavaScript 17.80% TypeScript 17.01% CSS 8.45% HTML 1.60% Svelte 55.14%

create-svelte-chatgpt's Introduction

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:

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
REDIS_URL=yyy # Optional, can be local or remote using Redis Labs, etc. Falls back to in-memory storage if not provided.
REDIS_PASSWORD=zzz # Optional, only required if using a Redis instance.

Demo

demo.mov

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.

create-svelte-chatgpt's People

Contributors

willkre avatar waynemorganuk avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.