-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathintro.html
176 lines (175 loc) · 4.64 KB
/
intro.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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
<html>
<head>
<style>
html, body {
height: 100%;
margin: 0;
}
main {
font-family: Sans-serif;
display: flex;
height: 100%;
}
.row {
color: rgba(0,0,0,0.8);
padding: 20px;
box-sizing: border-box;
border-radius: 5px;
margin: 20px 0;
background: whitesmoke;
}
.row img {
width: 100%;
}
h1 {
font-size: 50px;
line-height: 50px;
letter-spacing: -2px;
margin: 0;
margin-bottom: 10px;
}
h2 {
font-size: 25px;
margin: 0;
margin-bottom: 10px;
color: rgba(0,0,0,0.9);
}
.tab {
align-items: center;
text-decoration: none;
color: silver;
}
.tab-item {
padding: 10px;
text-decoration: none;
color: black;
display: block;
font-size: 14px;
word-break: break-word;
}
nav {
width: 200px;
height: 100%;
padding: 20px;
box-sizing: border-box;
overflow: auto;
flex-shrink: 0;
border-right: 1px solid rgba(0,0,100,0.1);
}
.canvas {
overflow: auto;
padding: 40px;
box-sizing: border-box;
scroll-behavior: smooth;
flex-grow: 1;
}
.container {
max-width: 1000px;
}
a:active {
border-right: 10px solid black;
}
.btn {
display: inline-block;
text-decoration: none;
padding: 10px;
border-radius: 5px;
background: black;
color: white;
margin: 5px 0;
}
.well {
margin: 20px 0;
box-sizing: border-box;
}
</style>
</head>
<body>
<main>
<nav>
<div class='tab'>
<a href='#ollama' class='tab-item'>Option 0. Local LLM (Ollama)</a>
<a href='#github' class='tab-item'>Option 1. Use Free LLM API (Github)</a>
<a href='#api' class='tab-item'>Option 2. Use Claude / OpenAI / Gemini / Groq / OpenRouter / Mistral</a>
</div>
</nav>
<div class='canvas'>
<div id='ollama' class='container'>
<h1>Local LLM via Ollama</h1>
<div class='row'>
<h2>Step 1. Install Ollama</h2>
<div>If you haven't installed Ollama yet, go to the ollama homepage and install.</div>
<a target="_blank" class='btn' href="https://ollama.com/">Visit Ollama Download Page</a>
</div>
<div class='row'>
<h2>Step 2. Download Qwen</h2>
<a class='btn' href="download.json?id=qwen2.5-coder:32b">qwen2.5-coder:32b (20GB)</a>
<a class='btn' href="download.json?id=qwen2.5-coder:14b">qwen2.5-coder:14b (9GB)</a>
<a class='btn' href="download.json?id=qwen2.5-coder:7b">qwen2.5-coder:7b (4.7GB)</a>
<a class='btn' href="download.json?id=qwen2.5-coder:3b">qwen2.5-coder:3b (1.9GB)</a>
<a class='btn' href="download.json?id=qwen2.5-coder:1.5b">qwen2.5-coder:1.5b (986MB)</a>
<a class='btn' href="download.json?id=qwen2.5-coder:0.5b">qwen2.5-coder:0.5b (531MB)</a>
</div>
<div class='row'>
<h2>Step 3. Restart Bolt</h2>
<div>Restart Bolt and select "Ollama". You should see Qwen.</div>
</div>
</div>
<div id='github' class='container'>
<h1>Free LLM APIs via Github</h1>
<div>GitHub provides FREE API access to gpt-4o and gpt-4o-mini (Rate limited). All you need to do is set up the API key.</div>
<div class='row'>
<h2>Step 1. Get Github API Key</h2>
<div class='well'>
<a target="_blank" href="https://github.com/marketplace/models" class='btn'>Get API Key from GitHub</a>
</div>
<img src='getkey.gif?raw=true'>
</div>
<div class='row'>
<h2>Step 2. Connect API Key</h2>
<div class='well'>Go to the Configure tab and enter the API key, and save</div>
<img src='configure.png?raw=true'>
</div>
<div class='row'>
<h2>Step 3. Restart Bolt</h2>
<div class='well'>Restart Bolt and select "OpenAILike". You should see gpt4-o</div>
<img src='github.gif?raw=true'>
</div>
</div>
<div id='api' class='container'>
<h1>LLM APIs</h1>
<div>Directly get API keys from each LLM API provider.</div>
<div class='row'>
<h2>Step 1. Get API Key</h2>
<div>Go get an API key from any LLM provider. Supported LLMs</div>
<ol>
<li>Groq</li>
<li>OpenAI</li>
<li>Anthropic</li>
<li>Openrouter</li>
<li>Google</li>
<li>Deepseek</li>
<li>Mistral</li>
</ol>
</div>
<div class='row'>
<h2>Step 2. Connect API Key</h2>
<div>Go to the Configure tab and enter the API key, and save</div>
<img src='config.png?raw=true'>
</div>
<div class='row'>
<h2>Step 3. Restart Bolt</h2>
<div>Restart Bolt and select the LLM provider and get started!</div>
</div>
</div>
</div>
</main>
<script>
document.querySelector(".tab").addEventListener("click", (e) => {
let target
if (e.target.className === 'tab-item') {
}
})
</script>
</body>
</html>