Logo Lanfrica

Wissal65/Darija-Translate

Domain:

natural language processing

Record type:

softwaretools
Creator:
Wis
Host:
Context-aware bidirectional translation between English and Moroccan Darija powered by Google Gemini AI, integrated directly into your browser. # 🌍 Darija Translate Chrome Extension Context-aware bidirectional translation between English and Moroccan Darija (Arabic Dialect) powered by Google Gemini AI, integrated directly into your browser. ## πŸŽ₯ Demo Video Watch Full Demo Video ## πŸ“Έ Screenshots ### Home Page ### Login Page ### Sign Up Page ### Translation Page ### Other Pages ## Features - 🌐 **Side Panel Integration** - Translate without leaving your current page - πŸ”„ **Bidirectional Translation** - English ⇄ Darija - πŸ€– **AI Context Detection** - Automatic context detection (casual, formal, medical, etc.) - πŸ”Š **Text-to-Speech** - Listen to translations in both languages - 🎯 **Right-Click Translation** - Translate selected text from context menu - πŸ” **Secure Authentication** - User sessions with JWT - βš™οΈ **Configurable API URL** - Connect to your backend deployment ### Tech Stack #### **Frontend (Chrome Extension)** - HTML5, CSS3, JavaScript (ES6+) - Chrome Manifest V3 - Side Panel API - Material Design Icons - Web Speech API #### **Backend** - Node.js 18+ - Express.js - Google Gemini API - bcrypt (password hashing) - JSON Web Tokens (JWT) #### **DevOps** - Docker & Docker Compose - Environment configuration ## πŸš€ Quick Start ### Prerequisites - Node.js 18+ installed - Chrome browser (latest version) - Google Gemini API key (Get one here) ### 1️⃣ Backend Setup ```bash # Clone repository git clone github.com cd darija-translate # Install dependencies cd backend npm install # Configure environment cp .env.example .env # Edit .env and add your GEMINI_API_KEY # Start server npm start ``` The backend will run on `localhost` ### 2️⃣ Docker Setup (Alternative) ```bash # Using Docker Compose docker-compose up -d # Or build manually docker build -t darija-translate-api . docker run -p 3000:3000 -e GEMINI_API_KEY=your_key darija-translate-api ``` ### 3️⃣ Chrome Extension Setup 1. **Load Extension** - Open Chrome: `chrome://extens …