Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/transcribe from url #300

Merged
merged 8 commits into from
Sep 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions desktop/src-tauri/capabilities/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,21 @@
}
]
},
{
"identifier": "shell:allow-execute",
"allow": [
{
"name": "yt-dlp_macos",
"cmd": "$APPLOCALDATA/yt-dlp_macos",
"args": [
{
"validator": "\\S+"
}
],
"sidecar": false
}
]
},
"store:allow-set",
"store:allow-get",
"store:allow-has",
Expand Down Expand Up @@ -83,6 +98,9 @@
"core:app:allow-name",
"updater:default",
"shell:allow-open",
"shell:allow-execute",
"shell:allow-kill",
"shell:allow-spawn",
"fs:default",
"fs:allow-exists",
"deep-link:allow-get-current",
Expand Down
7 changes: 5 additions & 2 deletions desktop/src-tauri/locales/en-US/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
"advanced": "Advanced",
"app-title": "Vibe",
"ask-for-download-model": "Would you like to download the model from the website",
"ask-for-install-ytdlp-message": "Do you want to install ytdlp which used for download audio from popular websites?",
"ask-for-install-ytdlp-title": "Install ytdlp",
"ask-for-relaunch-body": "Do you want to relaunch now?",
"ask-for-relaunch-title": "Update Finished",
"ask-for-setup-diarize": "Do you want to download models? (approx 20mb)",
"ask-for-update-body": "Do you want to update vibe into version {{version}}?",
"ask-for-update-title": "Confirm update",
"cancel": "Cancel",
Expand All @@ -25,10 +26,12 @@
"dark": "Dark",
"diarize-threshold": "Speaker recognition threshold",
"discord-community": "Discord Community",
"download-file": "Download Audio",
"download-model": "Download model",
"download-models-link": "Download Models",
"downloading-ai-models": "Downloading AI models...",
"downloading-model": "Downloading OpenAI Model...",
"downloading-ytdlp": "Downloading ytdlp",
"enable-logs": "Enable Logs",
"error-title": "Error",
"files": "Files",
Expand All @@ -53,6 +56,7 @@
"info-threads": "Increase CPU for faster decoding; balance speed with resource usage. Recommended: 4",
"info-translate-to-english": "Translate transcription into English from any language by enabling this option",
"info-use-word-timestamps": "Transcript with word timestamps instead of sentence timestamps. Useful in JSON format.",
"install-now": "Install Now",
"language": "Language",
"leftover": "left",
"light": "Light",
Expand Down Expand Up @@ -90,7 +94,6 @@
"select-model": "Select Model",
"select-theme": "Select Theme",
"settings": "Settings",
"setup-diarize-title": "Downloads Models",
"speaker-prefix": "Speaker",
"speakers": "Speakers",
"start-record": "Start Record",
Expand Down
7 changes: 5 additions & 2 deletions desktop/src-tauri/locales/fr-FR/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
"advanced": "Avancé",
"app-title": "Vibe !",
"ask-for-download-model": "Souhaitez-vous télécharger le modèle depuis le site Web",
"ask-for-install-ytdlp-message": "Voulez-vous installer ytdlp, utilisé pour télécharger de l'audio à partir de sites Web populaires ?",
"ask-for-install-ytdlp-title": "Installer ytdlp",
"ask-for-relaunch-body": "Voulez-vous relancer maintenant ?",
"ask-for-relaunch-title": "Mise à jour terminée",
"ask-for-setup-diarize": "Voulez-vous télécharger des modèles? \n(environ 20 Mo)",
"ask-for-update-body": "Voulez-vous mettre à jour Vibe vers la version {{version}} ?",
"ask-for-update-title": "Confirmer la mise à jour",
"cancel": "Annuler",
Expand All @@ -25,10 +26,12 @@
"dark": "Sombre",
"diarize-threshold": "Seuil de reconnaissance du locuteur",
"discord-community": "Communauté Discord",
"download-file": "Télécharger l'audio",
"download-model": "Télécharger le modèle",
"download-models-link": "Télécharger les modèles",
"downloading-ai-models": "Téléchargement de modèles d'IA...",
"downloading-model": "Téléchargement du modèle OpenAI en cours…",
"downloading-ytdlp": "Téléchargement de ytdlp",
"enable-logs": "Activer les journaux",
"error-title": "Erreur",
"files": "Fichiers",
Expand All @@ -53,6 +56,7 @@
"info-threads": "Augmentez le nombre de fils d'exécution processeur pour un décodage plus rapide ; Veillez à équilibrer la vitesse attendue avec l’utilisation générale des ressources. Recommandé : 4",
"info-translate-to-english": "Traduisez la transcription en anglais depuis n’importe quelle langue en activant cette option",
"info-use-word-timestamps": "Transcription avec horodatages de mots au lieu d'horodatages de phrases. \nUtile au format JSON.",
"install-now": "Installer maintenant",
"language": "Langue",
"leftover": "encore",
"light": "Lumière",
Expand Down Expand Up @@ -90,7 +94,6 @@
"select-model": "Sélectionner un modèle",
"select-theme": "Sélectionne un thème",
"settings": "Paramètres",
"setup-diarize-title": "Modèles à télécharger",
"speaker-prefix": "Conférencier",
"speakers": "Haut-parleurs",
"start-record": "Démarrer l'enregistrement",
Expand Down
7 changes: 5 additions & 2 deletions desktop/src-tauri/locales/he-IL/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
"advanced": "מתקדם",
"app-title": "Vibe",
"ask-for-download-model": "האם ברצונך להוריד את המודל מהאתר",
"ask-for-install-ytdlp-message": "האם אתה רוצה להתקין ytdlp המשמש להורדת אודיו מאתרים פופולריים?",
"ask-for-install-ytdlp-title": "התקנת ytdlp",
"ask-for-relaunch-body": "האם ברצונך להפעיל מחדש את התוכנה?",
"ask-for-relaunch-title": "העדכון הסתיים",
"ask-for-setup-diarize": "האם ברצונך להוריד את המודלים? (בערך 20 מגה בייט)",
"ask-for-update-body": "האם ברצונך לבצע עדכון לגרסה {{version}}?",
"ask-for-update-title": "ביצוע עדכון",
"cancel": "ביטול",
Expand All @@ -25,10 +26,12 @@
"dark": "כהה",
"diarize-threshold": "סף זיהוי דוברים",
"discord-community": "קהילת דיסקורד",
"download-file": "הורד אודיו",
"download-model": "הורד מודל",
"download-models-link": "הורדת מודלים",
"downloading-ai-models": "מוריד מודלים...",
"downloading-model": "מוריד מודל בינה מלאכותית",
"downloading-ytdlp": "מוריד ytdlp",
"enable-logs": "הפעל לוגים",
"error-title": "שגיאה",
"files": "קבצים",
Expand All @@ -53,6 +56,7 @@
"info-threads": "כמות משאבים שהתמלול יצרוך מהמעבד בזמן התמלול, במחשבים חזקים אפשר לבחור יותר. מומלץ להתחיל ב4 ועד למקסימום של 10.",
"info-translate-to-english": "תרגם תמלול לאנגלית מכל שפה על ידי הפעלת אפשרות זו",
"info-use-word-timestamps": "תמלול עם חותמות זמן של מילים במקום חותמות זמן של משפט. \nשימושי בפורמט JSON.",
"install-now": "התקן עכשיו",
"language": "שפה",
"leftover": "נשארו",
"light": "בהיר",
Expand Down Expand Up @@ -90,7 +94,6 @@
"select-model": "בחר מודל",
"select-theme": "בחר ערכת נושא",
"settings": "הגדרות",
"setup-diarize-title": "הורדת מודלים",
"speaker-prefix": "דובר",
"speakers": "רמקולים",
"start-record": "התחל להקליט",
Expand Down
7 changes: 5 additions & 2 deletions desktop/src-tauri/locales/hi-IN/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
"advanced": "उन्नत",
"app-title": "वाइब!",
"ask-for-download-model": "क्या आप वेबसाइट से मॉडल डाउनलोड करना चाहेंगे",
"ask-for-install-ytdlp-message": "क्या आप ytdlp इंस्टॉल करना चाहते हैं जिसका उपयोग लोकप्रिय वेबसाइटों से ऑडियो डाउनलोड करने के लिए किया जाता है?",
"ask-for-install-ytdlp-title": "Ytdlp स्थापित करें",
"ask-for-relaunch-body": "क्या आप अब फिर से चालू करना चाहते हैं?",
"ask-for-relaunch-title": "अपडेट समाप्त",
"ask-for-setup-diarize": "क्या आप मॉडल डाउनलोड करना चाहेंगे? (लगभग 20mb)",
"ask-for-update-body": "क्या आप वाइब को संस्करण {{version}} में अपडेट करना चाहेंगे?",
"ask-for-update-title": "अपडेट की पुष्टि करें",
"cancel": "रद्द करें",
Expand All @@ -25,10 +26,12 @@
"dark": "अँधेरा",
"diarize-threshold": "स्पीकर पहचान सीमा",
"discord-community": "डिस्कॉर्ड समुदाय",
"download-file": "ऑडियो डाउनलोड करें",
"download-model": "मॉडल डाउनलोड करें",
"download-models-link": "मॉडल डाउनलोड करें",
"downloading-ai-models": "AI मॉडल डाउनलोड हो रहा है...",
"downloading-model": "OpenAI मॉडल डाउनलोड हो रहा है...",
"downloading-ytdlp": "Ytdlp डाउनलोड हो रहा है",
"enable-logs": "लॉग सक्षम करें",
"error-title": "त्रुटि",
"files": "फ़ाइलें",
Expand All @@ -53,6 +56,7 @@
"info-threads": "गतिशील डिकोडिंग के लिए CPU बढ़ाएं; गति को संसाधन उपयोग के साथ संतुलित करें। अनुशंसित: 4",
"info-translate-to-english": "इस विकल्प को सक्षम करके किसी भी भाषा से अंग्रेजी में अनुवाद करें",
"info-use-word-timestamps": "वाक्य टाइमस्टैम्प्स की बजाय शब्द टाइमस्टैम्प्स के साथ प्रतिलेख करें। JSON प्रारूप में उपयोगी।",
"install-now": "अब स्थापित करें",
"language": "भाषा",
"leftover": "शेष",
"light": "रोशनी",
Expand Down Expand Up @@ -90,7 +94,6 @@
"select-model": "मॉडल चुनें",
"select-theme": "चुनिंदा विषय",
"settings": "सेटिंग्स",
"setup-diarize-title": "मॉडल डाउनलोड करें",
"speaker-prefix": "वक्ता",
"speakers": "वक्ता",
"start-record": "रिकॉर्ड शुरू करें",
Expand Down
7 changes: 5 additions & 2 deletions desktop/src-tauri/locales/it-IT/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
"advanced": "Avanza",
"app-title": "Vibe",
"ask-for-download-model": "Vuoi scaricare il modello dal sito",
"ask-for-install-ytdlp-message": "Vuoi installare ytdlp utilizzato per scaricare audio da siti Web popolari?",
"ask-for-install-ytdlp-title": "Installa ytdlp",
"ask-for-relaunch-body": "Vuoi rilanciare ora?",
"ask-for-relaunch-title": "Aggiornamento completato",
"ask-for-setup-diarize": "Vuoi scaricare i modelli? (circa 20mb)",
"ask-for-update-body": "Vuoi aggiornare vibe alla versione {{version}}?",
"ask-for-update-title": "Conferma aggiornamento",
"cancel": "Stop",
Expand All @@ -25,10 +26,12 @@
"dark": "Scuro",
"diarize-threshold": "Soglia di riconoscimento dell'oratore",
"discord-community": "Discord",
"download-file": "Scarica l'audio",
"download-model": "Scarica modello",
"download-models-link": "Scarica modelli",
"downloading-ai-models": "Scaricando i modelli AI...",
"downloading-model": "Scaricando i modelli di OpenAI...",
"downloading-ytdlp": "Download di ytdlp",
"error-title": "Errore",
"files": "File",
"focus-window-on-finish": "Focus finestra",
Expand All @@ -51,6 +54,7 @@
"info-threads": "Utilizza più CPU per accelerare la fase di decoding; bilancia la velocità con l'utilizzo di risorse. Raccomandato: 4",
"info-translate-to-english": "Traduci la trascrizione in Inglese a partire da qualsiasi lingua",
"info-use-word-timestamps": "Transcrivi indicando i timestamp per ogni parola invece che per ogni frase. Maggiormente utile se abbinato al formato JSON.",
"install-now": "Installa ora",
"language": "Lingua",
"leftover": "rimanente",
"light": "Chiaro",
Expand Down Expand Up @@ -88,7 +92,6 @@
"select-model": "Seleziona modello",
"select-theme": "Seleziona il tema",
"settings": "Impostazioni",
"setup-diarize-title": "Scarica modelli",
"speaker-prefix": "Altoparlante",
"speakers": "Relatori",
"start-record": "Avvia registrazione",
Expand Down
7 changes: 5 additions & 2 deletions desktop/src-tauri/locales/pl-PL/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
"advanced": "Zaawansowane",
"app-title": "Vibe",
"ask-for-download-model": "Czy chcesz pobrać model ze strony internetowej",
"ask-for-install-ytdlp-message": "Czy chcesz zainstalować ytdlp, który służył do pobierania plików audio z popularnych stron internetowych?",
"ask-for-install-ytdlp-title": "Zainstaluj ytdlp",
"ask-for-relaunch-body": "Czy chcesz teraz ponownie uruchomić?",
"ask-for-relaunch-title": "Aktualizacja zakończona",
"ask-for-setup-diarize": "Czy chcesz pobrać modele? \n(około 20mb)",
"ask-for-update-body": "Czy chcesz zaaktualizować Vibe do wersji {{version}}?",
"ask-for-update-title": "Potwierdź aktualizację",
"cancel": "Anuluj",
Expand All @@ -25,10 +26,12 @@
"dark": "Ciemny",
"diarize-threshold": "Próg rozpoznawania mówcy",
"discord-community": "Discord Community",
"download-file": "Pobierz dźwięk",
"download-model": "Pobierz model",
"download-models-link": "Pobierz modele",
"downloading-ai-models": "Pobieranie modeli AI...",
"downloading-model": "Pobieram modele od OpenAI...",
"downloading-ytdlp": "Pobieram ytdlp",
"enable-logs": "Włącz dzienniki",
"error-title": "Błąd",
"files": "pliki",
Expand All @@ -53,6 +56,7 @@
"info-threads": "Zwiększ moc CPU dla szybszego dekodowania; zbalansuj prędkość z wykorzystanymi zasobami. Rekomendowane: 4",
"info-translate-to-english": "Włączenie tej opcji umożliwia tłumaczenie transkrypcji na język angielski z dowolnego języka.",
"info-use-word-timestamps": "Transkrypcja ze znacznikami czasu słów zamiast znaczników czasu zdań. \nPrzydatne w formacie JSON.",
"install-now": "Zainstaluj teraz",
"language": "Język",
"leftover": "pozostałości",
"light": "Światło",
Expand Down Expand Up @@ -90,7 +94,6 @@
"select-model": "Wybierz model",
"select-theme": "Wybierz Motyw",
"settings": "Ustawienia",
"setup-diarize-title": "Pobieranie modeli",
"speaker-prefix": "Głośnik",
"speakers": "Głośniki",
"start-record": "Rozpocznij nagrywanie",
Expand Down
7 changes: 5 additions & 2 deletions desktop/src-tauri/locales/pt-BR/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
"advanced": "Avançado",
"app-title": "Vibe",
"ask-for-download-model": "Gostaria de baixar o modelo do site",
"ask-for-install-ytdlp-message": "Deseja instalar o ytdlp, que é usado para baixar áudio de sites populares?",
"ask-for-install-ytdlp-title": "Instalar o ytdlp",
"ask-for-relaunch-body": "Deseja reiniciar agora?",
"ask-for-relaunch-title": "Atualização concluída",
"ask-for-setup-diarize": "Quer baixar modelos? \n(aproximadamente 20 MB)",
"ask-for-update-body": "Deseja atualizar o vibe para a versão {{version}}?",
"ask-for-update-title": "Confirmar atualização",
"cancel": "Cancelar",
Expand All @@ -25,10 +26,12 @@
"dark": "Escuro",
"diarize-threshold": "Limite de reconhecimento do alto-falante",
"discord-community": "Comunidade Discord",
"download-file": "Baixar áudio",
"download-model": "Baixar modelo",
"download-models-link": "Baixar modelos",
"downloading-ai-models": "Baixando modelos de IA...",
"downloading-model": "Baixando o modelo OpenAI....",
"downloading-ytdlp": "Baixando ytdlp",
"enable-logs": "Habilitar registros",
"error-title": "Erro",
"files": "Arquivos",
Expand All @@ -53,6 +56,7 @@
"info-threads": "Aumente a CPU para obter uma decodificação mais rápida; equilibre a velocidade com o uso de recursos. Recomendado: 4",
"info-translate-to-english": "Traduza a transcrição para o inglês de qualquer idioma ativando esta opção",
"info-use-word-timestamps": "Transcrição com carimbos de data e hora de palavras em vez de carimbos de data e hora de frases. \nÚtil no formato JSON.",
"install-now": "Instale agora",
"language": "Idioma",
"leftover": "Esquerda",
"light": "Luz",
Expand Down Expand Up @@ -90,7 +94,6 @@
"select-model": "selecione o modelo",
"select-theme": "Selecione o tema",
"settings": "Configurações",
"setup-diarize-title": "Downloads de modelos",
"speaker-prefix": "Palestrante",
"speakers": "caixas de som",
"start-record": "Iniciar gravação",
Expand Down
7 changes: 5 additions & 2 deletions desktop/src-tauri/locales/sv-SE/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
"advanced": "Advanced",
"app-title": "Vibe",
"ask-for-download-model": "Vill du ladda ner modellen från hemsidan",
"ask-for-install-ytdlp-message": "Vill du installera ytdlp som används för att ladda ner ljud från populära webbplatser?",
"ask-for-install-ytdlp-title": "Installera ytdlp",
"ask-for-relaunch-body": "Vill du starta om programmet nu?",
"ask-for-relaunch-title": "Updatering klar",
"ask-for-setup-diarize": "Vill du ladda ner modeller? \n(ca 20mb)",
"ask-for-update-body": "Vill du uppdatera Vibe till version {{version}}?",
"ask-for-update-title": "Bekräfta uppdatering",
"cancel": "Avbryt",
Expand All @@ -25,10 +26,12 @@
"dark": "Mörk",
"diarize-threshold": "Tröskel för högtalarigenkänning",
"discord-community": "Discord-gemenskap",
"download-file": "Ladda ner ljud",
"download-model": "Ladda ner modell",
"download-models-link": "Hämta Modeller",
"downloading-ai-models": "Laddar ner AI-modeller...",
"downloading-model": "Hämtar OpenAI Model...",
"downloading-ytdlp": "Laddar ner ytdlp",
"enable-logs": "Aktivera loggar",
"error-title": "Fel",
"files": "Filer",
Expand All @@ -53,6 +56,7 @@
"info-threads": "Increase CPU for faster decoding; balance speed with resource usage. Recommended: 4",
"info-translate-to-english": "Översätt transkription till engelska från valfritt språk genom att aktivera det här alternativet",
"info-use-word-timestamps": "Avskrift med ordtidsstämplar istället för meningstidsstämplar. \nAnvändbar i JSON-format.",
"install-now": "Installera nu",
"language": "Språk",
"leftover": "vänster",
"light": "Ljus",
Expand Down Expand Up @@ -90,7 +94,6 @@
"select-model": "Välj modell",
"select-theme": "Välj tema",
"settings": "Inställningar",
"setup-diarize-title": "Laddar ner modeller",
"speaker-prefix": "Högtalare",
"speakers": "Högtalare",
"start-record": "Starta inspelning",
Expand Down
Loading
Loading