Skip to content
View MoTechSys's full-sized avatar

Block or report MoTechSys

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Content in all repositories owned by your account will be closed.
Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. Markdown is supported. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
MoTechSys/README.md

بصيرة · Basira — deterministic verification of Quran & Hadith quotations. 150/150 evaluation, 0/500 false alarms, 78.54% IslamicEval 2025, 487 tests

basirapp.site · Repository · API docs · @BasiraCheckBot

How Basira works — engineering notes

Paste a post, an article, a chatbot answer or an image. Basira finds every quotation presented as Quran or Hadith, matches it byte-exactly against licensed, sha256-pinned corpora (71,987 records), shows the verbatim source next to the user's text with a letter-level diff, and returns one of four states. The language model only proposes positions and reads images — the deterministic engine decides. No generated religious text, no rulings, no storage.

Measured Result
Evaluation (150 cases, 13 categories incl. prompt injection, 3 repeats) 150/150, variance 0
False alarms on 500 verbatim corpus segments 0/500
IslamicEval 2025 · subtask 1B (dev) 78.54 %, only 2 / 100 wrong spans confirmed
Tests 345 backend · 110 bot · 32 frontend · mypy --strict

Corpus-anchored seed-and-extend detection (BLAST-style) · three-tier Arabic normalisation · numpy positional index (< 5 ms / quote over 4.5 M tokens) · BM25 + char-3-gram + RRF retrieval · windowed token-Levenshtein · harakat gate & rasm-uniqueness proof · 19 named safety invariants · validator that independently re-proves every “found” · determinism_hash on every response · REST, MCP server, Guard for chatbots, Telegram bot · one-command run.

Entry to the AI in Service of Islamic Content Challenge 2026 — Track 4 (knowledge & verification tools).


Selected work Selected work — platforms & systems, AI & security, offline-first apps

nexus-notify · scam2027 · motech-platform · Ai_Alabbasi · telegram-mcp-2 · my-bro · دفتر البقالة · Sijilati · electricity-billing · PWA

+ 9 more — tutoring platform, accounting, AI voice training, forensics lab, client websites
Project What it is Stack
Idhaat-Platform منصة إضاءات — live tutoring: live classes, protected 48-hour recordings, homework, messaging; installable PWA TypeScript · PWA
hesabati حساباتي — multi-business financial & accounting system with an Arabic UI TypeScript
ghaida غيداء — trains domestic workers in their own language with AI voice, video and tailored schedules TypeScript · Python
digital-forensics-lab Windows Registry, Event Log, Autopsy, FTK Imager, browser forensics — with real artifacts PowerShell
motech-cli One-command cross-platform agent (Windows / Linux / macOS, amd64 + arm64) Go
keif-aldiafa-web كيف الضيافة — production site for a Saudi hospitality business (CRO, SEO/GEO, PDPL compliance) Next.js · TypeScript
osoul-aldiafa-v2 أصول الضيافة — luxury hospitality website Next.js 14
royal-coffee-hospitality القهوة الملكية — Arabic hospitality site with a luxury identity, native RTL, high performance Hono · Cloudflare Pages
alabbasi-soft-site Official website of Alabbasi Tech, a software house in Sana'a Next.js 15

Live, auto-updated daily Languages, contributions and streak — generated daily from the GitHub API Contribution grid of the last 12 months, scanned like Basira verifies a quote



How I build

I work with frontier AI coding agents — Claude Opus 5.5 · Claude Fable 5.1 · GPT-6 Astra via Genspark — under strict engineering rules: every safety invariant has a named test, every number is measured and dated, every decision is recorded, and nothing ships without passing the gates.

Toolbox
  • Languages · Python · TypeScript · JavaScript · Dart · Go · SQL · PowerShell
  • Backend · FastAPI · Pydantic · Hono · Node.js · PostgreSQL · Drizzle · REST · Model Context Protocol (MCP)
  • Frontend & mobile · React 19 · Next.js · Vite · Tailwind CSS · Flutter · PWA · RTL / Arabic-first UX · accessibility (axe)
  • AI & NLP · Arabic text normalisation · information retrieval (BM25, n-grams, RRF) · fuzzy matching · LLM integration with constrained outputs · OCR pipelines · model benchmarking
  • Security · SOC with Wazuh SIEM · digital forensics (Autopsy, FTK Imager, registry & event logs) · secure remote access (SSH, NetBird mesh)
  • Quality & ops · pytest · vitest · Playwright · ruff · mypy strict · Docker · Caddy · GitHub Actions CI/CD · VPS deployment

Two accounts: @MoTechSys (main) · @moain2026 (systems, AI agents, client work).


بصيرة: تعرض أين وُجد النص… ولا تحكم عليه — Arabic-first · measured, not claimed

Popular repositories Loading

  1. Project-Basira Project-Basira Public

    بصيرة — تحقق حتمي من نصّ ومصدر اقتباسات القرآن والحديث قبل النشر · Deterministic Quran & Hadith quotation checker (exact match against pinned corpora, no generation, no rulings)

    Python 1

  2. S-ACM-Project S-ACM-Project Public

    نظام إدارة المحتوى الأكاديمي الذكي - Smart Academic Content Management System

    TypeScript

  3. osoul-aldiafa-v2 osoul-aldiafa-v2 Public

    أصول الضيافة V2 — Luxury Saudi hospitality website (Next.js 14). نسخة مطابقة منقولة من moain2026.

    TypeScript

  4. electricity-billing-pwa-v2 electricity-billing-pwa-v2 Public

    نظام فواتير الكهرباء V2 — PWA محلي بالكامل (IndexedDB), بدون سيرفر, جاهز للنشر على Vercel

    TypeScript

  5. keif-aldiafa-web keif-aldiafa-web Public

    كيف الضيافة — الموقع الرسمي | خدمات ضيافة وقهوجيين وصبابين في جدة والسعودية (Next.js 14)

    TypeScript

  6. electricity-billing-flutter electricity-billing-flutter Public

    JavaScript