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

Uploaded Python 3

File details

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

File metadata

  • Download URL: tinder_ai-0.1.4.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.4.tar.gz
Algorithm Hash digest
SHA256 4759701f9902a203c108f77da6de19119731054d52c9e7123490bf0554ad0edc
MD5 2837c97462c4d0aaee5084e3cdeb918a
BLAKE2b-256 d63256c9f327fb6dfa9bc9648c4af755f1cdff04953e28a503d7be94978f314f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tinder_ai-0.1.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 6418597187d39a86c3ce4c6e80e64981c1dcc6940457b5fc9a87e0593b22fe10
MD5 b5da03ef790c2d2971d2e3d7e9c90955
BLAKE2b-256 8bfd41f9d8a8753b4db4cbf29fab803e4170920c1edf8e8e5228dc885c388bf4

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