-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
357 lines (308 loc) · 11.2 KB
/
index.html
File metadata and controls
357 lines (308 loc) · 11.2 KB
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
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>SpiceCode CLI - Making your code spicier</title>
<style>
:root {
--sand-light: #f8e3c5;
--sand: #e6b86b;
--sand-dark: #c69645;
--spice-orange: #ff4500;
--spice-red: #d32f2f;
--dark-bg: #1a0e0c;
--text-light: #f8e3c5;
}
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background: linear-gradient(135deg, var(--dark-bg) 0%, #30180e 100%);
color: var(--text-light);
margin: 0;
padding: 0;
line-height: 1.6;
}
.container {
max-width: 1100px;
margin: 0 auto;
padding: 0 20px;
}
header {
background: linear-gradient(135deg, var(--spice-red) 0%, var(--spice-orange) 100%);
color: white;
padding: 1rem 0;
text-align: center;
box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.logo-container {
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 1rem;
}
.logo {
width: 100px;
height: auto;
margin-right: 20px;
}
.title {
font-size: 2.5rem;
margin: 0;
text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}
.slogan {
font-size: 1.2rem;
font-style: italic;
margin-top: 0.5rem;
}
.hero {
background: linear-gradient(rgba(26, 14, 12, 0.7), rgba(26, 14, 12, 0.9)), url('/img/artwork.png');
background-size: cover;
background-position: center;
text-align: center;
padding: 5rem 0;
margin: 2rem 0;
border-radius: 8px;
box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}
.hero img {
max-width: 100%;
height: auto;
border-radius: 8px;
box-shadow: 0 6px 18px rgba(0,0,0,0.5);
}
.hero h2 {
font-size: 2rem;
margin-bottom: 1.5rem;
color: var(--sand-light);
}
.install-box {
background-color: rgba(0,0,0,0.5);
border-left: 4px solid var(--spice-orange);
padding: 1.5rem;
margin: 2rem auto;
max-width: 500px;
border-radius: 4px;
font-family: 'Courier New', monospace;
}
.install-box h3 {
margin-top: 0;
color: var(--sand);
}
.install-command {
background-color: #111;
padding: 0.8rem 1.2rem;
border-radius: 4px;
font-weight: bold;
color: var(--spice-orange);
display: inline-block;
margin: 0.5rem 0;
}
main {
padding: 2rem 0;
}
section {
margin-bottom: 3rem;
}
h2 {
color: var(--sand);
border-bottom: 2px solid var(--spice-orange);
padding-bottom: 0.5rem;
margin-top: 2rem;
}
.code-block {
background-color: #1a0e0c;
border-left: 4px solid var(--spice-orange);
padding: 1rem;
margin: 1rem 0;
border-radius: 4px;
font-family: 'Courier New', monospace;
overflow-x: auto;
}
ul {
list-style-type: none;
padding-left: 1rem;
}
ul li {
margin-bottom: 0.5rem;
position: relative;
padding-left: 1.5rem;
}
ul li:before {
content: "🌶️";
position: absolute;
left: 0;
color: var(--spice-orange);
}
.team {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
gap: 1.5rem;
margin-top: 2rem;
}
.team-member {
background-color: rgba(0,0,0,0.3);
border-radius: 8px;
padding: 1.5rem;
flex: 1 1 300px;
box-shadow: 0 4px 6px rgba(0,0,0,0.2);
transition: transform 0.3s ease;
}
.team-member:hover {
transform: translateY(-5px);
}
.team-member h3 {
color: var(--sand);
margin-top: 0;
}
.github-link {
display: inline-block;
margin-top: 0.5rem;
color: var(--spice-orange);
text-decoration: none;
font-weight: bold;
transition: color 0.2s ease;
}
.github-link:hover {
color: var(--spice-red);
}
footer {
background-color: rgba(0,0,0,0.5);
text-align: center;
padding: 2rem 0;
margin-top: 3rem;
}
.official-link {
display: inline-block;
margin: 1rem 0;
padding: 0.8rem 1.5rem;
background: linear-gradient(135deg, var(--spice-red) 0%, var(--spice-orange) 100%);
color: white;
text-decoration: none;
font-weight: bold;
border-radius: 4px;
transition: transform 0.2s ease;
}
.official-link:hover {
transform: translateY(-3px);
}
@media (max-width: 768px) {
.title {
font-size: 2rem;
}
.hero {
padding: 3rem 0;
}
.team {
flex-direction: column;
}
}
</style>
</head>
<body>
<header>
<div class="container">
<div class="logo-container">
<img src="/img/logo.png" alt="SpiceCode Logo" class="logo">
<h1 class="title">SpiceCode CLI</h1>
</div>
<p class="slogan">🌶️ Making your code spicier 😈🔥🥵</p>
</div>
</header>
<div class="container">
<div class="hero">
<h2>The best CLI tool to analyze and improve your code!</h2>
<p>Where the spice runs free.</p>
<img src="/img/artwork" alt="SpiceCode Artwork">
<div class="install-box">
<h3>Download our tool via PIP</h3>
<div class="install-command">pip install spicecode</div>
</div>
</div>
<main>
<section id="documentation">
<h2>Documentation</h2>
<h3>Installing via PIP</h3>
<ul>
<li>Make sure you have Python installed on your system</li>
<li>Open the terminal</li>
<li>Install SpiceCode via PIP with:</li>
</ul>
<div class="code-block">pip install spicecode</div>
<h3>Using SpiceCode</h3>
<ul>
<li>After installing via PIP, you can run these three commands: <em>(replace file with the filename)</em></li>
</ul>
<div class="code-block">spice hello</div>
<div class="code-block">spice translate</div>
<div class="code-block">spice analyze FILE</div>
<h4>EXAMPLE:</h4>
<div class="code-block">spice analyze code.js</div>
<h3>Supported Programming Languages for Analysis:</h3>
<ul>
<li>Python <strong>(.py)</strong></li>
<li>JavaScript <strong>(.js)</strong></li>
<li>Ruby <strong>(.rb)</strong></li>
<li>Go <strong>(.go)</strong></li>
<li>Many more <strong>coming soon!</strong></li>
</ul>
<p><strong>All lexers and parsers are built by us. We don't use external libraries/packages to parse your code.</strong></p>
<p>You can <strong>visit our page on the pypi registry</strong>: <a href="https://pypi.org/project/spicecode/" class="github-link">https://pypi.org/project/spicecode/</a></p>
<h3>For Development</h3>
<ul>
<li>Clone the repo to your machine</li>
<li>Go to the cloned spicecode folder</li>
<li>Create a python virtual environment (venv):</li>
</ul>
<div class="code-block">python -m venv venv</div>
<ul>
<li>Activate your virtual environment:</li>
<li><strong>Windows</strong></li>
</ul>
<div class="code-block">./venv/Scripts/activate</div>
<ul>
<li><strong>Linux</strong></li>
</ul>
<div class="code-block">source ./venv/bin/activate</div>
<ul>
<li>Install all packages from requirements.txt:</li>
</ul>
<div class="code-block">pip install -r requirements.txt</div>
<ul>
<li>Install (build) the spicecode package locally:</li>
</ul>
<div class="code-block">pip install -e .</div>
<ul>
<li>Have fun!</li>
</ul>
<div class="code-block">spice version</div>
<div class="code-block">spice hello</div>
<div class="code-block">spice translate</div>
<div class="code-block">spice analyze</div>
</section>
<section id="team">
<h2>Our Team</h2>
<div class="team">
<div class="team-member">
<h3>Maruan Biasi</h3>
<a href="https://github.com/CodyKoInABox" class="github-link">GitHub Profile</a>
</div>
<div class="team-member">
<h3>Icaro Botelho</h3>
<a href="https://github.com/icrcode" class="github-link">GitHub Profile</a>
</div>
<div class="team-member">
<h3>Gustavo Martins</h3>
<a href="https://github.com/gtins" class="github-link">GitHub Profile</a>
</div>
</div>
</section>
</main>
<footer>
<a href="https://github.com/SpiceCodeCLI" class="official-link">Visit our GitHub</a>
<p>© 2025 SpiceCode CLI. All rights reserved.</p>
</footer>
</div>
</body>
</html>