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.3.tar.gz (22.5 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.3-py3-none-any.whl (27.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tinder_ai-0.1.3.tar.gz
  • Upload date:
  • Size: 22.5 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.3.tar.gz
Algorithm Hash digest
SHA256 60343fd19ff1b3cc835cf94ad8ccb1de235e2597a525b173dee84625fcda91e5
MD5 58938d750635cc6b394be268949cd402
BLAKE2b-256 9ed25a8d9a279b940d10d45ec49f19c7b51e0aafbd184692d2628babb2b273ae

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tinder_ai-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 27.4 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 e306cd6d802b72255b47c1fb4ca95a2a7bbfc0ae28271f304bec1a3abb0ac2a8
MD5 49c78582cb7fa541c88d9e07b03e908f
BLAKE2b-256 99034cfd2d6c1a22c56dfa7dab7e59f28bfdd90cb69204ca50aa35338ac6d44f

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