minutes-ai / index.html
THEMONEYHOLLIC's picture
Add 3 files
50ecbcc verified
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>MeetMinutes AI | Smart Meeting Notes</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<script src="https://unpkg.com/typewriter-effect@latest/dist/core.js"></script>
<style>
.gradient-bg {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
.pulse-animation {
animation: pulse 2s infinite;
}
@keyframes pulse {
0% { transform: scale(1); }
50% { transform: scale(1.05); }
100% { transform: scale(1); }
}
.fade-in {
animation: fadeIn 0.5s ease-in;
}
@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}
.transcript-container {
max-height: 300px;
overflow-y: auto;
scrollbar-width: thin;
}
.transcript-container::-webkit-scrollbar {
width: 6px;
}
.transcript-container::-webkit-scrollbar-thumb {
background-color: rgba(156, 163, 175, 0.5);
border-radius: 3px;
}
.highlight-decision {
background-color: rgba(167, 243, 208, 0.5);
border-left: 3px solid #10b981;
}
.highlight-task {
background-color: rgba(191, 219, 254, 0.5);
border-left: 3px solid #3b82f6;
}
.highlight-question {
background-color: rgba(253, 230, 138, 0.5);
border-left: 3px solid #f59e0b;
}
.highlight-deadline {
background-color: rgba(252, 231, 243, 0.5);
border-left: 3px solid #ec4899;
}
</style>
</head>
<body class="bg-gray-50 min-h-screen">
<div class="gradient-bg text-white">
<div class="container mx-auto px-4 py-8">
<div class="flex justify-between items-center">
<div class="flex items-center space-x-2">
<i class="fas fa-clock text-2xl"></i>
<h1 class="text-2xl font-bold">MeetMinutes AI</h1>
</div>
<button id="auth-btn" class="bg-white text-indigo-600 px-4 py-2 rounded-lg font-medium hover:bg-gray-100 transition">
Connect Google Meet
</button>
</div>
<div class="mt-12 text-center">
<h2 class="text-4xl font-bold mb-4">Never Miss Important Meeting Details Again</h2>
<p class="text-xl max-w-2xl mx-auto">AI-powered transcription, translation, and smart summarization for your Google Meet calls</p>
</div>
<div class="mt-8 max-w-4xl mx-auto bg-white rounded-xl shadow-lg overflow-hidden">
<div class="p-6">
<div class="flex justify-between items-center mb-6">
<h3 class="text-xl font-semibold text-gray-800">Current Meeting</h3>
<div class="flex space-x-2">
<button id="start-btn" class="bg-green-500 text-white px-4 py-2 rounded-lg hover:bg-green-600 transition flex items-center space-x-2">
<i class="fas fa-microphone"></i>
<span>Start Recording</span>
</button>
<button id="stop-btn" class="bg-red-500 text-white px-4 py-2 rounded-lg hover:bg-red-600 transition hidden">
<i class="fas fa-stop"></i>
<span>Stop</span>
</button>
</div>
</div>
<div id="recording-status" class="hidden mb-6 bg-blue-50 text-blue-800 p-4 rounded-lg flex items-center">
<div class="pulse-animation mr-3">
<i class="fas fa-circle text-red-500"></i>
</div>
<span>Recording meeting in progress...</span>
</div>
<div id="transcription-container" class="hidden">
<div class="mb-6">
<label class="block text-gray-700 mb-2">Select Output Language:</label>
<div class="flex space-x-4">
<button id="english-btn" class="language-btn bg-indigo-100 text-indigo-700 px-4 py-2 rounded-lg hover:bg-indigo-200 transition flex items-center space-x-2">
<i class="fas fa-language"></i>
<span>English</span>
</button>
<button id="swahili-btn" class="language-btn bg-indigo-100 text-indigo-700 px-4 py-2 rounded-lg hover:bg-indigo-200 transition flex items-center space-x-2">
<i class="fas fa-language"></i>
<span>Swahili</span>
</button>
</div>
</div>
<div class="mb-6">
<label class="block text-gray-700 mb-2">Meeting Transcript:</label>
<div id="transcript" class="transcript-container bg-gray-50 p-4 rounded-lg text-gray-700">
<!-- Transcript will appear here -->
</div>
</div>
<div class="grid grid-cols-1 md:grid-cols-2 gap-6">
<div>
<h4 class="text-lg font-semibold text-gray-800 mb-3">Key Highlights</h4>
<div id="highlights" class="space-y-3">
<!-- Highlights will appear here -->
</div>
</div>
<div>
<h4 class="text-lg font-semibold text-gray-800 mb-3">Meeting Summary</h4>
<div id="summary" class="bg-indigo-50 p-4 rounded-lg text-gray-700">
<!-- Summary will appear here -->
</div>
</div>
</div>
<div class="mt-6 flex justify-end space-x-3">
<button id="copy-btn" class="bg-gray-200 text-gray-700 px-4 py-2 rounded-lg hover:bg-gray-300 transition flex items-center space-x-2">
<i class="fas fa-copy"></i>
<span>Copy Notes</span>
</button>
<button id="download-btn" class="bg-indigo-600 text-white px-4 py-2 rounded-lg hover:bg-indigo-700 transition flex items-center space-x-2">
<i class="fas fa-download"></i>
<span>Download</span>
</button>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="container mx-auto px-4 py-12">
<h2 class="text-3xl font-bold text-center text-gray-800 mb-8">How It Works</h2>
<div class="grid grid-cols-1 md:grid-cols-3 gap-8">
<div class="bg-white p-6 rounded-xl shadow-md hover:shadow-lg transition">
<div class="text-indigo-600 mb-4">
<i class="fas fa-microphone text-4xl"></i>
</div>
<h3 class="text-xl font-semibold mb-2">1. Record Your Meeting</h3>
<p class="text-gray-600">Simply click "Start Recording" when your Google Meet begins. Our AI will automatically capture all audio.</p>
</div>
<div class="bg-white p-6 rounded-xl shadow-md hover:shadow-lg transition">
<div class="text-indigo-600 mb-4">
<i class="fas fa-language text-4xl"></i>
</div>
<h3 class="text-xl font-semibold mb-2">2. Choose Your Language</h3>
<p class="text-gray-600">Select between English or Swahili for your transcript. The AI will translate naturally while preserving meaning.</p>
</div>
<div class="bg-white p-6 rounded-xl shadow-md hover:shadow-lg transition">
<div class="text-indigo-600 mb-4">
<i class="fas fa-lightbulb text-4xl"></i>
</div>
<h3 class="text-xl font-semibold mb-2">3. Get Smart Insights</h3>
<p class="text-gray-600">Automatically highlights decisions, tasks, questions, and deadlines with a concise 30-second summary.</p>
</div>
</div>
</div>
<footer class="bg-gray-800 text-white py-8">
<div class="container mx-auto px-4">
<div class="flex flex-col md:flex-row justify-between items-center">
<div class="mb-4 md:mb-0">
<div class="flex items-center space-x-2">
<i class="fas fa-clock text-2xl"></i>
<h2 class="text-xl font-bold">MeetMinutes AI</h2>
</div>
<p class="text-gray-400 mt-2">Powered by Gemini AI</p>
</div>
<div class="flex space-x-6">
<a href="#" class="hover:text-indigo-300 transition"><i class="fab fa-twitter"></i></a>
<a href="#" class="hover:text-indigo-300 transition"><i class="fab fa-linkedin"></i></a>
<a href="#" class="hover:text-indigo-300 transition"><i class="fab fa-github"></i></a>
</div>
</div>
<div class="mt-8 text-center text-gray-400 text-sm">
&copy; 2023 MeetMinutes AI. All rights reserved.
</div>
</div>
</footer>
<script>
// Mock data for demonstration
const mockTranscript = `**Meeting Transcript**\n\nJohn: Good morning team. Let's start with the Q2 results. We exceeded our targets by 15% which is great news.\n\nSarah: That's fantastic! Should we plan a team celebration for next Friday?\n\nMark: Before we decide on that, we need to address the server issues that caused downtime last week. Who's responsible for implementing the fix?\n\nLisa: That would be me. I'll have the patch ready by Wednesday EOD.\n\nJohn: Excellent. Also, regarding the new client project, when can we expect the first prototype?\n\nSarah: The design team will complete it by next Monday. Do we need to present it to the client?\n\nMark: Yes, let's schedule a demo for next Wednesday at 2 PM. Lisa, can you handle the technical aspects?\n\nLisa: Sure, I'll prepare the demo environment.\n\nJohn: Great. Any other questions before we wrap up?\n\nSarah: Just one - what's the budget for the team celebration?\n\nJohn: Let's cap it at $500. Sarah, you can coordinate with finance.\n\nMark: Sounds good. Meeting adjourned.`;
const mockHighlights = [
{ type: "decision", text: "Team celebration approved for next Friday with $500 budget" },
{ type: "task", text: "Lisa to implement server fix by Wednesday EOD" },
{ type: "task", text: "Sarah to coordinate team celebration with finance" },
{ type: "question", text: "When will the new client project prototype be ready?" },
{ type: "deadline", text: "Design team to complete prototype by next Monday" },
{ type: "decision", text: "Client demo scheduled for next Wednesday at 2 PM" },
{ type: "task", text: "Lisa to prepare demo environment for client presentation" }
];
const mockSummary = "The team discussed Q2 results which exceeded targets by 15%. Approved a team celebration for next Friday with $500 budget. Lisa will fix server issues by Wednesday. New client prototype due Monday with demo scheduled for Wednesday at 2 PM.";
// DOM elements
const startBtn = document.getElementById('start-btn');
const stopBtn = document.getElementById('stop-btn');
const recordingStatus = document.getElementById('recording-status');
const transcriptionContainer = document.getElementById('transcription-container');
const transcriptEl = document.getElementById('transcript');
const highlightsEl = document.getElementById('highlights');
const summaryEl = document.getElementById('summary');
const englishBtn = document.getElementById('english-btn');
const swahiliBtn = document.getElementById('swahili-btn');
const copyBtn = document.getElementById('copy-btn');
const downloadBtn = document.getElementById('download-btn');
const authBtn = document.getElementById('auth-btn');
// Event listeners
startBtn.addEventListener('click', startRecording);
stopBtn.addEventListener('click', stopRecording);
englishBtn.addEventListener('click', () => processTranscript('english'));
swahiliBtn.addEventListener('click', () => processTranscript('swahili'));
copyBtn.addEventListener('click', copyNotes);
downloadBtn.addEventListener('click', downloadNotes);
authBtn.addEventListener('click', connectGoogleMeet);
// Functions
function startRecording() {
startBtn.classList.add('hidden');
stopBtn.classList.remove('hidden');
recordingStatus.classList.remove('hidden');
// Simulate recording process
setTimeout(() => {
stopRecording();
}, 5000);
}
function stopRecording() {
startBtn.classList.remove('hidden');
stopBtn.classList.add('hidden');
recordingStatus.classList.add('hidden');
// Show transcription UI
transcriptionContainer.classList.remove('hidden');
transcriptionContainer.classList.add('fade-in');
// Display mock transcript
transcriptEl.textContent = mockTranscript;
}
function processTranscript(language) {
// Show loading state
transcriptEl.innerHTML = '<div class="flex justify-center"><i class="fas fa-spinner fa-spin text-2xl text-indigo-600"></i></div>';
// Simulate AI processing
setTimeout(() => {
if (language === 'swahili') {
// Mock Swahili translation
transcriptEl.innerHTML = `
<p><strong>Mkutano wa Nakala</strong></p>
<p>John: Habari za asubuhi timu. Wacha tuanze na matokeo ya Q2. Tulizidi malengo yetu kwa 15% ambayo ni habari njema.</p>
<p>Sarah: Hiyo ni nzuri! Je, tunapaswa kupanga sherehe ya timu kwa Ijumaa ijayo?</p>
<p>Mark: Kabla ya kuamua juu ya hilo, tunahitaji kushughulikia matatizo ya seva ambayo yalisababisha kushuka kwa wakati wa kazi wiki iliyopita. Nani anahusika na utekelezaji wa kurekebisha?</p>
<p>Lisa: Hiyo itakuwa mimi. Nitakuwa na kiraka tayari kwa Jumatano mwisho wa siku.</p>
`;
} else {
transcriptEl.textContent = mockTranscript;
}
// Display highlights
displayHighlights();
// Display summary
displaySummary();
}, 2000);
}
function displayHighlights() {
highlightsEl.innerHTML = '';
mockHighlights.forEach(item => {
const highlightDiv = document.createElement('div');
highlightDiv.classList.add('p-3', 'rounded-lg', 'fade-in');
// Add appropriate class based on highlight type
if (item.type === 'decision') {
highlightDiv.classList.add('highlight-decision');
} else if (item.type === 'task') {
highlightDiv.classList.add('highlight-task');
} else if (item.type === 'question') {
highlightDiv.classList.add('highlight-question');
} else if (item.type === 'deadline') {
highlightDiv.classList.add('highlight-deadline');
}
// Add icon based on type
let icon = '';
if (item.type === 'decision') {
icon = '<i class="fas fa-check-circle mr-2"></i>';
} else if (item.type === 'task') {
icon = '<i class="fas fa-tasks mr-2"></i>';
} else if (item.type === 'question') {
icon = '<i class="fas fa-question-circle mr-2"></i>';
} else if (item.type === 'deadline') {
icon = '<i class="fas fa-calendar-day mr-2"></i>';
}
highlightDiv.innerHTML = `${icon}${item.text}`;
highlightsEl.appendChild(highlightDiv);
});
}
function displaySummary() {
// Clear previous content
summaryEl.innerHTML = '';
// Create typewriter effect for summary
const typewriter = new Typewriter(summaryEl, {
loop: false,
delay: 20,
});
typewriter
.typeString(mockSummary)
.start();
}
function copyNotes() {
const notes = `Meeting Transcript:\n${transcriptEl.textContent}\n\nKey Highlights:\n${mockHighlights.map(h => h.text).join('\n')}\n\nSummary:\n${mockSummary}`;
navigator.clipboard.writeText(notes).then(() => {
// Show success feedback
const originalText = copyBtn.querySelector('span').textContent;
copyBtn.querySelector('span').textContent = 'Copied!';
setTimeout(() => {
copyBtn.querySelector('span').textContent = originalText;
}, 2000);
});
}
function downloadNotes() {
const notes = `Meeting Transcript:\n${transcriptEl.textContent}\n\nKey Highlights:\n${mockHighlights.map(h => h.text).join('\n')}\n\nSummary:\n${mockSummary}`;
const blob = new Blob([notes], { type: 'text/plain' });
const url = URL.createObjectURL(blob);
const a = document.createElement('a');
a.href = url;
a.download = 'meeting-notes.txt';
document.body.appendChild(a);
a.click();
document.body.removeChild(a);
URL.revokeObjectURL(url);
// Show success feedback
const originalText = downloadBtn.querySelector('span').textContent;
downloadBtn.querySelector('span').textContent = 'Downloaded!';
setTimeout(() => {
downloadBtn.querySelector('span').textContent = originalText;
}, 2000);
}
function connectGoogleMeet() {
// Simulate Google authentication
authBtn.innerHTML = '<i class="fas fa-spinner fa-spin mr-2"></i> Connecting...';
setTimeout(() => {
authBtn.innerHTML = '<i class="fas fa-check-circle mr-2"></i> Connected';
authBtn.classList.remove('bg-white', 'text-indigo-600', 'hover:bg-gray-100');
authBtn.classList.add('bg-green-100', 'text-green-700', 'hover:bg-green-200');
// Enable recording button
startBtn.disabled = false;
}, 2000);
}
</script>
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=THEMONEYHOLLIC/minutes-ai" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>