Skip to content
View taha-rafi's full-sized avatar
🎯
Focusing
🎯
Focusing

Block or report taha-rafi

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
taha-rafi/README.md

👋 Hi there, I'm Taha Rafi

Senior Software Engineer & Technical Lead • Distributed Systems Architect

Specialized in PHP / Laravel, Python, Biometric Hardware Protocols, Algorithmic Trading Systems, Enterprise Architecture (ERP/TMS/CRM/HRMS), & GenAI Applications

Website Packagist LinkedIn Twitter/X Email Profile Views


👨‍💻 About Me

  • 🏢 Technical Lead at MDK Corporation Japan: Spearheading enterprise platform modernization using Laravel, React.js, and Oracle DB, alongside building high-throughput CRM and automated multi-database synchronization pipelines.
  • ⚡ Engineering Leadership: Architected, deployed, and scaled 25+ production-grade enterprise systems across fintech, logistics, e-commerce, and SaaS.
  • 📦 Open-Source Creator (taha-rafi/php-zkteco v2.0): Reverse-engineered ZKTeco's MIPS32 firmware (standalonecomm) to build the first and only ZKTeco library capable of writing attendance punches directly into physical ZKTeco hardware ATT_LOG memory (CMD_SET_DATA 3001), selective hardware log deletion (CMD_TIME_ATTLOG_DELE 10005), Dual-Protocol TCP + UDP socket engine, native MakeKey CommKey authentication, built-in ADMS / iClock Cloud Push Server, and real-time HMAC-SHA256 Webhooks.
  • 📈 Quantitative Trading & Web3: Developer of Apex Algo Trader — Autonomous algorithmic trading engine for Hyperliquid Perpetual DEX with risk management & sub-second execution.
  • 🕷️ Data Engineering & Automation: Engineered high-throughput scraping pipelines & automated data extraction tools (USPTO Trademark Registries, Craigslist, marketplace pricing) with anti-bot bypass & concurrent worker pools.
  • 🌐 Personal Website: Check out my case studies, interactive tools, and technical articles at taharafi.com (Contact: connect@taharafi.com).
  • 🎯 Core Domains: Enterprise ERP • Biometric Protocols (TCP/UDP/ADMS) • SaaS TMS • Web Scraping & ETL • Algorithmic Trading • HRMS & Payroll • POS • GenAI Tools • REST & WebSocket APIs

🚀 Flagship Open-Source Package: taha-rafi/php-zkteco v2.0

Latest Stable Version Total Downloads GitHub Stars License

composer require taha-rafi/php-zkteco
  • ⚡ Direct Hardware ATT_LOG Writer (CMD_SET_DATA = 3001): Write Check-In / Check-Out attendance punches directly into the physical ZKTeco machine's internal SQLite database (markAttendance(), writeAttendanceToDevice(), pushAttendance()).
  • 🗑️ Selective Hardware Deletion (CMD_TIME_ATTLOG_DELE = 10005): Delete specific attendance logs by time range (deleteAttendanceByTimeRange()) without wiping the entire machine.
  • 🔌 Dual-Protocol Socket Engine (auto, tcp, udp): Full native ZKTeco TCP framing (\x50\x50\x82\x7d) with automatic UDP fallback and 100% native MakeKey Comm Key authentication (CMD_AUTH 1102).
  • ☁️ ADMS / iClock Cloud Push Server & HMAC-SHA256 Webhooks: Built-in AdmsServer (POST /iclock/cdata), outbound postAttendance() cloud sync with incremental cursor deduplication, and real-time listenRealTime() (CMD_REG_EVENT 500) webhook dispatcher.

🛠️ Tech Stack & Skills

Backend & APIs PHP Laravel Python Django REST API Sockets WebSockets
Databases & Caching MySQL Oracle PostgreSQL Redis SQLite
Frontend & UI TypeScript JavaScript Vue React Tailwind Ant Design Bootstrap
Data & Scraping Web Scraping Selenium BS4 Data Export Anti-Bot PyInstaller
Cloud, AI & DevOps Docker AWS Gemini AI CI/CD Linux Git

🌟 Featured Projects & Open-Source Highlights

Project Tech Stack Highlights
🔐 php-zkteco v2.0 PHP 8.x, TCP/UDP Sockets, ADMS, Webhooks World's first ZKTeco library with Direct Hardware ATT_LOG Attendance Writer (CMD_SET_DATA 3001), selective log deletion, Dual TCP/UDP engine, native CommKey auth, ADMS Push Server & HMAC-SHA256 Webhooks.
📊 Apex Algo Trader Python, Hyperliquid DEX, Algo Trading Autonomous algorithmic trading bot for Perpetual DEX with real-time WebSocket market feeds, leverage risk controls & order routing.
🏛️ USPTO Trademark Intelligence Engine Python, TSDR & ODP APIs, OpenPyXL Dual-tier USPTO trademark data pipeline with live serial discovery, daily bulk XML processing, contact enrichment & safe XLSX/CSV export.
🔍 Craigslist Lead Intelligence & Automation Python, Selenium, CapSolver, BS4 High-throughput search scraper & contact reveal pipeline with automated captcha solving, multi-worker concurrency & spreadsheet generation.
🎬 ShortGenie React, TypeScript, Google Gemini AI AI-powered automated video studio creating viral short-form scripts, visual scene prompts & synchronized audio narratives.
🚗 Car Rental Management System Python, Django 4, Bootstrap 5 Full-scale vehicle fleet rental management platform with automated reservations, pricing engines & customer KYC portals.
🖋️ Writerifly AI & Admin Suite Laravel, Vue 3, Ant Design SaaS admin dashboard featuring AI content workflows, Stripe subscriptions, dynamic charts & fine-grained RBAC permissions.
🏢 MDK Japan Enterprise Platform Laravel, React.js, Oracle DB High-scale corporate web portal revamp for MDK Corporation Japan with real-time CRM & automated multi-database syncing.
👗 Sofia Fashion Rental Suite PHP, Laravel, Scraping Engine Multi-module fashion rental ecosystem with peer-to-peer customer portal, merchant backoffice & multi-marketplace price scrapers.
🚛 Multi-Tenant SaaS TMS PHP, TypeScript, MySQL Cloud Transport Management System handling vehicle fleet dispatching, live trip tracking & client invoice reconciliation.

📊 GitHub Analytics & Repository Metrics

GitHub Profile Details
GitHub Stats Top Languages Repos Per Language

Let's build something extraordinary.

Available for technical leadership, enterprise systems consulting, and scalable software architecture.

Website Email LinkedIn Twitter

Pinned Loading

  1. php-zkteco php-zkteco Public

    🚀 Pure Native PHP 8.x ZKTeco Biometric Library: Direct Hardware ATT_LOG Writer (CMD_SET_DATA 3001), Selective Deletion, Dual TCP/UDP Socket Engine, CommKey Auth, Cloud POST Sync, ADMS Push Server &…

    PHP 1

  2. hamzar98980/Plans-property hamzar98980/Plans-property Public

    JavaScript 2