• Stars
    star
    182
  • Rank 211,154 (Top 5 %)
  • Language
    TypeScript
  • Created over 1 year ago
  • Updated about 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A chatbot application build with OpenAI's ChatGPT API.

Chatty

This project enables you to run or deploy your own ChatGPT-like application.

How it works

This app leverages OpenAI's recently released ChatGPT API with gpt-3.5-turbo model to respond to a chain of chat messages. Users submit messages to a SvelteKit API Endpoint/Request Handler, which relays the messages to the ChatGPT API. The responses are then proxied back to the client via SSE to stream the response in realtime.

Built with

Run Locally

Clone the repository

git clone https://github.com/huntabyte/chatty

Create a .env file within the new directory

cd chatty && touch .env
echo OPENAI_KEY=<YOUR_API_KEY_HERE> >> .env

Install dependencies & start the dev server

pnpm i && pnpm run dev

You can now access the dev server running at localhost:5173

Deploy to Vercel

Commit the repository to GitHub and select it when creating a new Vercel deployment.

Don't forget to set the OPENAI_KEY environment variable within your Vercel project settings.

More Repositories

1

shadcn-svelte

shadcn/ui, but for Svelte. ✨
Svelte
5,058
star
2

bits-ui

The headless components for Svelte.
TypeScript
1,205
star
3

cmdk-sv

cmdk, but for Svelte ✨
Svelte
471
star
4

vaul-svelte

An unstyled drawer component for Svelte.
TypeScript
438
star
5

tig-stack

The Telegraf, InfluxDB, & Grafana stack (TIG) powered by Docker & Docker Compose.
Shell
117
star
6

showcase

Full stack application built with SvelteKit & PocketBase.
Svelte
91
star
7

modern-saas

Source code for Modern SaaS Apps with SvelteKit, Stripe, & Supabase
TypeScript
61
star
8

sveltekit-lucia-prisma

TypeScript
57
star
9

sk-supabase-auth

Learn how to add Supabase Authentication to your SvelteKit application.
CSS
53
star
10

sveltekit-pocketbase-auth

Source code for the 'Authentication with SvelteKit & PocketBase' video on my YouTube channel
Svelte
37
star
11

sveltekit-protected-routes

CSS
34
star
12

projecthunt

A dev community built with SvelteKit & PocketBase live on my YouTube channel.
Svelte
34
star
13

noted-skeletonui

Svelte
31
star
14

hire-nerds

JavaScript
23
star
15

sveltekit-loading-data

Final source code for the 'Loading Data in SvelteKit' video on my YouTube channel.
JavaScript
23
star
16

sk-prisma

TypeScript
22
star
17

sveltekit-actions

Final source code for the 'Form Actions in SvelteKit' video on my YouTube channel.
Svelte
22
star
18

svelte-search-filter

An example of Searching/Filtering Data in Svelte.
CSS
19
star
19

elif-ai

TypeScript
19
star
20

huntabyte.com-admin

(WIP) Full-Stack personal custom CMS/Admin Panel.
Svelte
18
star
21

sveltekit-redis-caching

TypeScript
14
star
22

sk-supabase

Svelte
13
star
23

sveltekit-theme-switcher

Svelte
13
star
24

sveltekit-endpoints

JavaScript
13
star
25

advent-of-svelte-2023

Svelte
13
star
26

superforms-demo

JavaScript
13
star
27

sk-layout-auth-concerns

A repository for a video demonstrating the concerns of using +layout.server to authenticate/authorize and protect routes.
TypeScript
12
star
28

rate-limiting

Svelte
12
star
29

sk-supabase-oauth

TypeScript
10
star
30

better-redirects

TypeScript
9
star
31

sk-pg

TypeScript
7
star
32

sk-use-enhance

Svelte
6
star
33

sk2-shallow-routing

Svelte
6
star
34

purple

Svelte
6
star
35

sveltekit-form-validation

Final source code for the 'Loading Data in SvelteKit' video on my YouTube channel.
JavaScript
5
star
36

sk-error-handling

Svelte
5
star
37

netnotics

Full-Stack Infrastructure Management Web Application
Python
5
star
38

huntabyte.com

(WIP) Personal Site
TypeScript
5
star
39

comp-parser

πŸ“ƒExtract props, actions, slots and css variables from Svelte components.
TypeScript
5
star
40

sveltekit-params

JavaScript
4
star
41

sveltekit-layouts

Svelte
4
star
42

sk-snapshots

Svelte
4
star
43

sk-defer

JavaScript
4
star
44

flask-article-api

Python
4
star
45

catalyst-8000-wizard

A simple quiz wizard to determine which Catalyst 8000 Series router you will need based on your requirements.
JavaScript
3
star
46

sk-sb-realtime

TypeScript
3
star
47

nestjs-starter-redis

NextJS dev quick start with user authentication, MySQL, & Redis for session storage.
TypeScript
3
star
48

asynchronet

Asynchronous multi-vendor library for interacting with network devices, inspired by Netmiko. (fork of netdev).
HTML
3
star
49

appwrite-crud

JavaScript
2
star
50

adv-flask-rest-api

Python
2
star
51

shadcn-repro-template

Reproduction template for shadcn-svelte issues.
Svelte
2
star
52

go-rock-paper-scissors

A simple rock, paper, scissors web app built with Go, Javascript, & HTML. Built this to learn the fundamentals of web apps with Go.
Go
2
star
53

flask-restx-boilerplate

Python
2
star
54

seat-selector

WIP airplane seat selector widget built on stream
CSS
2
star
55

flash-messages

Source code for my video on the SvelteKit Flash Message library.
Svelte
2
star
56

summarizer-api

Python
2
star
57

vscode-settings

2
star
58

movie-info-app

JavaScript
2
star
59

recipe-app-api

Recipe app API source code. Built to gain experience with Django and the Django REST framework.
Python
2
star
60

newsgrid

Example news website
HTML
2
star
61

nestjs-basic-sessions

Integration of basic session authentication with NestJS
TypeScript
2
star
62

huntabyte.com-old

Personal blog built with Hugo and running on GitHub Pages.
HTML
2
star
63

huntabyte

Profile ReadMe
2
star
64

movie-matchup

JavaScript
2
star
65

GNS3

2
star
66

supabase-invalidate-loop-repro

TypeScript
2
star
67

elk-stack

Shell
2
star
68

blog

2
star
69

hb

A quick start project with all of my usual configs/packages.
CSS
2
star
70

chat-app

A real-time chat application built using React, Firebase (Authentication & Firestore), and styled components. Built to learn the integration of the included technologies.
JavaScript
2
star
71

template-svelte-lib

TypeScript
1
star
72

eslint-repro

JavaScript
1
star
73

static

TypeScript
1
star
74

melt-ui-md

TypeScript
1
star
75

hj.run

My personal website
TypeScript
1
star
76

component-props

JavaScript
1
star
77

menubar-repro

Svelte
1
star