Logo Lanfrica
  • Home
  • Atlas
  • Insights
  • Docs
  • Sign in

© 2026 Lanfrica. All rights reserved. All copyrights of the resources shown on the Lanfrica website belong to the original copyright holders, unless explicitly stated otherwise.

Oumarkei/el-motarjem-moroccan-darija-translator

Domain:

natural language processing

Record type:

tools
Creator:
Oum
Host:
El Motarjem is a specialized AI assistant for translating Moroccan Darija to English/French and vice versa. It can process both text and images (extract darija text from images and translate it) # El Motarjem 👨🏾‍🔬 - Moroccan Darija Translator Welcome to **El Motarjem**, your specialized AI assistant for translating Moroccan Darija to English/French and vice versa. Powered by Google's Gemini models, El Motarjem can handle both text and image inputs (via OCR). ## ✨ Features - **Text Translation**: Translate Darija phrases to English or French with context awareness. - **Image Translation**: Upload images containing Darija text, and El Motarjem will extract and translate it. - **Chat History**: Persist your conversations using a local SQLite database. - **User Authentication**: Secure login via Google OAuth (optional, configured in Chainlit). - **Streaming Responses**: Real-time feedback from the AI model. ## 🛠️ Prerequisites - Python 3.9 or higher - A Google Gemini API Key ## 🚀 Installation 1. **Clone the repository:** ```bash git clone github.com cd el-motarjem-moroccan-darija-translator ``` 2. **Create a virtual environment (recommended):** ```bash python3 -m venv darijaenv source darijaenv/bin/activate # On Windows use: darijaenv\Scripts\activate ``` 3. **Install dependencies:** ```bash pip install -r requirements.txt ``` ## ⚙️ Configuration 1. Create a `.env` file in the root directory: ```bash cp .env.example .env # If you have an example file, otherwise create one ``` 2. Add your environment variables to `.env`: ```env # Required for the AI Model GEMINI_API_KEY=your_google_gemini_api_key # Required for Chainlit Authentication & Persistence CHAINLIT_AUTH_SECRET=your_generated_secret # Optional: Google OAuth Configuration OAUTH_GOOGLE_CLIENT_ID=your_google_client_id OAUTH_GOOGLE_CLIENT_SECRET=your_google_client_secret ``` > **Tip:** You can generate a Chainlit secret by running `chainlit create-secret` in your terminal. ## 🏃‍♂️ Usage 1. **Initialize the database:** ```bash python init_db.py ``` 2. **Run the Chainlit application:** ```bash chainlit run chainlit_a …

Visit

github.com

Tasks

computer visionmachine translationoptical character recognition

Languages

Arabic, Algerian SpokenArabic, Moroccan Spoken

Similar

abdelhamidnfissi38/Moroccan-Darija-TranslatorMohammed-el-kassoiri/English-to-Darija-TranslatorAbdellahiBeddi/Darija-TranslatorriyadMtk/Darija-translatorsaharkh12/darija-translatorImaneBoughamza/darija-translator

abdelhamidnfissi38/Moroccan-Darija-Translator

# Moroccan Darija Translator Ce projet est une solution complète de traduction pour la **Darija mar

Mohammed-el-kassoiri/English-to-Darija-Translator

Neural translation system bridging English and Moroccan Darija using state-of-the-art NLP techniques

AbdellahiBeddi/Darija-Translator

# Darija Translator — LLM-powered RESTful Web Service A Jakarta EE REST API that translates text to

riyadMtk/Darija-translator

English to Moroccan Darija Translator is a seamless browser extension and JEE backend service that e

saharkh12/darija-translator

# 🌍 Darija Translator A full-stack LLM-powered RESTful Web Service that translates text to Moroccan

ImaneBoughamza/darija-translator

# Darija Translator: LLM-Powered RESTful Web Service An LLM-powered RESTful web service that transl