/install hinge-liker
Hinge Auto-Liker
Automates Hinge swiping on an Android emulator. Uses Gemini vision to evaluate profiles, pick the best photo/prompt, and send witty comments.
Requirements
- Android emulator (AVD) with Hinge installed and logged in
adbin PATHGEMINI_API_KEYenvironment variable (Gemini 2.5 Flash recommended)- Python 3.8+
- Java (for Android emulator)
Setup (First Time)
- Install Android command line tools (via Homebrew:
brew install --cask android-commandlinetools) - Create an AVD:
avdmanager create avd -n HingePhone -k "system-images;android-34;google_apis;arm64-v8a" -d pixel_6 - Boot the emulator with a window, install Hinge from Play Store, and log in manually
- Set
GEMINI_API_KEYin environment
Running
# Set environment
export PATH="\x3Candroid-tools-path>/platform-tools:\x3Candroid-tools-path>/emulator:$PATH"
export GEMINI_API_KEY="your-key-here"
# Boot emulator (windowed for video, add -no-window for headless)
emulator -avd HingePhone -no-audio -no-metrics -gpu swiftshader_indirect &
# Wait for boot
adb wait-for-device
while [ "$(adb shell getprop sys.boot_completed 2>/dev/null | tr -d '\r')" != "1" ]; do sleep 2; done
# Launch Hinge
adb shell am start -a android.intent.action.MAIN -n co.hinge.app/.ui.AppActivity
sleep 10
# Optional: start screen recording
adb shell screenrecord --time-limit 300 /sdcard/hinge_session.mp4 &
# Run the liker
python3 scripts/hinge_android.py --likes 8 --user-desc "a 25yo tech guy in SF who's fit and active"
# Pull recording + kill emulator
adb shell pkill -INT screenrecord; sleep 3
adb pull /sdcard/hinge_session.mp4 ./recordings/session.mp4
adb emu kill
Script Options
| Flag | Default | Description |
|---|---|---|
--likes |
8 | Max likes per session |
--adb |
adb |
Path to adb binary |
--user-desc |
generic | Description of the user for AI matching |
Environment Variables
| Variable | Required | Description |
|---|---|---|
GEMINI_API_KEY |
Yes | Google Gemini API key |
GEMINI_MODEL |
No | Model name (default: gemini-2.5-flash) |
ADB_PATH |
No | Full path to adb binary |
HINGE_WORK_DIR |
No | Working directory for screenshots/logs |
Output
The script prints a session report to stdout with:
- Total profiles seen, liked, skipped
- For each profile: who they are, why it liked/skipped, the comment sent, which content was liked
JSON logs are saved to logs/ directory.
Scheduling as a Daily Cron
Set up via OpenClaw cron for daily automated runs. Key notes:
- Hardcode GEMINI_API_KEY in the cron payload — cron shells don't source ~/.zshrc
- Use
am startto launch Hinge, notmonkey(more reliable) - Compress videos before sending via iMessage (16MB limit):
ffmpeg -i input.mp4 -vcodec libx264 -crf 28 -preset fast -vf scale=720:-2 output.mp4
After Each Session
Send the user a text report including:
- How many profiles seen / liked / skipped
- For each liked profile: who she is, why the AI liked her, what comment was sent
- For each skipped profile: brief reason why
- Any errors (paywall, API failures, etc.)
- Video recording if available (compressed for messaging)
Troubleshooting
- Paywall/out of likes: Free likes reset ~24h after last batch. Schedule runs accordingly.
- Gemini empty responses: Increase
maxOutputTokens, check API key/quota. - Can't find buttons: Hinge UI changes periodically — check
find_all_hearts()andfind_skip_button()patterns. - Emulator crashes: Check disk space (
df -h), try-gpu swiftshader_indirect.
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install hinge-liker - 安装完成后,直接呼叫该 Skill 的名称或使用
/hinge-liker触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Hinge Auto-Liker 是什么?
Automated Hinge dating profile liker using Android emulator + Gemini vision AI. Scrolls through full profiles, analyzes attractiveness with AI, likes the bes... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 542 次。
如何安装 Hinge Auto-Liker?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install hinge-liker」即可一键安装,无需额外配置。
Hinge Auto-Liker 是免费的吗?
是的,Hinge Auto-Liker 完全免费(开源免费),可自由下载、安装和使用。
Hinge Auto-Liker 支持哪些平台?
Hinge Auto-Liker 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Hinge Auto-Liker?
由 MattttMan(@mattttman)开发并维护,当前版本 v1.0.0。