Spaces:
Running
Running
| <html lang="he" dir="rtl"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>תמלול שיעורי תורה</title> | |
| <link rel="preconnect" href="https://fonts.googleapis.com"> | |
| <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> | |
| <link href="https://fonts.googleapis.com/css2?family=Assistant:wght@300;400;600;700&display=swap" rel="stylesheet"> | |
| <link href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined" rel="stylesheet" /> | |
| <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css" integrity="sha512-DTOQO9RWCH3ppGqcWaEA1BIZOC6xxalwEsw9c2QQeAIftl+Vegovlnee1c9QX4TctnWMn13TZye+giMm8e2LwA==" crossorigin="anonymous" referrerpolicy="no-referrer" /> | |
| <link rel="stylesheet" href="/static/style.css"> | |
| </head> | |
| <body> | |
| <div class="container"> | |
| <div id="beta-banner" class="beta-banner"> | |
| <div class="banner-content"> | |
| <div class="banner-icon"> | |
| <span class="material-symbols-outlined">rocket_launch</span> | |
| </div> | |
| <div class="banner-text"> | |
| <h3>השקה חדשה: ברוכים הבאים ל"אלף בוט"!</h3> | |
| <p>אנו משיקים אתר חדש, יציב ואמין יותר, עם חווית משתמש משופרת. רוצים להיות הראשונים שמנסים? הירשמו לגרסת הבטא וקבלו גישה בחינם.</p> | |
| </div> | |
| <div class="banner-action"> | |
| <a href="https://forms.gle/d8Yvv9qWEEMgeSg58" target="_blank" class="btn btn-primary">להרשמה לבטא</a> | |
| </div> | |
| </div> | |
| <button id="close-beta-banner" class="close-banner-btn" title="סגור הודעה"> | |
| <span class="material-symbols-outlined">close</span> | |
| </button> | |
| </div> | |
| <header> | |
| <h1><span class="material-symbols-outlined" style="font-size: 2.8rem;">transcribe</span> תמלול שיעורי תורה</h1> | |
| </header> | |
| <main> | |
| <div class="card"> | |
| <form id="transcribe-form"> | |
| <h2>הגדרות והעלאה</h2> | |
| <div class="input-group"> | |
| <label for="api-key-input">מפתח API של Google Gemini</label> | |
| <input type="password" id="api-key-input" placeholder="הזן את המפתח כאן" required> | |
| <small style="display: block; margin-top: 4px;"> | |
| <a href="https://blog.ze-kal.top/ai/%D7%9E%D7%93%D7%A8%D7%99%D7%9B%D7%99%D7%9D/2025/07/19/api-key-for-gemini/" target="_blank">איך משיגים מפתח?</a> | |
| </small> | |
| </div> | |
| <div class="input-group"> | |
| <label for="model-select">בחר מודל</label> | |
| <select id="model-select"> | |
| <option value="gemini-2.5-flash">gemini-2.5-flash (מהיר וחסכוני)</option> | |
| <option value="gemini-2.5-pro" selected>gemini-2.5-pro (מתקדם ויסודי)</option> | |
| <option value="custom">אחר (הזן ידנית)</option> | |
| </select> | |
| <input type="text" id="model-custom-input" placeholder="הזן שם מודל מלא, לדוגמה: gemini-2.0-flash-lite" style="display: none;"> | |
| </div> | |
| <div class="input-group"> | |
| <label>בחר פורמט פלט</label> | |
| <div class="format-toggle-group"> | |
| <button type="button" class="format-toggle-btn active" data-format="plain_text"> | |
| <span class="material-symbols-outlined">article</span> טקסט ערוך | |
| </button> | |
| <button type="button" class="format-toggle-btn" data-format="srt"> | |
| <span class="material-symbols-outlined">subtitles</span> כתוביות (SRT) | |
| </button> | |
| </div> | |
| </div> | |
| <div class="input-group"> | |
| <label for="user-prompt-input">הנחיית משתמש (אופציונלי)</label> | |
| <textarea id="user-prompt-input" placeholder="הזן הנחיה נוספת כאן, או ציין מילים ומושגים שחוזרים על עצמם במהלך ההקלטה" rows="3"></textarea> | |
| </div> | |
| <div class="input-group"> | |
| <label for="audio-file-input">קובץ שמע או וידאו (mp3, mp4, wav, m4a, etc.)</label> | |
| <label for="audio-file-input" class="file-input-wrapper" id="audio-drop-zone"> | |
| <span class="material-symbols-outlined">upload_file</span> | |
| <p>לחץ לבחירת קובץ או גרור לכאן</p> | |
| <div id="audio-file-name" class="file-name"></div> | |
| </label> | |
| <input type="file" id="audio-file-input" accept="audio/*,video/*" required> | |
| </div> | |
| <div class="buttons-container" style="margin-top: 2rem; flex-wrap: wrap; justify-content: center;"> | |
| <button type="submit" id="submit-button" class="btn btn-primary" style="padding: 16px 32px; font-size: 1.2rem;" disabled> | |
| <span class="material-symbols-outlined">rocket_launch</span> התחל תמלול | |
| </button> | |
| <a href="https://tools.ze-kal.top/tools/subtitle_editor.html" target="_blank" class="btn btn-secondary" title="עריכה, סנכרון ותיקון של קובץ כתוביות קיים" style="padding: 16px 32px; font-size: 1.2rem;"> | |
| <span class="material-symbols-outlined">edit_note</span> עורך כתוביות | |
| </a> | |
| </div> | |
| </form> | |
| <div id="status-container"> | |
| <div id="status-message"></div> | |
| <div id="progress-bar-container"> | |
| <div id="progress-bar"></div> | |
| </div> | |
| </div> | |
| </div> | |
| <section id="results-section" class="card" style="margin-top: 2rem;"> | |
| <div class="results-header"> | |
| <h2>תוצאות התמלול</h2> | |
| <div class="view-toggle" id="results-view-toggle"> | |
| <button id="view-srt-btn" class="view-btn">כתוביות</button> | |
| <button id="view-txt-btn" class="view-btn">טקסט</button> | |
| </div> | |
| </div> | |
| <div class="textarea-container"> | |
| <textarea id="results-output" readonly></textarea> | |
| <button id="copy-button" class="btn icon-btn" title="העתק טקסט"> | |
| <span class="material-symbols-outlined">content_copy</span> | |
| </button> | |
| </div> | |
| <div class="buttons-container"> | |
| <a id="download-srt-button" class="btn"> | |
| <span class="material-symbols-outlined">download</span> הורד כתוביות (SRT) | |
| </a> | |
| <a id="download-txt-button" class="btn"> | |
| <span class="material-symbols-outlined">article</span> הורד כטקסט | |
| </a> | |
| <a href="https://tools.ze-kal.top/tools/subtitle_editor.html" target="_blank" class="btn btn-secondary" title="עריכה, סנכרון ותיקון של קובץ כתוביות קיים"> | |
| <span class="material-symbols-outlined">edit_note</span> ערוך כתוביות | |
| </a> | |
| </div> | |
| </section> | |
| </main> | |
| </div> | |
| <div class="container"> | |
| <section class="additional-links-section"> | |
| <h2>כלים וקישורים נוספים</h2> | |
| <div class="links-grid"> | |
| <a href="https://nhlocal.github.io/" target="_blank" rel="noopener noreferrer" class="link-card"> | |
| <div class="link-card-icon"> | |
| <span class="material-symbols-outlined">hub</span> | |
| </div> | |
| <div class="link-card-text"> | |
| <h3>אתר הפרוייקטים הראשי</h3> | |
| <p>סקירה כללית של הפרויקטים והעבודות של NH Local</p> | |
| </div> | |
| </a> | |
| <a href="https://tools.ze-kal.top/" target="_blank" rel="noopener noreferrer" class="link-card"> | |
| <div class="link-card-icon"> | |
| <span class="material-symbols-outlined">construction</span> | |
| </div> | |
| <div class="link-card-text"> | |
| <h3>ארגז הכלים</h3> | |
| <p>כלים שימושיים וקלי משקל, לפתרון בעיות קטנות במהירות</p> | |
| </div> | |
| </a> | |
| <a href="https://blog.ze-kal.top/" target="_blank" rel="noopener noreferrer" class="link-card"> | |
| <div class="link-card-icon"> | |
| <span class="material-symbols-outlined">school</span> | |
| </div> | |
| <div class="link-card-text"> | |
| <h3>הבלוג שלי</h3> | |
| <p>יומן מסע אישי בחזית מהפכת ה-AI, עם פרויקטים ומדריכים</p> | |
| </div> | |
| </a> | |
| </div> | |
| </section> | |
| </div> | |
| <script src="/static/main.js"></script> | |
| <footer> | |
| <p> | |
| <a href="https://github.com/NHLOCAL/" target="_blank" class="github-link"> | |
| <i class="fa-brands fa-github"></i> | |
| </a> | |
| נוצר על ידי <a href="https://nhlocal.github.io" target="_blank">Nh Local</a> | |
| </p> | |
| </footer> | |
| </body> | |
| </html> |