-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
423 lines (382 loc) · 13.6 KB
/
index.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
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
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta property="og:title" content="PenguAPI">
<meta property="og:description" content="The only API you'll need">
<meta property="og:url" content="https://www.penguinhub.buzz.com"> <!-- Replace with your site URL -->
<meta property="og:type" content="website">
<title>PenguAPI</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css">
<style>
/* Reset some default styles */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
/* Global Styles */
body {
font-family: Arial, sans-serif;
background-color: #1a1a1a; /* Realm-themed background color */
margin: 0;
padding: 0;
display: flex;
flex-direction: column;
min-height: 100vh;
}
/* Header Styles */
.header {
background-color: #333; /* Dark header background */
color: #fff;
padding: 20px;
text-align: center;
}
.header h1 {
font-size: 2.5rem;
}
/* Container for Endpoint Cards */
.container {
display: flex;
flex-wrap: wrap;
justify-content: center;
flex-grow: 1;
}
/* Card Styles */
.endpoint-card {
background-color: rgba(255, 255, 255, 0.9); /* Semi-transparent white background */
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
border-radius: 8px;
overflow: hidden;
width: 300px;
margin: 20px;
transition: transform 0.2s;
}
.endpoint-card:hover {
transform: scale(1.05);
}
/* Header Styles for Cards */
.card-header {
background-color: #007bff; /* Realm-themed blue header */
color: #ffffff;
padding: 10px;
text-align: center;
}
/* Content Styles for Cards */
.card-content {
padding: 20px;
text-align: center;
}
/* Button Styles for Cards */
.copy-button {
background-color: #007bff;
color: #ffffff;
border: none;
border-radius: 4px;
padding: 10px 20px;
cursor: pointer;
transition: background-color 0.2s;
display: block;
margin: 0 auto;
}
.copy-button:hover {
background-color: #0056b3;
}
/* Copy Status Styles for Cards */
.copy-status {
text-align: center;
color: #007bff;
margin-top: 10px;
}
/* Slogan Styles */
.slogan {
background-color: #333; /* Dark slogan background */
color: #fff;
padding: 10px;
text-align: center;
}
/* Modal Styles */
.modal {
display: none;
position: fixed;
z-index: 1;
left: 0;
top: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.5);
}
.modal-content {
background-color: #fff;
border-radius: 8px;
text-align: left;
padding: 20px;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.close-button {
background-color: #007bff;
color: #ffffff;
border: none;
border-radius: 4px;
padding: 10px 20px;
cursor: pointer;
transition: background-color 0.2s;
margin-top: 10px;
float: right;
}
.close-button:hover {
background-color: #0056b3;
}
</style>
</head>
<body>
<div class="header">
<h1>PenguAPI</h1>
</div>
<div class="container">
<div class="endpoint-card">
<div class="card-header">
<h3>ChatGPT 4</h3>
</div>
<div class="card-content">
<p>Yall Know What This Is!</p>
<button class="copy-button" onclick="openCopyModal('https://chatgpt4.realmapi.workers.dev/chatbot?message=')">Copy</button>
</div>
</div>
<div class="endpoint-card">
<div class="card-header">
<h3>ChatGPT 3</h3>
</div>
<div class="card-content">
<p>Yall Know What This Is!</p>
<button class="copy-button" onclick="openCopyModal('https://chatgpt-3.realmapi.workers.dev/chat?q=')">Copy</button>
</div>
</div>
<!-- Add more endpoint cards here -->
<!-- Endpoint 3 -->
<div class="endpoint-card">
<div class="card-header">
<h3>Llama2</h3>
</div>
<div class="card-content">
<p>Meta And Cloudflares AI!</p>
<button class="copy-button" onclick="openCopyModal('https://llama2.realmapi.workers.dev/chatbot?message=')">Copy</button>
</div>
</div>
<!-- Endpoint 4 -->
<div class="endpoint-card">
<div class="card-header">
<h3>Dall-e</h3>
</div>
<div class="card-content">
<p>Ever Want An Image Generation?</p>
<button class="copy-button" onclick="openCopyModal('https://dall-e.realmapi.workers.dev/generate?prompt=')">Copy</button>
</div>
</div>
<!-- Endpoint 5 -->
<div class="endpoint-card">
<div class="card-header">
<h3>Bard</h3>
</div>
<div class="card-content">
<p>Have Fun With Google Bard!</p>
<button class="copy-button" onclick="openCopyModal('https://google-bard.realmapi.workers.dev/chat?q=')">Copy</button>
</div>
</div>
<!-- Endpoint 6 -->
<div class="endpoint-card">
<div class="card-header">
<h3>DevGPT</h3>
</div>
<div class="card-content">
<p>Coding API For Your Use!</p>
<button class="copy-button" onclick="openCopyModal('https://devgpt.realmapi.workers.dev/chat?prompt=')">Copy</button>
</div>
</div>
<div class="endpoint-card">
<div class="card-header">
<h3>Random Number</h3>
</div>
<div class="card-content">
<p>Generate A Random Number!</p>
<button class="copy-button" onclick="openCopyModal('https://random-number.realmapi.workers.dev/')">Copy</button>
</div>
</div>
<!-- Endpoint 8 -->
<div class="endpoint-card">
<div class="card-header">
<h3>Weird Laws</h3>
</div>
<div class="card-content">
<p>Check Out Some Weird Laws!</p>
<button class="copy-button" onclick="openCopyModal('https://ccp.apiv10b.repl.co/wl')">Copy</button>
</div>
</div>
<!-- Endpoint 9 -->
<div class="endpoint-card">
<div class="card-header">
<h3>Tounge Twister</h3>
</div>
<div class="card-content">
<p>Get Yourself A Tounge Twister!</p>
<button class="copy-button" onclick="openCopyModal('https://ccp.apiv10b.repl.co/tt')">Copy</button>
</div>
</div>
<!-- Endpoint 10 -->
<div class="endpoint-card">
<div class="card-header">
<h3>Sports Fact</h3>
</div>
<div class="card-content">
<p>Get Facts On Sports!</p>
<button class="copy-button" onclick="openCopyModal('https://ccp.apiv10b.repl.co/sf')">Copy</button>
</div>
</div>
<!-- Endpoint 11 -->
<div class="endpoint-card">
<div class="card-header">
<h3>BlackJack</h3>
</div>
<div class="card-content">
<p>Play A Game Of BlackJack!</p>
<button class="copy-button" onclick="openCopyModal('https://ccp.apiv10b.repl.co/bj')">Copy</button>
</div>
</div>
<!-- Endpoint 12 -->
<div class="endpoint-card">
<div class="card-header">
<h3>Compliment</h3>
</div>
<div class="card-content">
<p>Get A Compliment!</p>
<button class="copy-button" onclick="openCopyModal('https://ccp.apiv10b.repl.co/compliment')">Copy</button>
</div>
</div>
<!-- Endpoint 13 -->
<div class="endpoint-card">
<div class="card-header">
<h3>Quote</h3>
</div>
<div class="card-content">
<p>Request A Quote!</p>
<button class="copy-button" onclick="openCopyModal('https://ccp.apiv10b.repl.co/quote')">Copy</button>
</div>
</div>
<!-- Endpoint 14 -->
<div class="endpoint-card">
<div class="card-header">
<h3>Riddle</h3>
</div>
<div class="card-content">
<p>Reqest A Riddle!</p>
<button class="copy-button" onclick="openCopyModal('https://ccp.apiv10b.repl.co/riddle')">Copy</button>
</div>
</div>
<!-- Endpoint 15 -->
<div class="endpoint-card">
<div class="card-header">
<h3>Password Strength</h3>
</div>
<div class="card-content">
<p>Check Your Password Strength!</p>
<button class="copy-button" onclick="openCopyModal('https://ccp.apiv10b.repl.co/ps')">Copy</button>
</div>
</div>
<!-- Endpoint 16 -->
<div class="endpoint-card">
<div class="card-header">
<h3>Calculate</h3>
</div>
<div class="card-content">
<p>Calculate A Question!.</p>
<button class="copy-button" onclick="openCopyModal('https://ccp.apiv10b.repl.co/calculate')">Copy</button>
</div>
</div>
<!-- Endpoint 17 -->
<div class="endpoint-card">
<div class="card-header">
<h3>Fact</h3>
</div>
<div class="card-content">
<p>Get A Fact!</p>
<button class="copy-button" onclick="openCopyModal('https://ccp.apiv10b.repl.co/fact')">Copy</button>
</div>
</div>
<div class="endpoint-card">
<div class="card-header">
<h3>Can I Afford This Item?</h3>
</div>
<div class="card-content">
<p>Honestly Don't Know What To Add - ImaPenguin</p>
<button class="copy-button" onclick="openCopyModal('https://ccp.apiv10b.repl.co/ciati')">Copy</button>
</div>
</div>
<!-- Endpoint 18 -->
<div class="endpoint-card">
<div class="card-header">
<h3>Joke</h3>
</div>
<div class="card-content">
<p>Request A Joke!</p>
<button class="copy-button" onclick="openCopyModal('https://ccp.apiv10b.repl.co/joke')">Copy</button>
</div>
</div>
<!-- Endpoint 19 -->
<div class="endpoint-card">
<div class="card-header">
<h3>Trivia</h3>
</div>
<div class="card-content">
<p>Get A Trivia Question!</p>
<button class="copy-button" onclick="openCopyModal('https://ccp.apiv10b.repl.co/trivia')">Copy</button>
</div>
</div>
<!-- Endpoint 20 -->
<div class="endpoint-card">
<div class="card-header">
<h3>Funny Quote</h3>
</div>
<div class="card-content">
<p>Get A Funny Quote</p>
<button class="copy-button" onclick="openCopyModal('https://ccp.apiv10b.repl.co/fq')">Copy</button>
</div>
</div>
</div>
<div class="slogan">
<p>Have A Really Good Day!</p>
</div>
<!-- Modal for Copying -->
<div class="modal" id="copyModal">
<div class="modal-content">
<span class="close-button" onclick="closeCopyModal()">×</span>
<p id="copyText">Endpoint Copied to Clipboard!</p>
</div>
</div>
<script>
function openCopyModal(endpointName) {
const copyModal = document.getElementById('copyModal');
const copyText = document.getElementById('copyText');
copyText.textContent = `"${endpointName}" Copied to Clipboard!`;
copyModal.style.display = 'block';
setTimeout(function () {
copyModal.style.display = 'none';
}, 2000);
// Copy to clipboard
const copyTextElement = document.createElement('textarea');
copyTextElement.value = endpointName;
document.body.appendChild(copyTextElement);
copyTextElement.select();
document.execCommand('copy');
document.body.removeChild(copyTextElement);
}
function closeCopyModal() {
const copyModal = document.getElementById('copyModal');
copyModal.style.display = 'none';
}
</script>
</body>
</html>