A web service to convert text files from Simplified Chinese to Traditional Chinese.
Built with modern web technologies for better performance and scalability:
- Next.js 14 with App Router
- OpenCC for Chinese text conversion
- Vercel Blob for file archiving
- TypeScript for type safety
- Bulma CSS for styling
- Drag-and-drop file upload
- Real-time conversion progress with SSE
- Multiple file processing with sequential downloads
- File validation (25MB limit, blocks non-text files)
- Automatic file archiving to Vercel Blob
- Character encoding detection
- Node.js 20+
- Vercel Blob token (for file archiving)
npm installCreate a .env file based on .env.example:
BLOB_READ_WRITE_TOKEN=your_vercel_blob_tokennpm run devOpen http://localhost:3000 in your browser.
npm run build
npm start# Unit tests
npm test
# E2E tests
npm run test:e2eThis application is optimized for deployment on Vercel:
- Connect your repository to Vercel
- Add
BLOB_READ_WRITE_TOKENto environment variables - Deploy
MIT License - see LICENSE file for details