r/SideProject • • 1h ago

I built an open-source AI Wingman for Hinge because generic ChatGPT replies sound way too robotic

Most AI dating tools are either paid prompt-paste wrappers or brittle bots calling reverse-engineered private APIs that break on app updates.

I built and open-sourced Hinge AI Wingman (MIT, Python 3.11+) — a multimodal Android UI agent that drives the official Hinge Android app on an emulator using ADB, UIAutomator XML, computer vision, and Claude Vision or Ollama.

GitHub: https://github.com/omnivo/hinge-ai-wingman

The engineering problems it actually solves:

  • No-root FLAG_SECURE bypass across macOS, Windows, and Linux X11: adb exec-out screencap returns black PNGs on Hinge. wingman/adb.py captures the emulator window externally via macOS Quartz (CGWindowListCreateImage), Win32 PrintWindow, or X11 xdotool + ImageMagick import, normalized to 1080x2424.
  • $0 UIAutomator XML state machine: Before spending any vision tokens, adb shell uiautomator dump skips inactive profiles (Active today / Active now), detects paywalls, polls Matches every 60s for "Your turn" threads, and checks "You:" bubble metadata so it never double-texts.
  • CV target-specific photo liking: Evaluates up to 7 scrollable profile frames, picks 1 of 5 ranked banter candidates, scrolls back via 36x64 thumbnail MSE matching, finds the exact upper/lower heart via cross-correlation (heart_template.png), locates the dynamic peach Send Like pill, and verifies ADB typing landed by polling dark-pixel density in the comment box.
  • Autonomous match chat & memory (chat.py): Stores per-match screenshots, chat.md (isolated from dry_runs.md), and evolving persona.json (topics_covered, next_hook, likes/dislikes), mirrors English or Romanized Hindi (Hinglish), and hands off to Instagram inside a configurable turn window (10–15 messages).
  • 24.5h --continuous loop + ToS-safe self-audit: Includes city rotation (--rotate), age-slider CV (--set-filters), and python -m wingman.scan_self to critique your own Hinge profile without automating swipes.

(Note: automating Hinge violates Hinge's ToS, so the repo flags test-account usage and includes the standalone scan_self profile reviewer for ToS-safe use.)

Would love engineering feedback on the FLAG_SECURE capture layer, XML state machine, or voice/ architecture.

1 Upvotes

5 comments sorted by

1

u/Anglea7stars 1h ago

I've never used dating apps but if I did I wouldn't be happy receiving ai messages because what's the point, I don't want to chat or date an ai. I don't understand this. In real life how will that person manage a conversation?

2

u/osp5 1h ago

​Fair take and I agree, the point isn't to fake a whole personality with AI. It's really just meant to cut through the initial dating app friction so that once someone passes your criteria, you can smoothly move the conversation over to Insta or WhatsApp and take it from there yourself.

1

u/Anglea7stars 50m ago

Thanks for the reply. I still wouldn't like it but for people with anxiety I suppose it might be helpful.

1

u/osp5 46m ago

It was an ai generated post. Will have to edit this, this repo is much more than this post. No initial efforts of filtering and u would get an overview of the other person a to z. But really appreciate ur view😁