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.6.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.6-py3-none-any.whl (27.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for tinder_ai-0.1.6.tar.gz
Algorithm Hash digest
SHA256 20377ade76fbc7b71affbc26eb2dc6bd698f1af8d6386ebe701cea4cb661e5c9
MD5 e55534fdd1b6921d32ebe21fa285b51e
BLAKE2b-256 b5622db7d574c36298174cd6525685691d71112c1aaeee1c629b7f79fc364156

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for tinder_ai-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 bff74442dec890e6c8c4f63f44f62d7d2f97782a42983f5775a7b40d8071a7e8
MD5 27563f7b1382abaf93ca0c7b088863c1
BLAKE2b-256 103d627bc7222216b70d44c203dd9048ad8c3dc794e3111a7110adf3c48726a0

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