-
Notifications
You must be signed in to change notification settings - Fork 1
/
popup.html
57 lines (49 loc) · 1.24 KB
/
popup.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<!DOCTYPE html>
<html>
<head>
<style>
body {
width: 300px;
font-family: Arial, sans-serif;
padding: 10px;
}
label {
display: block;
margin-bottom: 5px;
}
input {
width: 100%;
margin-bottom: 10px;
}
button {
width: 100%;
}
textarea {
width: 100%;
height: 100px;
margin-top: 10px;
}
</style>
</head>
<body>
<h2>Configure Settings</h2>
<label for="urlInput">Localhost URL:</label>
<input
type="text"
id="urlInput"
placeholder="http://localhost:1234/v1/chat/completions"
/>
<label for="scrollAmount">Number of Tweets to Analyze</label>
<input type="number" id="scrollAmount" value="100" hidden disabled />
<input type="number" id="numberOfTweets" value="200" />
<input type="text" id="llmApiKey" placeholder="LLM API Key" />
<button id="saveSettings">Save Settings</button>
<button id="start">Start Scrolling</button>
<button id="stop">Stop Scrolling</button>
<p id="status"></p>
<h3>Book Recommendations</h3>
<div id="serverResponse"></div>
<script src="mark.js"></script>
<script src="popup.js"></script>
</body>
</html>