-
Notifications
You must be signed in to change notification settings - Fork 5
/
index.html
326 lines (289 loc) · 16.5 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>Whatsapp Parser</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<!-- Chart JS -->
<script crossorigin src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.7.3/Chart.bundle.min.js"></script>
<!-- jQuery -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
<!-- Stylesheets -->
<link rel="stylesheet" type="text/css" media="screen" href="boostrap.css" />
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
<style>
.graph, .initial {
display: none;
}
</style>
</head>
<body>
<div style="height:95%; width:95%; margin-left: auto; margin-right: auto;">
<div style="height:98%; width:98%; margin-left: auto; margin-right: auto; padding-top: 20px">
<h1 id="top" class="display-3" style="text-align: center; color:#16a085;">
WhatsVis
</h1>
<div class="policy ">
<div class="row">
<div class="col-lg-6">
<h1>Privacy Policy</h1>
<p>
WHATSVIS operates the
https://ameyrk.me/whatsapp-visualizer/ website (the "Service").
</p>
<p>
This page informs you of our policies regarding the collection, use, and
disclosure of personal data when you use our Service and the choices you
have associated with that data.
</p>
<h2>Information Collection And Use</h2>
<p>
We <b><u>do not</u></b> collect any data. Everything happens on the client-side.
</p>
<h3>Types of Data Collected</h3>
<h4>Personal Data</h4>
<p>
No personal data is collected.
</p>
<ul>
<li>Cookies and Usage Data</li>
</ul>
<h4>Usage Data</h4>
<p>
No usage data is collected.
</p>
<h4>Tracking & Cookies Data</h4>
<p>
Website does not use cookies or tracking data.
</p>
<h2>Links To Other Sites</h2>
<p>
Our Service may contain links to other sites that are not operated by us. If
you click on a third party link, you will be directed to that third party's
site. We strongly advise you to review the Privacy Policy of every site you
visit.
</p>
<p>
We have no control over and assume no responsibility for the content,
privacy policies or practices of any third party sites or services.
</p>
<h2>Contact Us</h2>
<p>If you have any questions about this Privacy Policy, please contact us:</p>
<ul>
<li>By email: [email protected]</li>
</ul>
<button type="button" onclick="continueFunc()" class="btn btn-success" style="background-color: #16a085; color:white;">
I understand and choose to continue
</button>
</div>
<div class="col-lg-6">
<br><br><br><br>
<div id="carouselExampleIndicators" class="carousel slide" data-ride="carousel">
<ol class="carousel-indicators">
<li data-target="#carouselExampleIndicators" data-slide-to="0" class="active"></li>
<li data-target="#carouselExampleIndicators" data-slide-to="1"></li>
<li data-target="#carouselExampleIndicators" data-slide-to="2"></li>
</ol>
<div class="carousel-inner">
<div class="carousel-item active">
<img class="d-block w-100" src="images/screenshots/part_1.png" alt="First slide">
</div>
<div class="carousel-item">
<img class="d-block w-100" src="images/screenshots/part_2.png" alt="Second slide">
</div>
<div class="carousel-item">
<img class="d-block w-100" src="images/screenshots/part_3.png" alt="Third slide">
</div>
</div>
<a class="carousel-control-prev" href="#carouselExampleIndicators" role="button" data-slide="prev">
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
<span class="sr-only">Previous</span>
</a>
<a class="carousel-control-next" href="#carouselExampleIndicators" role="button" data-slide="next">
<span class="carousel-control-next-icon" aria-hidden="true"></span>
<span class="sr-only">Next</span>
</a>
</div>
</div>
</div>
</div>
<div class="initial">
<fieldset>
<div class="form-group" style="width: 60%; margin-left: auto; margin-right: auto;">
<div class="input-group mb-3">
<div class="custom-file">
<input type="file" class="custom-file-input" id="inputFile" />
<label class="custom-file-label" for="inputFile">Choose your Whatsapp Chat file</label>
</div>
</div>
</div>
</fieldset>
<br /><br />
<div style="text-align: center;">
<h4>Note</h4>
<p>
I <u><b>do not</b></u> collect any data. <br>
Check out the code <a href="https://github.com/ameyrk99/whatsapp-visualizer/tree/gh-pages">here</a>.
Feel free to fork, modify, and improve the thing :)
</p>
</div>
<br /><br />
<div style="text-align: center;">
<h4>How to get Whatsapp Chat file</h4>
<div class="row">
<div class="col-lg-6">
1. When inside the chat, click the <u>three dot icon</u> <br> <img src="images/steps/three_dots.png" alt="three dots" style="width: 60%"> <br> <br>
2. Click <u>More ></u> <br> <img src="images/steps/dot_menu.png" alt="dot menu" style="height: 35%">
</div>
<div class="col-lg-6">
3. Click <u>Export Chat</u> <br> <img src="images/steps/more_menu.png" alt="more menu" style="height: 35%"> <br><br>
4. Select <u>WITHOUT MEDIA</u> <br> <img src="images/steps/media_select.png" alt="without media image" style="width: 40%"> <br><br>
This is important as it won't work otherwise. <br>
Export the chat file with the method you are comfortable with.
</div>
</div>
</div>
</div>
<div>
<div style="height: 600%; width: 87%; margin-left: auto; margin-right: auto; padding: 5%; padding-bottom: 2.5%; text-align: center">
<div class="row">
<div class="col-lg-6 graph">
<h4>Messages Sent</h4>
<canvas id="msgs" width="100%" height="100%"></canvas>
</div>
<div class="col-lg-6 graph">
<h4>Words Used</h4>
<canvas id="wrds" width="100%" height="100%"></canvas>
</div>
</div> <br>
<div class="row" id="first">
<div class="col-lg-6">
<a href="https://github.com/ameyrk99/whatsapp-visualizer" class="graph" target="_blank">
<button type="button" class="btn btn-success" style="background-color: #05070A; color:white;">
View Code
</button>
</a>
</div>
<div class="col-lg-6">
<a href="#first" class="graph">
<button type="button" class="btn btn-success" style="background-color: #FFD700; color:black">
Check most used words and Media Stats
</button>
</a>
</div>
</div>
</div>
<div style="height: 600%; width: 87%; margin-left: auto; margin-right: auto; padding: 5%; padding-top: 2.5%; text-align: center">
<div class="row" id="second">
<div class="col-lg-6 graph">
<h4>Most Used non-stop Words</h4>
<canvas id="topWords" width="100%" height="100%; padding: 2%"></canvas>
</div>
<div class="col-lg-6 graph">
<h4>Media Sent</h4>
<canvas id="mda" width="100%" height="100%"></canvas>
</div>
</div><br><br>
<div class="row">
<div class="col-lg-4">
<a href="https://github.com/ameyrk99/whatsapp-visualizer" class="graph" target="_blank">
<button type="button" class="btn btn-success" style="background-color: #05070A; color:white;">
View Code
</button>
</a>
</div>
<div class="col-lg-4">
<a href="#third" class="graph">
<button type="button" class="btn btn-success" style="background-color: #FFD700; color:black;">
View Timings Stats
</button>
</a>
</div>
<div class="col-lg-4">
<a href="#top" class="graph">
<button type="button" class="btn btn-success" style="background-color: #FF4040; color:white;">
Go up
</button>
</a>
</div>
</div> <br><br><br>
<div id="third" class="graph" style="height: 600%; width: 87%; margin-left: auto; margin-right: auto; padding: 5%; padding-top: 2.5%; text-align: center">
<h4>Timings</h4>
<canvas id="times" width="100%" height="50%; padding: 2%"></canvas> <br><br>
<div class="row">
<div class="col-lg-4">
<a href="https://github.com/ameyrk99/whatsapp-visualizer" class="graph" target="_blank">
<button type="button" class="btn btn-success" style="background-color: #05070A; color:white;">
View Code
</button>
</a>
</div>
<div class="col-lg-4">
<a href="#fourth" class="graph">
<button type="button" class="btn btn-success" style="background-color: #FFD700; color:black;">
View Timings Stats
</button>
</a>
</div>
<div class="col-lg-4">
<a href="#top" class="graph">
<button type="button" class="btn btn-success" style="background-color: #FF4040; color:white;">
Go up
</button>
</a>
</div>
</div>
</div>
<div id="fourth" class="graph" style="height: 600%; width: 87%; margin-left: auto; margin-right: auto; padding: 5%; padding-top: 2.5%; text-align: center">
<h4>By Date</h4>
<canvas id="plotDates" width="100%" height="50%; padding: 2%"></canvas> <br><br>
<div class="row">
<div class="col-lg-3">
<a href="https://github.com/ameyrk99/whatsapp-visualizer" class="graph" target="_blank">
<button type="button" class="btn btn-success" style="background-color: #05070A; color:white;">
View Code
</button>
</a>
</div>
<div class="col-lg-3">
<a href="https://ameyrk.me/whatsapp-visualizer/" class="graph">
<button type="button" class="btn btn-success" style="background-color: #16a085; color:white;">
Try another file
</button>
</a>
</div>
<div class="col-lg-3">
<a href="https://www.chartjs.org" class="graph" target="_blank">
<button type="button" class="btn btn-success" style="background-color: #186ed1; color:white;">
Chart.js
</button>
</a>
</div>
<div class="col-lg-3">
<a href="#top" class="graph">
<button type="button" class="btn btn-success" style="background-color: #FF4040; color:white;">
Go up
</button>
</a>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<script src="scripts/data.js"></script>
<script src="scripts/graph_wv.js"></script>
<script>
continueFunc = () => {
$(document).ready(
function() {
$(".policy, .initial").fadeToggle();
}
)
}
</script>
</body>
</html>