Skip to main content

A Tinder bot SDK using Selenium and AI

Project description

TINDER-AI

❯ Build an AI dating bot

Selenium OpenAI
Python Poetry Pydantic


📌 Table of Contents


🚀 Overview

Tinder-AI is a Tinder bot SDK using Selenium with undetected Chromedriver. It provides:

  • Profile setup
  • Proxy support
  • Geolocation spoofing
  • Automated swiping
  • Chatbot integration (Openers & replies)

Use it to build your own AI dating assistant.


⚙️ Setup

Install the package

pip install tinder-ai

Copy the .env.example file to .env:

cp .env.example .env

Edit .env and fill in the required values.


🛠 Usage

Session: Set up a session

from tinder_ai import Settings, Session

settings = Settings()
messenger_service = MockMessengerService()
with Session(
	settings=settings,
	messenger_service=messenger_service
) as session:
	session.login(
		method=settings.get_login_method()
	)

Openers: Send a first message to all matches

session.handle_matches()

Replies: Auto-reply unread messages

session.handle_unread_messages()

Auto-Swiping: Swipe on profiles automatically

session.start_swiping()

Messenger Service

Option 1: Using an API

Plug in your own LLM service to use for messaging.

messenger_service = MessengerService(
	base_url="http://0.0.0.0:8080"
)
session = Session(
	settings=settings,
	messenger_service=messenger_service
)
Option 2: Using a custom class

Inherit from the base messenger class similar to the MockMessengerService

class MockMessengerService(BaseMessengerService):
    """A fallback implementation of the Messenger Service."""
    def generate_opener(self, profile: MatchProfile) -> MessageResponse:
        """Generate a default opening message."""
        return MessageResponse(message=f"Hi {profile.name} 😊!")

    def generate_reply(
        self,
        profile: MatchProfile,
        last_messages: Optional[List[Message]] = None
    ) -> MessageResponse:
        """Generate an empty reply."""
        raise NotImplementedError("Reply is not implemented")

⚠️ Disclamer

Automation is against Tinder's TOS.

This project is for educational purposes only. You are responsible for any consequences, including account bans or legal actions.


Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tinder_ai-0.1.2.tar.gz (22.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tinder_ai-0.1.2-py3-none-any.whl (27.3 kB view details)

Uploaded Python 3

File details

Details for the file tinder_ai-0.1.2.tar.gz.

File metadata

  • Download URL: tinder_ai-0.1.2.tar.gz
  • Upload date:
  • Size: 22.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.0 CPython/3.10.16 Linux/6.8.0-1021-azure

File hashes

Hashes for tinder_ai-0.1.2.tar.gz
Algorithm Hash digest
SHA256 2450bb7867120f8ec053af8e0e6b6fcbb984d926685a14b00fc9effef1b94a42
MD5 95a31fda308bf2139a8579e6044fe69a
BLAKE2b-256 6962a82779243e9a5bea046e2474b097b3bb0470cd1cde28759cb8ea01f40fc8

See more details on using hashes here.

File details

Details for the file tinder_ai-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: tinder_ai-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 27.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.0 CPython/3.10.16 Linux/6.8.0-1021-azure

File hashes

Hashes for tinder_ai-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7c2613f01ebaf4b68907d77ff3fed628652e1dad8ea7b29b6abae09278ea6641
MD5 a2fb57aa79df3149b17dc798a46310de
BLAKE2b-256 d923f8ea357f47653e04509ae3afeb97ae8135ce4029411f4a308560ce90a1d4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page