Wifaq is a lightweight, Flask-based web application designed to calculate the Abjad numerical value of Arabic text and generate a mathematically aligned magic square (Wifaq) based on that value.
-
🎤 Calculates Arabic text numeric values using the Abjad system.
-
🥮 Generates appropriate magic squares:
- Odd, singly even, and doubly even square types.
-
📐 Auto-selects size and multiplier to match input total.
-
📱 RTL web UI in Arabic; responsive and mobile-friendly.
- Python 3
- Flask (Web Framework)
- HTML + CSS (for RTL layout and responsive design)
-
Clone the repository:
git clone https://github.com/TamerOnLine/tameronline-wifaq.git cd tameronline-wifaq -
Install dependencies:
pip install -r requirements.txt
-
Run the application:
python run.py
-
Open your browser:
Navigate to http://localhost:1010
-
Enter Arabic text into the input area.
-
Click احسب to compute the Abjad value and generate the corresponding Wifaq square.
-
View the results including:
- Numeric value.
- Magic square size and multiplier.
- Rendered square in a table format.
tameronline-wifaq/
├── README.md ← Project documentation
├── LICENSE ← Apache 2.0 License
├── requirements.txt ← Python package requirements
├── run.py ← Main Flask application
└── im/
└── Screenshot.png ← App UI screenshot
Licensed under the Apache 2.0 License.
- Tamer Hamad Faour
- GitHub: @TamerOnLine
