forked from mowolf/ChatAnalyzer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
391 lines (296 loc) · 16 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
<!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>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-118297181-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-118297181-1');
</script>
<!-- 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="https://use.fontawesome.com/releases/v5.0.10/css/all.css" integrity="sha384-+d0P83n9kaQMCwj8F4RJB66tzIwOKmrdb46+porD/OvrJ+37WqIM7UoBtwHO6Nlg" crossorigin="anonymous">
<link href="https://fonts.googleapis.com/css?family=Montserrat:400,700" rel="stylesheet" type="text/css">
<link href="https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic" 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">
<h2 class="font-weight-light mb-0"></h2>
<!-- 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 role="form" method="post" id="reused_form" class="form panel-body pt-1">
<div class="form-group">
<label for="comments"> Comments:</label>
<textarea class="form-control" type="textarea" id="comments" placeholder="Any ideas? Missing something? Tool does not work?" name="comments" maxlength="6000"></textarea>
</div>
<div class="form-group">
<label for="email"> Email:</label>
<input type="email" class="form-control" placeholder="Your e-mail" id="email" name="email" required>
</div>
<div class="form-group">
<button type="submit" class="btn btn-lg btn-warning pull-right pb-2 mb-2" iaria-hidden="true"></i>Send</button>
</div>
</form>
<div id="success_message" style="width:100%; height:100%; display:none; "> <h3 class="text-secondary text-center pt-3">Posted your feedback successfully!</h3> </div>
<div id="error_message" style="width:100%; height:100%; display:none; "> <h3 class="text-secondary text-center">Error</h3> Sorry there was an error sending your form. </div>
</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.
<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.</p>
<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>
</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>
<!-- Custom scripts for this template
<script src="js/freelancer.min.js"></script>-->
<!-- chart.js -->
<script src="js/moment.js"></script>
<script src="js/Chart.min.js"></script>
<!--<script src="https://cdn.jsdelivr.net/npm/chartjs-plugin-datalabels@0.3.0/dist/chartjs-plugin-datalabels.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>
<!-- SumoMe -->
<script async>(function(s,u,m,o,j,v){j=u.createElement(m);v=u.getElementsByTagName(m)[0];j.async=1;j.src=o;j.dataset.sumoSiteId='3a188d739b5f8db07e60404f9b3a748f7e5664c60b71d9a9760bdfed904c77d3';v.parentNode.insertBefore(j,v)})(window,document,'script','//load.sumo.com/');</script>
<!--
<script async>(function(s,u,m,o,j,v){j=u.createElement(m);v=u.getElementsByTagName(m)[0];j.async=1;j.src=o;j.dataset.sumoSiteId='4ace5feecfd01c92a68c0e3cf50f18bd93a1d55585178a15098c3e2d6d56d7d3';v.parentNode.insertBefore(j,v)})(window,document,'script','//load.sumo.com/');</script>
-->
</body>
</html>