Arabizi-to-Arabic transliteration engine and Fcitx5 input method for Linux. A replacement for Microsoft Maren.
Type in Latin characters (Arabizi) and get Arabic script suggestions system-wide — in any application.
ezayak → إزيك
7abibi → حبيبي
3ala → على
salam → سلام
Try the interactive demo · Wiki
git clone https://github.com/mmaher88/laren.git && cd laren
./scripts/install.shThis installs dependencies, builds, installs, configures Fcitx5, and enables Laren automatically.
After install, switch to Laren with Ctrl+Space.
yay -S fcitx5-larensudo dnf config-manager addrepo --from-repofile=https://download.opensuse.org/repositories/home:/mmaher88:/laren/Fedora_$(rpm -E %fedora)/home:mmaher88:laren.repo
sudo dnf install fcitx5-larenDISTRO="xUbuntu_$(lsb_release -rs)" && \
sudo mkdir -p /etc/apt/keyrings && \
curl -fsSL "https://download.opensuse.org/repositories/home:/mmaher88:/laren/${DISTRO}/Release.key" \
| sudo gpg --dearmor --yes -o /etc/apt/keyrings/laren.gpg && \
echo "deb [signed-by=/etc/apt/keyrings/laren.gpg] https://download.opensuse.org/repositories/home:/mmaher88:/laren/${DISTRO}/ /" \
| sudo tee /etc/apt/sources.list.d/laren.list && \
sudo apt update && sudo apt install -y fcitx5-larenMint 22.x is based on Ubuntu 24.04. Use xUbuntu_24.04 directly:
DISTRO="xUbuntu_24.04" && \
sudo mkdir -p /etc/apt/keyrings && \
curl -fsSL "https://download.opensuse.org/repositories/home:/mmaher88:/laren/${DISTRO}/Release.key" \
| sudo gpg --dearmor --yes -o /etc/apt/keyrings/laren.gpg && \
echo "deb [signed-by=/etc/apt/keyrings/laren.gpg] https://download.opensuse.org/repositories/home:/mmaher88:/laren/${DISTRO}/ /" \
| sudo tee /etc/apt/sources.list.d/laren.list && \
sudo apt update && sudo apt install -y fcitx5-larenDISTRO="Debian_12" && \
sudo mkdir -p /etc/apt/keyrings && \
curl -fsSL "https://download.opensuse.org/repositories/home:/mmaher88:/laren/${DISTRO}/Release.key" \
| sudo gpg --dearmor --yes -o /etc/apt/keyrings/laren.gpg && \
echo "deb [signed-by=/etc/apt/keyrings/laren.gpg] https://download.opensuse.org/repositories/home:/mmaher88:/laren/${DISTRO}/ /" \
| sudo tee /etc/apt/sources.list.d/laren.list && \
sudo apt update && sudo apt install -y fcitx5-larensudo zypper ar https://download.opensuse.org/repositories/home:/mmaher88:/laren/openSUSE_Tumbleweed/home:mmaher88:laren.repo
sudo zypper refresh && sudo zypper install fcitx5-larenAfter installing, switch input method with Ctrl+Space and start typing in Arabizi.
Press Space or Enter to commit the top candidate, or a number key to pick one.
Arabic punctuation: ? automatically outputs ؟.
Emoji shortcodes: Type : to enter emoji mode, then a shortcode (e.g., :smile: → 😊, :heart: → ❤️). 2300+ GitHub/Discord-style shortcodes supported.
To configure: run fcitx5-configtool.
| Input | Arabic | Input | Arabic |
|---|---|---|---|
2 |
ء / ؤ / ئ / ق | sh |
ش |
3 |
ع | kh |
خ |
5 |
خ | gh |
غ |
7 |
ح | th |
ث / ذ |
8 |
ق | dh |
ذ / ض |
9 |
ص | ch |
تش |
Short vowels (a, i, u, e, o) are treated as optional to match Arabic's abjad writing system. See the wiki for the full mapping reference.
Laren uses a rule-based pipeline — no neural models, fully predictable and debuggable:
- Normalize — lowercase, collapse repeats, strip whitespace
- Expand — apply Arabizi rules to generate candidate Arabic forms
- Filter — look up candidates in a 375k-word Arabic dictionary (trie)
- Rank — score by word frequency, exact match, and recency
- Present — show top candidates for selection
See ARCHITECTURE.md for the full design.
cmake -B build -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=/usr
cmake --build build -j$(nproc)
cd build && ctest --output-on-failure