-
Notifications
You must be signed in to change notification settings - Fork 41
/
Copy pathindex.html
575 lines (520 loc) · 17.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
<!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="description" content="" />
<meta name="author" content="" />
<title>ChatAnalyzer - Visualize your WhatsApp Chats</title>
<!-- Bootstrap core CSS -->
<link href="vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet" />
<!-- Custom fonts for this template -->
<link
href="vendor/font-awesome/css/font-awesome.min.css"
rel="stylesheet"
type="text/css"
/>
<link
rel="stylesheet"
href="css/fontawesome.css"
integrity="sha384-+d0P83n9kaQMCwj8F4RJB66tzIwOKmrdb46+porD/OvrJ+37WqIM7UoBtwHO6Nlg"
crossorigin="anonymous"
/>
<link
href="css/Montserrat.css"
rel="stylesheet"
type="text/css"
/>
<link
href="css/Lato.css"
rel="stylesheet"
type="text/css"
/>
<!-- Custom styles for this template -->
<link href="css/freelancer.css" rel="stylesheet" />
<!-- Custom styles -->
<link href="css/custom.css" rel="stylesheet" />
</head>
<body id="page-top">
<h5 class="text-center pt-2 text-secondary">
No chat data is uploaded - works 100% offline -
<a
href="https://github.com/mowolf/ChatAnalyzer"
target="_blank"
class="text-small"
>Source Code <i class="fab fa-github"></i
></a>
</h5>
<!-- Header -->
<header class="masthead bg-primary text-white">
<div class="container">
<h1 class="text-uppercase mb-0 text-center">Analyze your Chats</h1>
<hr class="star-light" />
<a href="https://whatsanalyze.com?mo=1" class="ref">
<div
class="mx-5 my-5 py-3"
style="
background: #2c3e50;
border-radius: 20px;
color: white;
box-shadow: 0 0 10px #2c3e50;
"
>
<h2 class="mb-0 text-center">
New Version:
<span class="blue-gradient-text">whatsanalyze.com</span> ->
<span class="red-gradient-text"
>More features & save your chat as PDF</span
>
</h2>
</div>
</a>
<!-- Upload Field -->
<div id="upload" class="text-center">
<div id="filedrag">
<h2>Drop files here</h2>
<h2>or click to upload!</h2>
<input type="file" accept=".txt,.zip" id="file-input" hidden />
</div>
<p></p>
<div class="container error" id="error">
<h2>Please unzip your file! Only .txt supported!</h2>
</div>
<div class="container groups" id="groupInfo">
<h2>Was this a group chat?</h2>
</div>
<div class="container loading text-center pt-1" id="loading">
<h2 class="pb-2">Analyzing your chat!</h2>
<div class="loader pt-2"></div>
</div>
</div>
</div>
</header>
<!-- feedback form --->
<div id="feedback">
<div
id="feedback-form"
style="display: none; background: white"
class="col-xs-4 panel panel-default"
>
<form action="mailto:[email protected]" method="GET">
<p class="">Please send an email at: [email protected]</p>
<!--
<label>Your email:<input name="subject" type="text" class="form-control"/></label>
<label>Comments:
<textarea class="form-control" type="textarea" id="comments" placeholder="Any ideas? Missing something? Tool does not work?" name="body" maxlength="6000"></textarea>
</label>
<input type="submit" value="Send me an email" class="btn btn-lg btn-warning pull-right pb-2 mb-2"/>
-->
</form>
</div>
<div id="feedback-tab">Feedback</div>
</div>
<!-- Tutorial -->
<section class="tutorial pt-5" id="tutorial">
<div class="container">
<h2 class="text-center text-uppercase text-secondary mb-0">Tutorial</h2>
<hr class="star-dark mb-5" />
<h5 class="text-center text-secondary">
Please export your WhatsApp chat history and select the .txt file when
clicking on the button above.
</h5>
<div class="row">
<div class="col-md-4 offset-md-4">
<p class="text-secondary pt-2">
<b
>To export a copy of the history of an individual chat or group,
use the Email chat feature:</b
><br />
Open the chat for the individual or group.
</p>
<ul>
<li>Tap the Menu Button.</li>
<li>Tap More.</li>
<li>Tap Email chat.</li>
<li>Choose <b>NOT</b> to attach Media.</li>
</ul>
An email will be composed with your chat history attached as a
.txt/.zip document.
<h4 class="text-center">
Don't forget to <b>unzip</b> and select the .txt file!
</h4>
<p class="text-center text-muted small">
For more info please click
<a href="https://faq.whatsapp.com/en/android/23756533/">here</a>.
</p>
</div>
</div>
<hr class="style1" />
<h2 class="text-center text-uppercase text-secondary pt-4 mb-0">
Example
</h2>
<div>
<img src="img/example.png" class="img-fluid" alt="example" />
</div>
</div>
</section>
<!-- results -->
<section class="results" id="results">
<div class="container">
<h2 class="text-center text-uppercase text-secondary mb-0">Results</h2>
<hr class="star-dark mb-5" />
<div id="group">
<div class="text-center" id="groupTable">
<!-- individual Group DATA -->
<table class="table table-hover" id="myTable">
<thead>
<tr>
<th scope="col"></th>
<th scope="col">Name</th>
<th scope="col" onclick="sortTable(1)">Messages</th>
<th scope="col" onclick="sortTable(2)">Words per Message</th>
<th scope="col" onclick="sortTable(3)">Sent Pics</th>
<th scope="col" onclick="sortTable(4)">Sent Audio</th>
<th scope="col">Most Used Words</th>
</tr>
</thead>
<tbody id="groupTableRows"></tbody>
</table>
</div>
</div>
<!-- Words per user -->
<!--
<div class="row pt-4">
<canvas id="barWords"></canvas>
</div>
-->
<div id="1on1chat">
<div class="row text-center" id="users">
<!-- individual USER DATA -->
</div>
<div class="text-center pt-3 pb-2" id="mostUsedButtons">
<!-- most Used Words filter button -->
</div>
<div class="row text-center" id="usersWords">
<!-- individual words of users -->
</div>
<div class="text-center pt-3 pb-2 userRows text-white" id="usersRows">
<!-- colums USER DATA -->
</div>
</div>
<!-- Messages per day -->
<h2
class="text-center text-uppercase text-secondary mb-0 mt-5 pb-2 pt-2"
>
Messages per Weekday
</h2>
<div class="row pt-4">
<canvas id="dayRadar"></canvas>
</div>
<!-- Chronological View -->
<h2
class="text-center text-uppercase text-secondary mb-0 mt-5 pb-2 pt-4"
>
Chronological Graph
</h2>
<div class="row pt-4">
<canvas id="chronologicalGraph"></canvas>
</div>
<!-- Chronological View -->
<!--
<h2 class="text-center text-uppercase text-secondary mb-0 mt-5 pb-2 pt-5">Chronological Graph</h2>
<div class="row pt-4">
<canvas id="chronologicalGraph2"></canvas>
</div>
-->
</div>
</section>
<!-- Footer -->
<section id="buy">
<div class="container text-center color-turquise">
<div class="mb-0 pt-4 pb-4">
<h4 class="text-uppercase mb-4">Download High-Res Image</h4>
<p>Please support the server costs if you liked the website!</p>
<!-- <button type="btm" class="btn btn-warning mt-2 mb-2" name="buy0" id="screenshot0"> <a>Download for free 🤑</a></button> -->
<button
type="btm"
class="btn btn-warning mt-2 mb-2"
name="buy1"
id="screenshot1"
>
<a>Download for 1.99 $ 💰</a>
</button>
<button
type="btm"
class="btn btn-warning mt-2 mb-2"
name="buy2"
id="screenshot2"
>
<a>Download for 4.99 $ 💰💰</a>
</button>
<button
type="btm"
class="btn btn-warning mt-2 mb-2"
name="buy3"
id="screenshot3"
>
<a>Download for 9.99 $ 💰💰💰</a>
</button>
</div>
<!-- 1.99 -->
<div id="one99">
<h4>
Please click that button below. Once you paid the image should
download.
</h4>
<form
action="https://www.paypal.com/cgi-bin/webscr"
method="post"
target="_blank"
>
<input type="hidden" name="cmd" value="_s-xclick" />
<input
type="hidden"
name="hosted_button_id"
value="GRX9RHHAX5YRC"
/>
<input
type="image"
src="https://www.paypalobjects.com/en_US/i/btn/btn_buynow_LG.gif"
border="0"
name="submit"
alt="PayPal - The safer, easier way to pay online!"
/>
<img
alt=""
border="0"
src="https://www.paypalobjects.com/de_DE/i/scr/pixel.gif"
width="1"
height="1"
/>
</form>
<p>
If there are any issues please contact me. Feel free to re-analyze
and download the image for free if something did not work.
</p>
</div>
<!-- 4.99 -->
<div id="four99">
<h4>
Please click that button below. Once you paid the image should
download.
</h4>
<form
action="https://www.paypal.com/cgi-bin/webscr"
method="post"
target="_blank"
>
<input type="hidden" name="cmd" value="_s-xclick" />
<input
type="hidden"
name="hosted_button_id"
value="WLSFB2FDPPQKN"
/>
<input
type="image"
src="https://www.paypalobjects.com/en_US/i/btn/btn_buynow_LG.gif"
border="0"
name="submit"
alt="PayPal - The safer, easier way to pay online!"
/>
<img
alt=""
border="0"
src="https://www.paypalobjects.com/de_DE/i/scr/pixel.gif"
width="1"
height="1"
/>
</form>
<p>
If there are any issues please contact me. Feel free to re-analyze
and download the image for free if something did not work.
</p>
</div>
<!-- 9.99 -->
<div id="nine99">
<h4>
Please click that button below. Once you paid the image should
download.
</h4>
<form
action="https://www.paypal.com/cgi-bin/webscr"
method="post"
target="_blank"
>
<input type="hidden" name="cmd" value="_s-xclick" />
<input
type="hidden"
name="hosted_button_id"
value="CLHT29D63WYZ4"
/>
<input
type="image"
src="https://www.paypalobjects.com/en_US/i/btn/btn_buynow_LG.gif"
border="0"
name="submit"
alt="PayPal - The safer, easier way to pay online!"
/>
<img
alt=""
border="0"
src="https://www.paypalobjects.com/de_DE/i/scr/pixel.gif"
width="1"
height="1"
/>
</form>
<p>
If there are any issues please contact me. Feel free to re-analyze
and download the image for free if something did not work.
</p>
</div>
</div>
</section>
<footer class="footer text-center">
<div class="container">
<div class="mb-0">
<a name="sourcecode"></a>
<h4 class="text-uppercase mb-4">About ChatAnalyzer</h4>
<p class="lead">
ChatAnalyzer is a free and open-source service to analyze chat data
from WhatsApp.
</p>
<p>
No data is ever transfered to the server. All computing is done
locally in your browser!
</p>
<p class="small">
<a href="https://github.com/mowolf/ChatAnalyzer"
>See sourcecode on github</a
>.
</p>
<!-- line -->
<hr class="style1" />
<!-- Donate-->
<p>If you had fun with the ChatAnalyzer. Buy me a coffe!</p>
<form
class="pt-3"
action="https://www.paypal.com/cgi-bin/webscr"
method="post"
target="_top"
>
<input type="hidden" name="cmd" value="_s-xclick" />
<input
type="hidden"
name="hosted_button_id"
value="5PTUQRRMS2X6E"
/>
<input
type="image"
src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif"
border="0"
name="submit"
alt="PayPal - The safer, easier way to pay online!"
/>
<img
alt=""
border="0"
src="https://www.paypalobjects.com/de_DE/i/scr/pixel.gif"
width="1"
height="1"
/>
</form>
<!-- line -->
<hr class="style1" />
<!-- Begin MailChimp Signup Form -->
<div id="mc_embed_signup">
<form
action="https://travelingwolf.us11.list-manage.com/subscribe/post?u=5810357f96f7ab1365bcd3dbf&id=7f2c7e84d8"
method="post"
id="mc-embedded-subscribe-form"
name="mc-embedded-subscribe-form"
class="validate"
target="_blank"
novalidate
>
<div id="mc_embed_signup_scroll">
<label for="mce-EMAIL"
>Subscribe to get an e-mail when new features get
added!</label
>
<input
type="email"
value=""
name="EMAIL"
class="mt-3 form-control col-md-4 offset-md-4"
id="mce-EMAIL"
placeholder="Enter email address."
required
/>
<!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups-->
<div
style="position: absolute; left: -5000px"
aria-hidden="true"
>
<input
type="text"
name="b_5810357f96f7ab1365bcd3dbf_7f2c7e84d8"
tabindex="-1"
value=""
/>
</div>
<div class="clear">
<input
type="submit"
value="Subscribe"
name="subscribe"
id="mc-embedded-subscribe"
class="btn btn-secondary mt-4"
/>
</div>
</div>
</form>
</div>
<!--End mc_embed_signup-->
</div>
</div>
</footer>
<!-- Copyright -->
<div class="copyright py-4 text-center text-white">
<div class="container">
<p>
<small>
<a href="DataPrivacyRegulation.html">
Disclaimer & Data Privacy
</a></small
>
</p>
<small
>WhatsApp is a registered trademark of WhatsApp Inc. This site and
service are not related in any way to WhatsApp Inc.</small
>
<p></p>
<p><small>Copyright © ChatAnalyzer 2018</small></p>
</div>
</div>
<!-- Bootstrap core JavaScript -->
<script src="vendor/jquery/jquery.min.js"></script>
<script src="vendor/bootstrap/js/bootstrap.bundle.min.js"></script>
<!-- Plugin JavaScript -->
<script src="vendor/jquery-easing/jquery.easing.min.js"></script>
<!-- chart.js -->
<script src="js/moment.js"></script>
<script src="js/Chart.min.js"></script>
<!-- feedback form-->
<script src="js/feedback.js"></script>
<script src="js/form.js"></script>
<!-- Html 2 canvas --->
<script src="js/html2canvas.min.js"></script>
<script src="js/FileSaver.min.js"></script>
<!---<script src="js/screenshot0.js"></script>--->
<script src="js/screenshot1.js"></script>
<script src="js/screenshot2.js"></script>
<script src="js/screenshot3.js"></script>
<!-- My own scripts to analyze the chat file -->
<script src="js/main.js"></script>
<script src="js/stopwords.js"></script>
</body>
</html>