-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathindex.html
379 lines (361 loc) Β· 13.4 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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"
/>
<meta name="theme-color" content="#000000" />
<link rel="manifest" href="./manifest.webmanifest" />
<link rel="shortcut icon" href="./favicon.png" />
<link rel="stylesheet" href="./src/index.scss" />
<title>Linux Kernel Commit History Search with Typesense</title>
<meta
name="description"
content="Search through commits from the Linux Kernel git repository instantly with Typesense. Celebrating 30 Years of Linux and 1 Million Linux Kernel Commits."
/>
<meta
name="keywords"
content="linux, git commit history, search, search engine, typesense, search linux kernel, #TuxTurns30, #30YearsOfLinux"
/>
<!-- Open Graph -->
<meta property="og:type" content="website" />
<meta
property="og:url"
content="https://linux-commits-search.typesense.org"
/>
<meta
property="og:title"
content="Instantly Search Linux Kernel Commit History with Typesense"
/>
<meta
name="og:description"
content="Search through commits from the Linux Kernel git repository instantly with Typesense. Celebrating 30 Years of Linux and 1 Million Linux Kernel Commits."
/>
<meta property="og:image" content="./images/opengraph_banner.png" />
<meta name="twitter:card" content="summary_large_image" />
<meta
name="twitter:title"
content="Linux Kernel Commit History Search with Typesense"
/>
<meta
name="twitter:description"
content="Celebrating 30 Years of Linux and 1 Million Linux Kernel Commits"
/>
<meta name="twitter:image" content="./images/opengraph_banner.png" />
<!-- Global site tag (gtag.js) - Google Analytics -->
<script
async
src="https://www.googletagmanager.com/gtag/js?id=UA-116415641-8"
></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag('js', new Date());
gtag('config', 'UA-116415641-8');
</script>
</head>
<body>
<div class="bg-dark text-center py-1">
Celebrating Linux's 30th Anniversary & 1 Million Linux Kernel Commits! π
<a
role="button"
data-bs-toggle="modal"
data-bs-target="#aboutModal"
class="small"
>
Learn More
</a>
</div>
<div class="container-fluid px-md-5 pt-4">
<div class="row d-flex align-items-center">
<div class="col-md">
<h1 class="font-letter-spacing-tight">
Search 1 Million Linux Kernel Commit Messages
</h1>
<p class="text-muted">
Find any interesting search queries?
<a
role="button"
onclick="window.tweetSearchTerm(); event.preventDefault();"
class="text-secondary"
>Tweet</a
>
it with #TuxTurns30 #LinuxCommitMessages and we'll add it below β’
<a role="button" data-bs-toggle="modal" data-bs-target="#aboutModal"
>About</a
>
β’
<a
href="https://github.com/typesense/showcase-linux-commits-search"
target="_blank"
>Source Code</a
>
</p>
</div>
<div class="col-md-2 d-none d-md-block text-md-end">
<img
src="images/linux_tux.svg"
height="120"
width="109"
alt="Linux Tux"
/>
</div>
</div>
<div id="searchbox-container" class="row pt-3">
<div class="col-md justify-content-md-center">
<div id="searchbox"></div>
<div class="row mt-2 text-muted">
<div class="col-md">
Interesting finds:
<span id="example-search-terms">
<a role="button" class="clickable-search-term">noise</a>,
<a role="button" class="clickable-search-term">cheese</a>,
<a role="button" class="clickable-search-term">floppy</a>,
<a role="button" class="clickable-search-term">mainframe</a>,
<a role="button" class="clickable-search-term">stupid</a>,
<a role="button" class="clickable-search-term">urgent</a>,
<a role="button" class="clickable-search-term">postgresql</a>,
<a role="button" class="clickable-search-term">GUI</a>,
<a role="button" class="clickable-search-term">bug</a>,
<a role="button" class="clickable-search-term"
>race condition</a
>
</span>
</div>
<div class="col-md-2 text-md-end mt-3 mt-md-0">
<div>Search powered by</div>
<div>
<a
href="https://github.com/typesense/typesense"
target="_blank"
alt="Typesense"
>
<img
src="images/typesense_terminal_white.svg"
width="114"
height="25"
/>
</a>
</div>
</div>
</div>
</div>
</div>
<div id="results-section">
<div class="row mt-4 mt-md-5">
<div class="col-md-3"></div>
<div class="col-md">
<div class="row d-flex justify-content-end">
<div id="sort-by" class="col-6 col-md-3"></div>
<div
id="stats"
class="col col-md ms-md-2 text-md-end small order-first order-md-last d-flex align-items-center justify-content-end justify-content-md-start px-md-0"
></div>
</div>
</div>
</div>
<div class="row mt-3">
<div class="col-md-3">
<nav class="navbar navbar-expand-md navbar-light p-0 pb-3">
<button
class="navbar-toggler text-primary border-light-2"
type="button"
data-bs-toggle="collapse"
data-bs-target="#filters-section"
aria-controls="filters-section"
aria-expanded="false"
aria-label="Toggle filters"
>
<span class="navbar-toggler-icon"></span
><span class="text-secondary small ms-1">Filter Commits</span>
</button>
<div
class="collapse navbar-collapse d-md-block mt-3 mt-md-0"
id="filters-section"
>
<div class="row mb-2">
<div class="col-md">
<div id="current-refinements"></div>
</div>
</div>
<div class="row">
<div class="col-md">
<h6 class="text-secondary">Commit Year</h6>
<div id="author-timestamp-year-date-selector"></div>
</div>
</div>
<div class="row mt-3">
<div class="col-md">
<h6 class="text-secondary">Merge Commits</h6>
<div id="exclude-merge-commits-toggle-refinement"></div>
</div>
</div>
<div class="row mt-4">
<div class="col-md">
<h6 class="text-secondary">Author Email Domain</h6>
<div id="author-email-domain-refinement-list"></div>
<div class="text-muted small mt-3 pe-md-5">
Note: Some kernel authors use their personal email
addresses predominantly.
</div>
</div>
</div>
<div class="row mt-5">
<div class="col-md">
<h6 class="text-secondary">Author Name</h6>
<div id="author-name-refinement-list"></div>
</div>
</div>
<div class="row mt-5">
<div class="col-md">
<h6 class="text-secondary">Committer Name</h6>
<div id="committer-name-refinement-list"></div>
</div>
</div>
<div class="row mt-5">
<div class="col-md">
<h6 class="text-secondary">Committer Email Domain</h6>
<div id="committer-email-domain-refinement-list"></div>
<div class="text-muted small mt-3 pe-md-5">
Note: Some kernel committers use their personal email
addresses predominantly.
</div>
</div>
</div>
<div class="row mt-5">
<div class="col-md">
<h6 class="text-secondary">Number of Files Changed</h6>
<div id="files-changed-range-input"></div>
</div>
</div>
<div class="row mt-5">
<div class="col-md">
<h6 class="text-secondary">Commit Insertions</h6>
<div id="commit-insertions-range-input"></div>
</div>
</div>
<div class="row mt-5">
<div class="col-md">
<h6 class="text-secondary">Commit Deletions</h6>
<div id="commit-deletions-range-input"></div>
</div>
</div>
</div>
</nav>
</div>
<div class="col-md-9">
<div id="hits"></div>
</div>
</div>
</div>
</div>
<!-- About Modal -->
<div
id="aboutModal"
class="modal fade"
tabindex="-1"
aria-labelledby="aboutLabel"
aria-hidden="true"
>
<div class="modal-dialog modal-lg">
<div class="modal-content bg-white text-dark">
<div class="modal-header">
<h5 class="modal-title font-weight-normal" id="aboutLabel">
About
</h5>
<button
type="button"
class="btn-close"
data-bs-dismiss="modal"
aria-label="Close"
></button>
</div>
<div class="modal-body">
<p>
The
<a href="https://github.com/torvalds/linux">Linux Kernel</a> we
all know and use,
<a
href="https://www.linuxfoundation.org/en/linux30th/"
target="_blank"
>turned 30 years</a
>
in 2021 and also recently crossed 1 Million commits, after
switching to git for a version control system. π
</p>
<p>
This site was built by the
<a href="https://typesense.org">Typesense</a> team as a tribute to
all the hard work that went into building a piece of software that
powers a good chunk of the world today. Thank you Linux Kernel
Team! ππ»π»
</p>
<p>Some technical details:</p>
<ul>
<li>
The search experience is powered by
<a href="https://typesense.org" target="_blank">Typesense</a>
which is a fast,
<a href="https://github.com/typesense/typesense" target="_blank"
>open source</a
>
typo-tolerant search-engine. It is an open source alternative to
Algolia and an easier-to-use alternative to ElasticSearch.
</li>
<li>
The app was built using the
<a
href="https://github.com/typesense/typesense-instantsearch-adapter"
target="_blank"
>
Typesense Adapter for InstantSearch.js</a
>
and is hosted on AWS S3 with Cloudfront for a CDN.
</li>
<li>
The search backend is powered by a geo-distributed 3-node
Typesense cluster running on
<a href="https://cloud.typesense.org" target="_blank"
>Typesense Cloud</a
>, with nodes in Oregon, Frankfurt and Mumbai.
</li>
<li>
Here is the source-code for this site:
<a
href="https://github.com/typesense/showcase-linux-commits-search"
target="_blank"
>https://github.com/typesense/showcase-linux-commits-search</a
>
</li>
</ul>
<p>
We're sure there some interesting nuggets buried in the commit
messages. If you find something interesting,
<a
role="button"
onclick="window.tweetSearchTerm(); event.preventDefault();"
>Tweet</a
>
it with #TuxTurns30 #LinuxCommitMessages and we'll add it to the
list on the site.
</p>
</div>
<div class="modal-footer">
<button
type="button"
class="btn btn-primary"
data-bs-dismiss="modal"
>
Close
</button>
</div>
</div>
</div>
</div>
<script type="module" src="./src/app.js"></script>
</body>
</html>