4 Commits

Author SHA1 Message Date
copilot-swe-agent[bot]
f4abb3abef Fix build configuration and TypeScript errors for Railway deployment
Co-authored-by: ariavn-byte <151469489+ariavn-byte@users.noreply.github.com>
2025-11-15 23:16:54 +00:00
copilot-swe-agent[bot]
245f1c3941 Ready for Railway deployment
Co-authored-by: ariavn-byte <151469489+ariavn-byte@users.noreply.github.com>
2025-11-15 23:11:28 +00:00
Claude
8c76e1b518
feat: Prepare web app for Railway deployment
Backend Updates:
- Add lazy loading for Whisper model (faster startup)
- Use environment variables for port and config
- Add root endpoint for health checking
- Configure CORS for production
- Add tempfile support for uploads
- Update to support gunicorn production server
- Add Procfile for Heroku/Railway compatibility

Frontend Updates:
- Optimize Vite build configuration
- Add production build optimizations
- Enable minification and code splitting
- Configure preview server for production

Configuration:
- Add .env.example files for both frontend and backend
- Create railway.toml for Railway deployment
- Add Procfile for process management
- Setup environment variable templates

Documentation:
- Create comprehensive RAILWAY_DEPLOYMENT.md guide
- Include step-by-step deployment instructions
- Add troubleshooting section
- Include cost breakdown
- Add monitoring and maintenance guide

Dependencies:
- Add gunicorn for production WSGI server

Ready for Railway deployment with:
- Free $5/month credit
- Automatic scaling
- 24/7 uptime
- Custom domain support (optional)
2025-11-15 21:49:26 +00:00
Claude
22ddbf4796
feat: Create React web application with Figma design and Flask backend
Frontend:
- Initialize React 18 + TypeScript project with Vite
- Implement complete App.tsx matching Figma design
- Add dark/light theme toggle support
- Create file queue management UI
- Implement search with text highlighting
- Add segment copy functionality
- Create reusable UI components (Button, Progress, Input, Select)
- Configure Tailwind CSS v4.0 for styling
- Setup window resizing functionality
- Implement RTL support for Farsi text

Backend:
- Create Flask API server with CORS support
- Implement /transcribe endpoint for audio/video processing
- Add /models endpoint for available models info
- Implement /export endpoint for multiple formats (TXT, SRT, VTT, JSON)
- Setup Whisper model integration
- Handle file uploads with validation
- Format transcription results with timestamps

Configuration:
- Setup Vite dev server with API proxy
- Configure Tailwind CSS with custom colors
- Setup TypeScript strict mode
- Add PostCSS with autoprefixer
- Configure Flask for development

Documentation:
- Write comprehensive README with setup instructions
- Include API endpoint documentation
- Add troubleshooting guide
- Include performance tips

Includes everything ready to run with: npm install && npm run dev (frontend) and python backend/app.py (backend)
2025-11-13 08:03:09 +00:00