tylerchilds / chatspace

Real-time, collaborative GPT frontend built with Deno KV

Home Page:https://chatspace.deno.dev/workspace/01HPKD03XBKJ6RZS2SA212S767

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Chatspace

Real-time, collaborative GPT frontend built with Deno KV and Fresh. Chat history is stored in Deno KV, and the watch() feature is used to deliver updates to everyone in this workspace.

screenshot

Running locally

To run the app locally, you will need to install Deno and have the API key to an OpenAI-compatible service. Then run from the root of this repository:

export CHATSPACE_DEFAULT_BACKEND=myapi
export CHATSPACE_BACKEND_MYAPI=https://api.openai.com/v1,sk-xxxxxxxx,gpt-3.5-turbo-1106

deno task start

About

Real-time, collaborative GPT frontend built with Deno KV

https://chatspace.deno.dev/workspace/01HPKD03XBKJ6RZS2SA212S767


Languages

Language:TypeScript 99.8%Language:CSS 0.2%