{
  "schemaVersion": "1.0",
  "updatedAt": "2026-11-27",
  "person": {
    "name": "Mahdi Elmi",
    "nameFa": "مهدی علمی",
    "title": "Full-Stack and Mobile Software Engineer",
    "titleFa": "مهندس نرم‌افزار فول‌استک و موبایل",
    "location": "Isfahan, Iran",
    "remote": true,
    "availability": {
      "openForWork": true,
      "primaryFocus": "freelance_and_contract",
      "summaryEn": "Available for freelance and contract projects",
      "summaryFa": "آماده همکاری پروژه‌ای و قراردادی"
    },
    "contact": {
      "email": "mahdi.azim.elmi@gmail.com",
      "github": "https://github.com/mahdiElmi",
      "linkedin": "https://www.linkedin.com/in/mahdi-elmi/",
      "websiteEn": "https://mahdi-elmi.pages.dev/",
      "websiteFa": "https://mahdi-elmi.pages.dev/fa/"
    },
    "resumes": {
      "en": "https://mahdi-elmi.pages.dev/resume/Mahdi_Elmi_Resume_EN.pdf",
      "fa": "https://mahdi-elmi.pages.dev/resume/Mahdi_Elmi_Resume_FA.pdf"
    },
    "education": "B.A. English-Persian Translation, Islamic Azad University of Isfahan (2019-2024)",
    "languages": [
      {
        "language": "Persian",
        "level": "Native"
      },
      {
        "language": "English",
        "level": "C1"
      }
    ]
  },
  "agentEndpoints": {
    "llmsSummary": "https://mahdi-elmi.pages.dev/llms.txt",
    "llmsFull": "https://mahdi-elmi.pages.dev/llms-full.txt",
    "careerJson": "https://mahdi-elmi.pages.dev/career.json"
  },
  "capabilities": [
    {
      "title": "Full-stack web apps and SaaS",
      "description": "End-to-end product engineering from PRD or Figma to deployed web application with clean schemas, auth, payments, and automated tests.",
      "deliverables": [
        "Next.js / TanStack / SvelteKit",
        "PostgreSQL, MongoDB, Convex",
        "Admin panels and billing"
      ]
    },
    {
      "title": "Native iOS and Android apps",
      "description": "Production cross-platform mobile apps in React Native and Expo integrated with custom backends, social sign-in, push reminders, and document flows.",
      "deliverables": [
        "React Native / Expo",
        "Apple & Google Auth",
        "End-to-end API integration"
      ]
    },
    {
      "title": "AI automation and media pipelines",
      "description": "Reliable automation systems combining Playwright crawlers, structured LLM extraction, semantic search, local OpenCV models, and FFmpeg workers.",
      "deliverables": [
        "Playwright + LLM/Zod",
        "Telegram & WhatsApp bots",
        "Async video & CV workers"
      ]
    },
    {
      "title": "Bilingual sites and self-hosted infra",
      "description": "Fast Persian/English RTL sites tuned for technical SEO alongside pragmatic Docker, Dokploy, VPS, S3, and Cloudflare setups you fully control.",
      "deliverables": [
        "Astro + RTL/LTR + SEO",
        "Docker, Dokploy, Hetzner",
        "Cloudflare & CI/CD"
      ]
    }
  ],
  "experience": [
    {
      "role": "Contract Full-Stack and Mobile Engineer",
      "company": "Dibino",
      "location": "Remote",
      "period": "Sep 2025 - Present",
      "summary": "Primary implementation engineer on a project-based engineering team shipping client products across mobile, web, AI pipelines, and self-hosted VPS infrastructure.",
      "highlights": [
        "Sole developer on Brand Center's production iOS/Android Expo app, Arman CNC's Snaker automation platform, Memory Gallery's AI media library, and Curation Lab.",
        "Primary engineer expanding Pilot Trax into a bilingual aviation training platform and maintaining Brand Center's NestJS/React/MongoDB stack."
      ]
    },
    {
      "role": "Full-Stack Developer",
      "company": "Poroshat Filter",
      "location": "Isfahan, Iran",
      "period": "Sep 2024 - Sep 2025",
      "summary": "Full-time engineer across modern and legacy enterprise ERP applications used daily by Sales, Purchasing, and Production teams.",
      "highlights": [
        "Eliminated ~90% of manual reporting with a Jira/GitHub KPI dashboard and reverse-engineered a ZKTeco biometric TCP protocol into a production Node.js service.",
        "Cut high-traffic MongoDB API latency by 40% average (up to 90% worst-case), migrated CRA to Rsbuild, and sped up CI/CD deploys by ~35%."
      ]
    },
    {
      "role": "Freelance Full-Stack Developer",
      "company": "Rastak Shipping",
      "location": "Remote",
      "period": "Spring 2024",
      "summary": "Solely developed and deployed a four-language corporate website and custom MDX CMS for an international shipping agency.",
      "highlights": [
        "Engineered full RTL/LTR support across English, Persian, Arabic, and Russian with NextAuth admin publishing, S3 uploads, and Liara cloud deployment."
      ]
    }
  ],
  "selectedWork": [
    {
      "id": "brand-center",
      "title": "Brand Center Ecosystem",
      "role": "Sole Mobile Dev / Primary Full-Stack Maintainer",
      "status": "In production",
      "period": "Jun - Nov 2026",
      "liveUrl": "https://bc.dibino.tech",
      "summary": "Solely built the native iOS and Android app in Expo and React Native with multi-currency wallets, ticket purchases and refunds, artist follows, reminders, and Apple/Google sign-in.",
      "impact": "Also modernized the React, NestJS, and MongoDB admin platform to shadcn/Tailwind v4, built a Sharp WebP media pipeline, and eliminated concurrent upload race conditions with atomic MongoDB updates.",
      "stack": [
        "React Native",
        "Expo",
        "NestJS",
        "React",
        "MongoDB",
        "Tailwind v4"
      ]
    },
    {
      "id": "pilot-trax",
      "title": "Pilot Trax",
      "role": "Primary Full-Stack Engineer",
      "status": "Rolling out",
      "period": "May - Nov 2026",
      "liveUrl": "https://pilottrax.net",
      "summary": "Expanded an early aviation quiz prototype into a bilingual exam and training platform with immutable attempt snapshots and adaptive weakness replay.",
      "impact": "Added a paid video Academy, PDF Library, Zibal/Zarinpal subscriptions, E6B flight calculator, live IRIMO/NOAA weather and Iran AIS NOTAM feeds, and full Playwright/unit test coverage.",
      "stack": [
        "Next.js",
        "TypeScript",
        "Prisma",
        "PostgreSQL",
        "S3",
        "Playwright"
      ]
    },
    {
      "id": "limak-fix",
      "title": "LimakFix",
      "role": "Sole Designer and Developer",
      "status": "Live production",
      "period": "Jul - Sep 2026",
      "liveUrl": "https://limakfix.com/en/",
      "summary": "Designed and shipped a bilingual Persian/English brand site with product comparison and a validated tile-adhesive quantity estimator.",
      "impact": "Engineered structured JSON-LD SEO, reciprocal hreflang routing, five-domain Cloudflare DNS redirects, and Google Search Console indexing fixes.",
      "stack": [
        "Astro",
        "TypeScript",
        "Tailwind v4",
        "Paraglide i18n",
        "Cloudflare"
      ]
    },
    {
      "id": "memory-gallery",
      "title": "Memory Gallery",
      "role": "Sole Implementation Engineer",
      "status": "Private build",
      "period": "Jun - Oct 2026",
      "liveUrl": null,
      "summary": "Private intelligent photo and video library built from a founder PRD with resumable media ingestion, multimodal Gemini semantic search, and AI episode album proposals.",
      "impact": "Built a local Python/FastAPI service running OpenCV YuNet and SFace for privacy-first face recognition, offline evaluation benchmarks, and self-hosted Convex deployment via Dokploy.",
      "stack": [
        "TanStack Start",
        "Convex",
        "Python",
        "FastAPI",
        "OpenCV",
        "Docker"
      ]
    }
  ],
  "systems": [
    {
      "id": "arman-snaker",
      "title": "Arman CNC / Snaker and Async Video Pipeline",
      "organization": "Contract via Dibino",
      "period": "Sep 2025 - Jul 2026",
      "ownership": "Sole architect and developer",
      "headline": "Replaced manual machinery catalog discovery, data entry, and multi-channel publishing with an end-to-end scraping, LLM extraction, and media pipeline.",
      "highlights": [
        "Built scheduled Playwright multi-site crawlers with pagination, deduplication, concurrency controls, and tested lifecycle logic for sold listings and reappearing auctions.",
        "Engineered schema-driven OpenAI and Zod specification extraction with token tracking, selective field filling, watermark removal with undo, and WooCommerce Cloudflare-timeout duplicate recovery.",
        "Integrated WordPress/WooCommerce, Notion, Telegram, WhatsApp, and a companion async yt-dlp/FFmpeg video transcoding worker with live WebSocket and Telegram progress updates.",
        "Migrated data from SQLite to PostgreSQL/Drizzle with row-count verification, moved object storage from self-hosted MinIO to managed S3, and operated the stack on Hetzner via Docker/Dokploy."
      ],
      "stack": [
        "SvelteKit",
        "Elysia",
        "Bun",
        "PostgreSQL",
        "Drizzle",
        "Playwright",
        "OpenAI",
        "FFmpeg",
        "Docker",
        "Dokploy"
      ]
    },
    {
      "id": "poroshat-erp",
      "title": "Poroshat Filter Enterprise ERP and Hardware Integration",
      "organization": "Poroshat Filter",
      "period": "Sep 2024 - Sep 2025",
      "ownership": "Full-Stack Developer",
      "headline": "Delivered measurable performance, automation, and hardware-integration wins across ERP systems serving Sales, Purchasing, and Production.",
      "highlights": [
        "Architected and rebuilt an internal team performance dashboard aggregating Jira and GitHub data (tRPC, React, Bun, MongoDB), cutting manual reporting effort by ~90%.",
        "Reverse-engineered a ZKTeco biometric attendance terminal's proprietary TCP protocol using Wireshark, C#, and Python to uncover its authentication flow, then shipped the production Node.js service.",
        "Parallelized database queries and restructured MongoDB aggregation pipelines, reducing high-traffic API response times by ~40% on average and up to 90% in worst-case paths.",
        "Led the Create React App to Rsbuild (Rspack) migration, moved GitHub Actions to Blacksmith (~35% faster deploys), and refactored legacy notifications (~80% fewer erroneous alerts)."
      ],
      "stack": [
        "NestJS",
        "React",
        "Hapi.js",
        "tRPC",
        "MongoDB",
        "Node.js",
        "C#",
        "Python",
        "Wireshark",
        "Rsbuild"
      ]
    },
    {
      "id": "dota-hidden-tide",
      "title": "Dota Hidden Tide Realtime Game Engine",
      "organization": "Personal / In Development",
      "period": "Jul 2026 - Present",
      "ownership": "Sole software developer",
      "headline": "Deterministic realtime multiplayer social-deduction platform with authoritative Cloudflare Durable Object match rooms and hidden-information-safe state projections.",
      "highlights": [
        "Isolated deterministic game rules, versioned rule definitions, commands, and reducers inside a framework-independent package with explicit clock and RNG inputs.",
        "Enforced allowlisted per-viewer projection schemas on the server so private roles, actions, and faction states cannot leak to clients.",
        "Built PartyServer/Durable Object rooms supporting up to 18 players plus a non-playing coordinator, with multi-tab reconnect control, Convex persistence, and Better Auth."
      ],
      "stack": [
        "React 19",
        "TanStack Start",
        "Convex",
        "Cloudflare Durable Objects",
        "PartyServer",
        "Better Auth",
        "Zod"
      ]
    },
    {
      "id": "dibino-breadth",
      "title": "Curation Lab, Dot Workspaces and Production Ops",
      "organization": "Dibino Client Ecosystem",
      "period": "Jul - Nov 2026",
      "ownership": "Sole / Primary engineer",
      "headline": "Additional specialized client tools spanning Chrome extensions, internal accounting/agency workspaces, AI content pipelines, and VPS operations.",
      "highlights": [
        "Curation Lab: Solely built a Chrome MV3 extension (WXT) + TanStack Router reader + Convex backend ingesting articles and IMAP newsletters via Mozilla Readability, Turndown, and OpenRouter scoring.",
        "Dot Accounting & Dot Media: Built typed Elysia + Eden + TanStack Router + Drizzle/PostgreSQL business workspaces with Better Auth, price history, Persian calendar views, and Grammy Telegram bots.",
        "AI Publishing & Procurement: Contributed pipeline quality gates to an automated RSS-to-WordPress AI writer and hardened Docker/Deepfy production releases for Poroshat Filter's AI supplier sourcing system."
      ],
      "stack": [
        "WXT Chrome MV3",
        "Elysia",
        "TanStack Router",
        "Better Auth",
        "Drizzle",
        "Grammy",
        "BullMQ",
        "Deepfy"
      ]
    }
  ]
}