chatgpt-svelte
- Purpose: A SvelteKit-based ChatGPT UI for managing and interacting with OpenAI's ChatGPT, featuring formatted responses and chat history management.
- Key Features:
- Formatted Markdown responses
- Persisted chat history (local storage by default, adaptable to other storage)
- Auto-scrolling and message streaming
- Target Audience: Developers or users looking for a SvelteKit-based interface to interact with ChatGPT.
- Svelte Support: Built specifically for SvelteKit, leveraging Svelte stores for state management.
- Core Functionality:
- Chat Messages Store: Manages the active conversation transcript, streams answers from OpenAI, and updates the UI.
- Derived Chat Messages Store: Bridges chat history (local storage) with active conversations, ensuring persistence.
- Chat History Store: Tracks and manages all past conversations, allowing retrieval or deletion.
- Setup: Requires an OpenAI API key (via
.env
), but no additional framework dependencies beyond SvelteKit.
sveltechatgptopen-aisveltekittypescriptopenai-apiopenai
Featured Stories
No featured articles here. Navigate to an article, then pick the Feature on menu button