forked from buildspace/gpt3-writer-extension-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
19 lines (19 loc) · 784 Bytes
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<html>
<head>
<link rel="stylesheet" href="index.css">
</head>
<body>
<div id="key_needed">
<p>To get started, add your OpenAI API Key!</p>
<p>If you don't have one, sign up to OpenAI <a href="https://openai.com/api/">here</a></p>
<input id="key_input" />
<button id="save_key_button">Add key</button>
</div>
<div id="key_entered">
<p>All good! You entered your OpenAI API Key.</p>
<p>Now you can go ahead and highlight some text in a Tweet, right-click and click the Tweet-Back extension to generate your reply (can take a minute!)</p>
<button id="change_key_button">Change key</button>
</div>
</body>
<script src="index.js"></script>
</html>