A Tinder bot SDK using Selenium and AI
Project description
TINDER-AI
❯ Build an AI dating bot
📌 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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tinder_ai-0.1.5.tar.gz.
File metadata
- Download URL: tinder_ai-0.1.5.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5107f7cde2dcbea87db01294996e4fc7f78143931811173ea7d95f327f32e92e
|
|
| MD5 |
79c1b5b36fb51d5f33f78df57e77acb4
|
|
| BLAKE2b-256 |
d265e648c4e943d61c734ac47361fd6a630430d62a8e41c5dbb54fe3847e4ed1
|
File details
Details for the file tinder_ai-0.1.5-py3-none-any.whl.
File metadata
- Download URL: tinder_ai-0.1.5-py3-none-any.whl
- Upload date:
- Size: 27.5 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9e21fcd445e6b4afa5bb849aa9df05c5ca0be7269ea843157722bdfe4343a2f5
|
|
| MD5 |
f7ae26ac7df31e4486ac9649954a7e0f
|
|
| BLAKE2b-256 |
bb813eb929b3649f9fc4a43bdb3724731aa872c7af49ba40ca3097689bf0dd1b
|