- Remove hardcoded TTS API key from app.py (major security vulnerability) - Add python-dotenv support for secure environment variable management - Create .env.example with configuration template - Add comprehensive SECURITY.md documentation - Update README with security configuration instructions - Add warning when TTS_API_KEY is not configured - Enhance .gitignore to prevent accidental commits of .env files BREAKING CHANGE: TTS_API_KEY must now be set via environment variable or .env file Security measures: - API keys must be provided via environment variables - Added dotenv support for local development - Clear documentation on secure deployment practices - Multiple .env file patterns in .gitignore 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
64 lines
580 B
Plaintext
64 lines
580 B
Plaintext
# Python
|
|
__pycache__/
|
|
*.py[cod]
|
|
*$py.class
|
|
*.so
|
|
.Python
|
|
venv/
|
|
env/
|
|
ENV/
|
|
.venv
|
|
.env
|
|
|
|
# Flask
|
|
instance/
|
|
.webassets-cache
|
|
|
|
# IDE
|
|
.vscode/
|
|
.idea/
|
|
*.swp
|
|
*.swo
|
|
*~
|
|
|
|
# OS
|
|
.DS_Store
|
|
.DS_Store?
|
|
._*
|
|
.Spotlight-V100
|
|
.Trashes
|
|
ehthumbs.db
|
|
Thumbs.db
|
|
|
|
# Node.js
|
|
node_modules/
|
|
npm-debug.log*
|
|
yarn-debug.log*
|
|
yarn-error.log*
|
|
|
|
# TypeScript
|
|
static/js/dist/
|
|
*.tsbuildinfo
|
|
|
|
# Temporary files
|
|
*.log
|
|
*.tmp
|
|
temp/
|
|
tmp/
|
|
|
|
# Audio files (for testing)
|
|
*.mp3
|
|
*.wav
|
|
*.ogg
|
|
|
|
# Local environment
|
|
.env.local
|
|
.env.*.local
|
|
.env.production
|
|
.env.development
|
|
.env.staging
|
|
|
|
# VAPID keys
|
|
vapid_private.pem
|
|
vapid_public.pem
|