Skip to content

OxMarco/AI-dating-helper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dating helper

Python ChatGPT MongoDB

Step up your dating game with a sprinkle of AI. Supports both Tinder and Grindr.

This AI-driven wingman is your secret weapon in the tumultuous world of online dating; whether you're juggling multiple conversations or just struggling to come up with that perfect icebreaker, this AI helper has got your back! It's like having a Cyrano de Bergerac in your pocket, but instead of a poetic Frenchman, it's a super-smart algorithm that knows just what to say to keep the conversation going.

Key features

  • AI-driven response generation
  • Seamless integration with Tinder and Grindr
  • Real-time messaging
  • Multi-threaded architecture to handle parallel conversations
  • Adaptive ai

header

Technical Overview

Tinder Module

The Tinder module of this application simplifies the process of interacting with potential matches on Tinder. Here's a breakdown of its technical components:

  • Message Processing Loop: The core of the Tinder module is a loop that continuously checks for new messages from matches where no reply has been sent yet. This loop ensures timely responses and helps maintain the flow of conversations.

  • AI-Driven Response Generation: Upon receiving a new message, the content is fed into an AI model designed to understand context and generate human-like responses. This AI uses advanced natural language processing techniques to ensure that each message is contextually relevant and personalised.

  • Response Delivery: Once the AI crafts a response, it is automatically sent back through Tinder's messaging system. This seamless integration maintains the continuity of the conversation.

Grindr Module

Grindr's real-time chatting system presents unique challenges, addressed as follows:

  • Main Listening Thread: The application starts a main thread that listens for incoming messages on Grindr. This thread is responsible for identifying new conversations and messages.

  • Daemon Threads for Conversations: For each active conversation, a daemon thread is spawned. These threads handle messages in parallel, ensuring real-time responses across multiple chats.

  • Human-like Interaction: To mimic human behavior, the application includes waiting times before sending responses. These delays are proportional to the length of the generated message, adding to the authenticity of the interaction.

  • Acknowledgments (ACKs): The system sends read receipts (ACKs) to Grindr's server, indicating that the messages have been read, further mimicking human behavior.

Notes on AI Integration

The AI component in both modules is the heart of the application. It utilises a blend of machine learning algorithms and natural language processing techniques to understand and respond to messages. The AI is trained on a diverse dataset, allowing it to handle a wide range of conversation topics and styles.

Example of AI Response Generation

Here's a simple example to illustrate how AI generates a response:

  1. Input Message: "Hey, I noticed you like hiking. Have you visited any cool trails lately?"
  2. AI Processing: The AI analyses key terms ("hiking", "visited", "trails") and the friendly tone.
  3. Generated Response: "Hi! Yes, I recently explored the Blue Ridge Mountains. The trails there are breathtaking. How about you? Any favorite hiking spots?"

macOS Users - Installation Note

For macOS users, specific steps are required to ensure compatibility when installing the SSL library for pycurl. This command can help install the correct backend for pycurl

Notice: users should adjust the openssl library version and path to match their local setup.

env PYCURL_SSL_LIBRARY=openssl 
LDFLAGS="-L/opt/homebrew/Cellar/openssl@3/3.2.0_1/lib" 
CPPFLAGS="-I/opt/homebrew/Cellar/openssl@3/3.2.0_1/include" pip install 
--no-cache-dir --compile --ignore-installed pycurl

Acknowledgments

This project would not have been possible without the foundational work provided by some remarkable repositories and their authors.

Both of these repositories have not only saved valuable development time but also provided deep insights and a robust framework to build upon.

Disclamer

This project, including its code and concepts, is presented as a funny PoC and is intended for educational and demonstrative purposes only. Users of this software are strongly advised against employing it in a manner that deceives or misleads other individuals on any dating platforms, including Tinder and Grindr users.