Added some more info on start page

This commit is contained in:
Niek van der Maas 2023-03-02 23:03:57 +04:00
parent 8b4e60faef
commit 7f7d2e1591
2 changed files with 19 additions and 0 deletions

View File

@ -67,6 +67,24 @@
{#if activeChatId}
<Chat chatId={activeChatId} />
{:else}
<article class="message">
<div class="message-body">
<strong
><a href="https://github.com/Niek/chatgpt-web">ChatGPT-web</a
></strong
>
is a simple one-page web interface to the OpenAI ChatGPT API. To
use it, you need to register for
<a
href="https://platform.openai.com/account/api-key"
target="_blank"
rel="noreferrer">an OpenAI API key</a
>
first. All messages are stored in your browser's local storage, so
everything is <strong>private</strong>. You can also close the
browser tab and come back later to continue the conversation.
</div>
</article>
<article class="message {!apiKey ? 'is-danger' : 'is-warning'}">
<div class="message-body">
Set your OpenAI API key below:

View File

@ -1,6 +1,7 @@
import "./app.scss";
import App from "./App.svelte";
// @ts-ignore
const app = new App({
target: document.getElementById("app"),
});