init: scripts diversos (crawlers, conversores, scrapers)

This commit is contained in:
2026-03-05 20:38:36 +00:00
commit 6ac6f4be2a
925 changed files with 850330 additions and 0 deletions

25
tts-generator/teste_quota.sh Executable file
View File

@@ -0,0 +1,25 @@
#!/bin/bash
# teste_quota.sh
# Author: Descomplicar® Crescimento Digital
# Link: https://descomplicar.pt
# Copyright: 2025 Descomplicar®
# Teste rápido com texto pequeno
echo "🧪 Testando com texto menor para verificar quota..."
# Carregar API Key do .env
if [ -f .env ]; then
export $(grep -v '^#' .env | xargs)
fi
if [ -z "$GEMINI_API_KEY" ]; then
echo "ERRO: GEMINI_API_KEY nao configurada!"
exit 1
fi
source venv/bin/activate
echo "🎤 Gerando áudio de teste..."
python gemini_tts_teste.py
echo "📁 Ficheiros gerados:"
ls -la *.wav 2>/dev/null || echo "Nenhum ficheiro WAV encontrado"