-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
608 lines (582 loc) · 23.7 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
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>GRABIT.SH - Summarize Git Repositories Quickly</title>
<script src="https://cdn.tailwindcss.com"></script>
<link
href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap"
rel="stylesheet"
/>
<!-- Open Graph Meta Tags -->
<meta property="og:type" content="website" />
<meta property="og:site_name" content="GRABIT.SH" />
<meta property="og:locale" content="en_US" />
<meta property="og:updated_time" content="2024-08-31T16:00:00Z" />
<meta
property="og:title"
content="GRABIT.SH - Summarize Git Repositories Quickly"
/>
<meta
property="og:description"
content="GRABIT.SH is a powerful command-line tool to gather and summarize useful information from Git repositories, enhancing developer productivity."
/>
<meta property="og:image" content="public/banner.jpg" />
<meta property="og:image:alt" content="GRABIT.SH logo" />
<meta property="og:url" content="https://loftwah.github.io/grabit.sh" />
<!-- Twitter Card Meta Tags -->
<meta name="twitter:card" content="summary_large_image" />
<meta
name="twitter:title"
content="GRABIT.SH - Summarize Git Repositories Quickly"
/>
<meta
name="twitter:description"
content="GRABIT.SH is a powerful command-line tool to gather and summarize useful information from Git repositories, enhancing developer productivity."
/>
<meta name="twitter:image" content="public/banner.jpg" />
<meta name="twitter:image:alt" content="GRABIT.SH logo" />
<meta name="twitter:site" content="@loftwah" />
<meta name="twitter:creator" content="@loftwah" />
<!-- SEO Meta Tags -->
<meta
name="description"
content="GRABIT.SH helps you summarize Git repositories quickly, providing a comprehensive overview of a project's structure, Git information, and more. Boost your productivity with this powerful developer tool."
/>
<link rel="canonical" href="https://loftwah.github.io/grabit.sh" />
<!-- Structured Data for SEO (JSON-LD) -->
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "SoftwareApplication",
"name": "GRABIT.SH",
"applicationCategory": "DeveloperApplication",
"operatingSystem": "Any",
"description": "GRABIT.SH is a powerful command-line tool to gather and summarize useful information from Git repositories, enhancing developer productivity.",
"url": "https://loftwah.github.io/grabit.sh",
"image": "public/banner.jpg",
"datePublished": "2024-08-31T16:00:00Z",
"author": {
"@type": "Person",
"name": "Loftwah"
}
}
</script>
<!-- Favicon and Icons -->
<link
rel="apple-touch-icon"
sizes="180x180"
href="public/apple-touch-icon.png"
/>
<link
rel="icon"
type="image/png"
sizes="32x32"
href="public/favicon-32x32.png"
/>
<link
rel="icon"
type="image/png"
sizes="16x16"
href="public/favicon-16x16.png"
/>
<link rel="manifest" href="public/site.webmanifest" />
<meta name="theme-color" content="#4F46E5" />
<style>
body {
font-family: "Inter", sans-serif;
}
</style>
</head>
<body class="bg-gray-50 text-gray-800">
<!-- Header with Navbar -->
<header class="bg-indigo-600 text-white">
<nav class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="flex items-center justify-between h-16">
<div class="flex items-center">
<a href="#" class="flex-shrink-0">
<img class="h-8 w-8" src="public/icon.png" alt="GRABIT.SH logo" />
</a>
<div class="hidden md:block">
<div class="ml-10 flex items-baseline space-x-4">
<a
href="#features"
class="text-gray-300 hover:bg-indigo-700 hover:text-white px-3 py-2 rounded-md text-sm font-medium"
>Features</a
>
<a
href="#installation"
class="text-gray-300 hover:bg-indigo-700 hover:text-white px-3 py-2 rounded-md text-sm font-medium"
>Installation</a
>
<a
href="#usage"
class="text-gray-300 hover:bg-indigo-700 hover:text-white px-3 py-2 rounded-md text-sm font-medium"
>Usage</a
>
<a
href="https://github.com/loftwah/grabitsh"
class="text-gray-300 hover:bg-indigo-700 hover:text-white px-3 py-2 rounded-md text-sm font-medium"
>GitHub</a
>
<a
href="pages/library.html"
class="text-gray-300 hover:bg-indigo-700 hover:text-white px-3 py-2 rounded-md text-sm font-medium"
>Library</a
>
</div>
</div>
</div>
<!-- Mobile menu button -->
<div class="-mr-2 flex md:hidden">
<button
type="button"
class="bg-indigo-600 inline-flex items-center justify-center p-2 rounded-md text-white hover:text-white hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-inset focus:ring-white"
aria-controls="mobile-menu"
aria-expanded="false"
onclick="document.getElementById('mobile-menu').classList.toggle('hidden')"
>
<span class="sr-only">Open main menu</span>
<!-- Menu open icon -->
<svg
class="block h-6 w-6"
xmlns="http://www.w3.org/2000/svg"
fill="none"
viewBox="0 0 24 24"
stroke="currentColor"
aria-hidden="true"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
d="M4 6h16M4 12h16M4 18h16"
/>
</svg>
<!-- Menu close icon -->
<svg
class="hidden h-6 w-6"
xmlns="http://www.w3.org/2000/svg"
fill="none"
viewBox="0 0 24 24"
stroke="currentColor"
aria-hidden="true"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
d="M6 18L18 6M6 6l12 12"
/>
</svg>
</button>
</div>
</div>
</nav>
<!-- Mobile Menu -->
<div class="md:hidden hidden" id="mobile-menu">
<div class="px-2 pt-2 pb-3 space-y-1 sm:px-3">
<a
href="#features"
class="text-gray-300 hover:bg-indigo-700 hover:text-white block px-3 py-2 rounded-md text-base font-medium"
>Features</a
>
<a
href="#installation"
class="text-gray-300 hover:bg-indigo-700 hover:text-white block px-3 py-2 rounded-md text-base font-medium"
>Installation</a
>
<a
href="#usage"
class="text-gray-300 hover:bg-indigo-700 hover:text-white block px-3 py-2 rounded-md text-base font-medium"
>Usage</a
>
<a
href="https://github.com/loftwah/grabitsh"
class="text-gray-300 hover:bg-indigo-700 hover:text-white block px-3 py-2 rounded-md text-base font-medium"
>GitHub</a
>
<a
href="pages/library.html"
class="text-gray-300 hover:bg-indigo-700 hover:text-white block px-3 py-2 rounded-md text-base font-medium"
>Library</a
>
</div>
</div>
</header>
<!-- Main Content -->
<main class="mt-12">
<!-- Section 1: Banner Image -->
<section class="relative">
<div class="max-w-7xl mx-auto sm:px-6 lg:px-8">
<div class="relative shadow-xl sm:rounded-2xl overflow-hidden">
<img
class="w-full h-auto"
src="public/banner.jpg"
alt="GRABIT.SH Banner"
/>
</div>
</div>
</section>
<!-- Section 2: Text and Call to Actions -->
<section class="py-12 bg-white">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 text-center">
<h1
class="text-4xl font-extrabold tracking-tight text-gray-900 sm:text-5xl lg:text-6xl"
>
GRABIT.SH
</h1>
<p class="mt-4 max-w-lg mx-auto text-xl text-gray-700 sm:max-w-3xl">
Summarize Git Repositories Quickly
</p>
<p class="mt-4 max-w-lg mx-auto text-lg text-gray-500 sm:max-w-3xl">
A powerful command-line tool for gathering and summarizing useful
information from Git repositories, enhancing developer productivity.
</p>
<div class="mt-8 flex justify-center space-x-4">
<a
href="#installation"
class="px-5 py-3 border border-transparent text-base font-medium rounded-md text-white bg-indigo-600 hover:bg-indigo-700"
>Get Started</a
>
<a
href="https://github.com/loftwah/grabitsh"
class="px-5 py-3 border border-transparent text-base font-medium rounded-md text-indigo-600 bg-white hover:bg-gray-100"
>View on GitHub</a
>
</div>
</div>
</section>
<!-- Section 3: Features -->
<section id="features" class="py-12 bg-gray-50">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<h2 class="text-3xl font-extrabold text-gray-900 sm:text-4xl">
<span class="block">Powerful Features</span>
<span class="block text-indigo-600"
>for Efficient Repository Analysis</span
>
</h2>
<div class="mt-10">
<dl
class="space-y-10 md:space-y-0 md:grid md:grid-cols-2 md:gap-x-8 md:gap-y-10"
>
<div class="relative">
<dt>
<div
class="absolute flex items-center justify-center h-12 w-12 rounded-md bg-indigo-500 text-white"
>
<svg
class="h-6 w-6"
fill="none"
viewBox="0 0 24 24"
stroke="currentColor"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
d="M3 7v10a2 2 0 002 2h14a2 2 0 002-2V9a2 2 0 00-2-2h-6l-2-2H5a2 2 0 00-2 2z"
/>
</svg>
</div>
<p class="ml-16 text-lg leading-6 font-medium text-gray-900">
Repository Structure Visualization
</p>
</dt>
<dd class="mt-2 ml-16 text-base text-gray-500">
Get a clear overview of your repository's file structure,
helping you navigate complex projects with ease.
</dd>
</div>
<div class="relative">
<dt>
<div
class="absolute flex items-center justify-center h-12 w-12 rounded-md bg-indigo-500 text-white"
>
<svg
class="h-6 w-6"
fill="none"
viewBox="0 0 24 24"
stroke="currentColor"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
d="M13 10V3L4 14h7v7l9-11h-7z"
/>
</svg>
</div>
<p class="ml-16 text-lg leading-6 font-medium text-gray-900">
Git Information Summary
</p>
</dt>
<dd class="mt-2 ml-16 text-base text-gray-500">
Quickly access recent commits, branches, remotes, and
repository status in one place.
</dd>
</div>
<div class="relative">
<dt>
<div
class="absolute flex items-center justify-center h-12 w-12 rounded-md bg-indigo-500 text-white"
>
<svg
class="h-6 w-6"
fill="none"
viewBox="0 0 24 24"
stroke="currentColor"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-3 7h3m-3 4h3m-6-4h.01M9 16h.01"
/>
</svg>
</div>
<p class="ml-16 text-lg leading-6 font-medium text-gray-900">
File Analysis
</p>
</dt>
<dd class="mt-2 ml-16 text-base text-gray-500">
Identify large files, get a summary of file types, and see
recently modified files to better understand your project's
composition.
</dd>
</div>
<div class="relative">
<dt>
<div
class="absolute flex items-center justify-center h-12 w-12 rounded-md bg-indigo-500 text-white"
>
<svg
class="h-6 w-6"
fill="none"
viewBox="0 0 24 24"
stroke="currentColor"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
d="M10 20l4-16m4 4l4 4-4 4M6 16l-4-4 4-4"
/>
</svg>
</div>
<p class="ml-16 text-lg leading-6 font-medium text-gray-900">
Project Type Detection
</p>
</dt>
<dd class="mt-2 ml-16 text-base text-gray-500">
Automatically identify the type of project you're working
with, making it easier to apply the right tools and workflows.
</dd>
</div>
</dl>
</div>
</div>
</section>
<!-- Section 4: Installation -->
<section id="installation" class="py-12 bg-gray-50">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<h2 class="text-3xl font-extrabold text-gray-900 sm:text-4xl">
<span class="block">Installation</span>
<span class="block text-indigo-600">Quick and Easy Setup</span>
</h2>
<div class="mt-8 bg-white overflow-hidden shadow rounded-lg">
<div class="px-4 py-5 sm:p-6">
<h3 class="text-lg leading-6 font-medium text-gray-900">
Pre-built Binaries
</h3>
<div class="mt-2 max-w-xl text-sm text-gray-500">
<p>
You can download pre-built binaries for your platform from the
<a
href="https://github.com/loftwah/grabitsh/releases"
class="text-indigo-600 hover:text-indigo-900"
>Releases</a
>
page or use the following commands:
</p>
</div>
<div class="mt-3">
<!-- Installation Instructions for Linux -->
<h4 class="text-md font-bold mt-4">Linux</h4>
<pre
class="bg-gray-800 text-white p-4 rounded-md text-sm overflow-x-auto"
>
# Download the binary
curl -L -o grabitsh-linux-amd64 https://github.com/loftwah/grabitsh/releases/latest/download/grabitsh-linux-amd64
# Make it executable
chmod +x grabitsh-linux-amd64
# Move to a directory in your PATH
sudo mv grabitsh-linux-amd64 /usr/local/bin/grabitsh
</pre
>
<!-- Installation Instructions for macOS -->
<h4 class="text-md font-bold mt-4">macOS</h4>
<pre
class="bg-gray-800 text-white p-4 rounded-md text-sm overflow-x-auto"
>
# Download the binary
curl -L -o grabitsh-darwin-amd64 https://github.com/loftwah/grabitsh/releases/latest/download/grabitsh-darwin-amd64
# Make it executable
chmod +x grabitsh-darwin-amd64
# Move to a directory in your PATH
sudo mv grabitsh-darwin-amd64 /usr/local/bin/grabitsh
</pre
>
<!-- Installation Instructions for Windows -->
<h4 class="text-md font-bold mt-4">Windows</h4>
<pre
class="bg-gray-800 text-white p-4 rounded-md text-sm overflow-x-auto"
>
# Download the binary
curl -L -o grabitsh-windows-amd64.exe https://github.com/loftwah/grabitsh/releases/latest/download/grabitsh-windows-amd64.exe
# Optionally, rename it for convenience
ren grabitsh-windows-amd64.exe grabitsh.exe
# Add the directory to your PATH environment variable
</pre
>
</div>
</div>
</div>
</div>
</section>
<!-- Section 5: Usage -->
<section id="usage" class="py-12 bg-white">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<h2 class="text-3xl font-extrabold text-gray-900 sm:text-4xl">
<span class="block">Usage</span>
<span class="block text-indigo-600">Analyze Your Repositories</span>
</h2>
<div class="mt-8 bg-gray-50 overflow-hidden shadow rounded-lg">
<div class="px-4 py-5 sm:p-6">
<h3 class="text-lg leading-6 font-medium text-gray-900">
Basic Command
</h3>
<div class="mt-2 max-w-xl text-sm text-gray-500">
<p>
To use GRABIT.SH, run the following command in your terminal:
</p>
</div>
<div class="mt-3">
<pre
class="bg-gray-800 text-white p-4 rounded-md text-sm overflow-x-auto"
>
./grabitsh --output <output_method>
</pre
>
</div>
<div class="mt-4">
<p class="text-sm text-gray-500">
Replace <code><output_method></code> with one of the
following:
</p>
<ul class="mt-2 list-disc list-inside text-sm text-gray-500">
<li>
<code>stdout</code>: Display the output in the terminal
(default)
</li>
<li>
<code>clipboard</code>: Copy the output to your clipboard
</li>
<li><code>file</code>: Save the output to a file</li>
</ul>
</div>
</div>
</div>
</div>
</section>
<!-- Embedded YouTube Video -->
<div class="flex justify-center mt-8">
<iframe
width="560"
height="315"
src="https://www.youtube.com/embed/M6FjvHV1qak?si=SWYQ_aYUGCpu7EuD"
title="YouTube video player"
frameborder="0"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
referrerpolicy="strict-origin-when-cross-origin"
allowfullscreen
></iframe>
</div>
<!-- End of Embedded Video -->
<!-- Section 6: Final Call to Action -->
<section class="py-12 bg-gray-50">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<h2 class="text-3xl font-extrabold text-gray-900 sm:text-4xl">
<span class="block">Ready to Boost Your Productivity?</span>
<span class="block text-indigo-600"
>Get Started with GRABIT.SH Today</span
>
</h2>
<div class="mt-8 flex justify-center">
<div class="inline-flex rounded-md shadow">
<a
href="https://github.com/loftwah/grabitsh"
class="inline-flex items-center justify-center px-5 py-3 border border-transparent text-base font-medium rounded-md text-white bg-indigo-600 hover:bg-indigo-700"
>
View on GitHub
</a>
</div>
<div class="ml-3 inline-flex">
<a
href="pages/library.html"
class="inline-flex items-center justify-center px-5 py-3 border border-transparent text-base font-medium rounded-md text-indigo-600 bg-white hover:bg-indigo-50"
>
Learn more
</a>
</div>
</div>
</div>
</section>
</main>
<!-- Footer -->
<footer class="bg-gray-800">
<div class="max-w-7xl mx-auto py-12 px-4 sm:px-6 lg:px-8">
<div class="flex justify-center space-x-6">
<a
href="https://github.com/loftwah/grabitsh"
class="text-gray-400 hover:text-gray-300"
>
<span class="sr-only">GitHub</span>
<svg
class="h-6 w-6"
fill="currentColor"
viewBox="0 0 24 24"
aria-hidden="true"
>
<path
fill-rule="evenodd"
d="M12 2C6.477 2 2 6.484 2 12.017c0 4.425 2.865 8.18 6.839 9.504.5.092.682-.217.682-.483 0-.237-.008-.868-.013-1.703-2.782.605-3.369-1.343-3.369-1.343-.454-1.158-1.11-1.466-1.11-1.466-.908-.62.069-.608.069-.608 1.003.07 1.531 1.032 1.531 1.032.892 1.53 2.341 1.088 2.91.832.092-.647.35-1.088.636-1.338-2.22-.253-4.555-1.113-4.555-4.951 0-1.093.39-1.988 1.029-2.688-.103-.253-.446-1.272.098-2.65 0 0 .84-.27 2.75 1.026A9.564 9.564 0 0112 6.844c.85.004 1.705.115 2.504.337 1.909-1.296 2.747-1.027 2.747-1.027.546 1.379.202 2.398.1 2.651.64.7 1.028 1.595 1.028 2.688 0 3.848-2.339 4.695-4.566 4.943.359.309.678.92.678 1.855 0 1.338-.012 2.419-.012 2.747 0 .268.18.58.688.482A10.019 10.019 0 0022 12.017C22 6.484 17.522 2 12 2z"
clip-rule="evenodd"
/>
</svg>
</a>
<a
href="https://twitter.com/loftwah"
class="text-gray-400 hover:text-gray-300"
>
<span class="sr-only">Twitter</span>
<svg
class="h-6 w-6"
fill="currentColor"
viewBox="0 0 24 24"
aria-hidden="true"
>
<path
d="M8.29 20.251c7.547 0 11.675-6.253 11.675-11.675 0-.178 0-.355-.012-.53A8.348 8.348 0 0022 5.92a8.19 8.19 0 01-2.357.646 4.118 4.118 0 001.804-2.27 8.224 8.224 0 01-2.605.996 4.107 4.107 0 00-6.993 3.743 11.65 11.65 0 01-8.457-4.287 4.106 4.106 0 001.27 5.477A4.072 4.072 0 012.8 9.713v.052a4.105 4.105 0 003.292 4.022 4.095 4.095 0 01-1.853.07 4.108 4.108 0 003.834 2.85A8.233 8.233 0 012 18.407a11.616 11.616 0 006.29 1.84"
/>
</svg>
</a>
</div>
<div class="mt-8 text-center text-base text-gray-400">
© 2024 GRABIT.SH. All rights reserved.
</div>
</div>
</footer>
</body>
</html>