-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
283 lines (259 loc) · 12 KB
/
index.html
File metadata and controls
283 lines (259 loc) · 12 KB
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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Airtime2: Meeting Talk-Time Analyzer</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="Analyze who spoke, for how long, and what they said from Zoom or Teams VTT transcripts. 100% client-side and privacy-first.">
<!-- Open Graph / Facebook / LinkedIn -->
<meta property="og:type" content="website">
<meta property="og:url" content="https://mgifford.github.io/airtime2/">
<meta property="og:title" content="Airtime2: Meeting Talk-Time Analyzer">
<meta property="og:description" content="Analyze who spoke, for how long, and what they talked about using Zoom or Teams VTT transcripts. Privacy-focused and runs entirely in your browser.">
<meta property="og:site_name" content="Airtime2">
<meta property="og:image" content="https://mgifford.github.io/airtime2/assets/airtime2-og.png">
<meta property="og:image:type" content="image/png">
<meta property="og:image:alt" content="Illustration of Airtime2 showing VTT input flowing into speaker timeline and charts.">
<!-- Twitter Card -->
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:url" content="https://mgifford.github.io/airtime2/">
<meta name="twitter:title" content="Airtime2: Meeting Talk-Time Analyzer">
<meta name="twitter:description" content="Analyze who spoke, for how long, and what they said from Zoom or Teams VTT transcripts. 100% client-side and privacy-first.">
<meta name="twitter:image" content="https://mgifford.github.io/airtime2/assets/airtime2-og.png">
<meta name="twitter:image:alt" content="Illustration of Airtime2 showing VTT input flowing into speaker timeline and charts.">
<link rel="stylesheet" href="style.css">
<style></style>
</head>
<body>
<header>
<div class="container header-flex">
<img
src="assets/airtime2-logo.svg"
alt="Airtime2 logo"
class="app-logo"
width="96"
height="96"
decoding="async"
>
<div class="app-intro">
<h1>Airtime2: Meeting Talk-Time Analyzer</h1>
<p id="app-description">
Analyze who spoke, for how long, and what they talked about using Zoom or Teams VTT transcripts. No AI, no analytics, just a simple report with a clean transcript of the discussion.
</p>
</div>
</div>
</header>
<main class="container" aria-describedby="app-description">
<section id="input-section" aria-labelledby="input-heading">
<h2 id="input-heading">1. Provide transcript</h2>
<p>You can upload a <code>.vtt</code> file, drag and drop it, or paste the transcript text directly.</p>
<div class="controls-row">
<div>
<label for="file-input">Upload VTT file</label><br>
<input id="file-input" type="file" accept=".vtt,text/vtt,text/plain">
</div>
<div class="file-drop" id="file-drop" role="group" aria-label="Drag and drop VTT file">
<p>Drag and drop a <code>.vtt</code> file here, or use the upload control.</p>
</div>
<div>
<label for="attendees">Total attendees (optional)</label><br>
<input type="number" id="attendees" min="0" step="1" aria-describedby="attendees-help">
<div id="attendees-help" class="sr-only">
Total number of people in the meeting, including those who did not speak.
</div>
</div>
<div>
<button id="analyze" type="button">Analyze meeting</button>
</div>
</div>
<div style="margin-top:0.75rem;">
<label for="transcript">Paste Zoom or Teams VTT transcript</label>
<textarea id="transcript" aria-label="Transcript input"></textarea>
</div>
</section>
<section id="summary-section" class="app-section is-hidden" aria-labelledby="summary-heading">
<h2 id="summary-heading">2. Talk-Time summary</h2>
<div class="layout-two-col">
<div>
<h3>Meeting metrics</h3>
<div id="meeting-metrics" aria-live="polite"></div>
<h3>Speakers</h3>
<table id="speakers-table">
<thead>
<tr>
<th scope="col" data-sort-key="speaker" tabindex="0">
<span class="sort-label">Speaker</span>
<span class="sort-arrow sort-arrow--none" aria-hidden="true">
<svg viewBox="0 0 16 16" focusable="false">
<polygon class="tri-up" points="8,3 4,7 12,7"></polygon>
<polygon class="tri-down" points="4,9 12,9 8,13"></polygon>
</svg>
</span>
</th>
<th scope="col" data-sort-key="words" tabindex="0">
<span class="sort-label">Words</span>
<span class="sort-arrow sort-arrow--none" aria-hidden="true">
<svg viewBox="0 0 16 16" focusable="false">
<polygon class="tri-up" points="8,3 4,7 12,7"></polygon>
<polygon class="tri-down" points="4,9 12,9 8,13"></polygon>
</svg>
</span>
</th>
<th scope="col" data-sort-key="time" tabindex="0">
<span class="sort-label">Time (min)</span>
<span class="sort-arrow sort-arrow--none" aria-hidden="true">
<svg viewBox="0 0 16 16" focusable="false">
<polygon class="tri-up" points="8,3 4,7 12,7"></polygon>
<polygon class="tri-down" points="4,9 12,9 8,13"></polygon>
</svg>
</span>
</th>
<th scope="col" data-sort-key="wordShare" tabindex="0">
<span class="sort-label">Word share</span>
<span class="sort-arrow sort-arrow--none" aria-hidden="true">
<svg viewBox="0 0 16 16" focusable="false">
<polygon class="tri-up" points="8,3 4,7 12,7"></polygon>
<polygon class="tri-down" points="4,9 12,9 8,13"></polygon>
</svg>
</span>
</th>
<th scope="col" data-sort-key="timeShare" tabindex="0">
<span class="sort-label">Time share</span>
<span class="sort-arrow sort-arrow--none" aria-hidden="true">
<svg viewBox="0 0 16 16" focusable="false">
<polygon class="tri-up" points="8,3 4,7 12,7"></polygon>
<polygon class="tri-down" points="4,9 12,9 8,13"></polygon>
</svg>
</span>
</th>
<th scope="col" data-sort-key="turns" tabindex="0">
<span class="sort-label">Turns</span>
<span class="sort-arrow sort-arrow--none" aria-hidden="true">
<svg viewBox="0 0 16 16" focusable="false">
<polygon class="tri-up" points="8,3 4,7 12,7"></polygon>
<polygon class="tri-down" points="4,9 12,9 8,13"></polygon>
</svg>
</span>
</th>
</tr>
</thead>
<tbody></tbody>
</table>
<div id="table-sort-status" class="sr-only" aria-live="polite"></div>
</div>
<div>
<h3>Word and time share charts</h3>
<div class="charts-row">
<div class="bar-chart" id="word-share-chart" role="img" aria-label="Bar chart of word share per speaker"></div>
<div class="bar-chart" id="time-share-chart" role="img" aria-label="Bar chart of time share per speaker"></div>
</div>
</div>
</div>
</section>
<section id="timeline-section" class="app-section is-hidden" aria-labelledby="timeline-heading">
<h2 id="timeline-heading">3. Timeline of speaking</h2>
<p class="sr-only">Timeline shows when each speaker talked during the meeting.</p>
<div id="timeline-container">
<div id="timeline" aria-label="Speaking timeline"></div>
</div>
<div class="speaker-legend" id="speaker-legend" aria-label="Speaker legend"></div>
</section>
<section id="wordcloud-section" class="app-section is-hidden" aria-labelledby="wordcloud-heading">
<h2 id="wordcloud-heading">4. Word clouds</h2>
<p>
Shows frequently used words for the main speakers and overall meeting.
Filler words and common words are excluded as much as possible.
Frequency is indicated by word size.
</p>
<div id="word-cloud-container"></div>
</section>
<section id="transcript-section" class="app-section is-hidden" aria-labelledby="transcript-heading">
<h2 id="transcript-heading">5. Cleaned transcript</h2>
<p>
Speaker names are bolded. Click a speaker in any section to lock their highlight,
then scroll to see their oral participation.
</p>
<div id="cleaned" aria-label="Cleaned transcript"></div>
</section>
<section id="prompt-section" class="app-section is-hidden" aria-labelledby="prompt-heading">
<h2 id="prompt-heading">6. AI prompt generator</h2>
<p>
Copy a ready-made prompt to use with your preferred AI assistant (such as ChatGPT, Claude, or Gemini).
The prompt includes the cleaned transcript. Your transcript never leaves your browser.
</p>
<fieldset class="prompt-selector" id="prompt-selector">
<legend>Choose a prompt type</legend>
<div class="prompt-options">
<label class="prompt-option">
<input type="radio" name="prompt-type" value="summary" checked>
Meeting summary
</label>
<label class="prompt-option">
<input type="radio" name="prompt-type" value="actions">
Commitments & action items
</label>
<label class="prompt-option">
<input type="radio" name="prompt-type" value="perspectives">
Multiple perspectives
</label>
<label class="prompt-option">
<input type="radio" name="prompt-type" value="nextmeeting">
Next meeting prep
</label>
<label class="prompt-option">
<input type="radio" name="prompt-type" value="tips">
Participation tips
</label>
</div>
</fieldset>
<div class="prompt-output-row">
<textarea
id="prompt-output"
class="prompt-output"
readonly
aria-label="Generated AI prompt"
></textarea>
<div class="prompt-actions">
<button type="button" id="copy-prompt-btn">
Copy prompt
</button>
<div id="prompt-copy-status" class="prompt-copy-status" role="status" aria-live="polite"></div>
</div>
</div>
</section>
</main>
<section id="instructions-visual" class="instructions-visual" aria-labelledby="instructions-heading">
<div class="container">
<h2 id="instructions-heading" class="sr-only">How Airtime2 works</h2>
<img
src="assets/airtime2-instructions.svg"
alt="Illustration showing how Airtime2 turns VTT transcripts into speaker timelines, charts, and word clouds"
loading="lazy"
decoding="async"
>
</div>
</section>
<footer class="site-footer">
<div class="container">
<p>
This project is open source. View the code on
<a href="https://github.com/mgifford/airtime2">GitHub</a>.
</p>
</div>
<!-- Bluesky Footer -->
<meta data-bsky-post-id="3m6nilpb7u22n" />
<section class="post__likes" data-bsky-container>
<h3 class="post__likesTitle">
🦋 <span data-bsky-likes-count></span> likes on Bluesky
</h3>
<a class="post__likesCta" href="https://bsky.app/profile/ox.ca/post/3m6nilpb7u22n" target="_blank">
Like this post on Bluesky to see your face on this page
</a>
<ul data-bsky-likes class="post__likesList"></ul>
</section>
</footer>
<script src="logic.js"></script>
<script src="script.js"></script>
<script type="module" src="bluesky-likes.js"></script>
</body>
</html>