A modern web application that converts Tunisian Arabic text between Latin and Arabic scripts, with support for both Tunisian dialect and Modern Standard Arabic (Fusha).
- 🔄 Bidirectional conversion:
- Latin to Arabic script (Tunisian dialect)
- Latin to Modern Standard Arabic (Fusha)
- 🌐 Bilingual interface (English/Arabic)
- 🔤 Smart number-to-letter conversion (3 → ع, 7 → ح, etc.)
- 📝 Recent conversions history
- 💾 Local storage persistence
- 🌙 RTL/LTR support
- 📱 Responsive design
| Latin Input | Tunisian Output | MSA Output |
|---|---|---|
| 3aslema | عسلامة | السلام عليكم |
| chneya 7alek? | شنية حالك؟ | كيف حالك؟ |
| taw nemchi lel dar | توا نمشي للدار | سأذهب إلى المنزل الآن |
- ⚡ Next.js 14 (App Router)
- 🔷 TypeScript
- 🎨 Tailwind CSS
- 🧩 Shadcn/UI
- 🤖 Claude AI API
- Node.js 18+
- An Anthropic API key
- Clone the repository:
git clone https://github.com/braiekhazem/tunisian-converter.git
cd tunisian-converter- Install dependencies:
npm install- Set up environment variables:
cp .env.exampleAdd your Anthropic API key to .env:
ANTHROPIC_API_KEY=your_api_key_here- Start the development server:
npm run devVisit http://localhost:3000 to see the app.
# Run development server
npm run dev
# Build for production
npm run build
# Start production server
npm start
# Run linter
npm run lintContributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Built with ❤️ for the Tunisian community
- Powered by Anthropic's Claude AI
- UI components from shadcn/ui