TAAFT
Free mode
100% free
Freemium
Free Trial
Deals
Create tool
  • Coder
    AI-powered Python code generator for efficient coding.
    Open
    877
    87
    4.2
    166
    Released 1y ago
    100% Free
    **Simple Chat Application using Python** ===================================== Here is a simple code for a chat application using Python: **Server Side (chat_server.py)** ```python import socket import threading HOST = '127.0.0.1' PORT = 9090 server = socket.socket(socket.AF_INET, socket.SOCK_STREAM) server.bind((HOST, PORT)) server.listen() clients = [] nicknames = [] def broadcast(message): for client in clients: client.send(message) def handle(client): while True: try: message = client.recv(1024) broadcast(message) except: index = clients.index(client) clients.remove(client) client.close() nickname = nicknames[index] broadcast(f'{nickname} left the chat!'.encode('ascii')) nicknames.remove(nickname) break def receive(): while True: client, address = server.accept() print(f"Connected with {str(address)}") client.send('NICK'.encode('ascii')) nickname = client.recv(1024).decode('ascii') nicknames.append(nickname) clients.append(client) print(f'Nickname of the client is {nickname}!') broadcast(f'{nickname} joined the chat!'.encode('ascii')) client.send('Connected to the server!'.encode('ascii')) thread = threading.Thread(target=handle, args=(client,)) thread.start() print("Server Started!") receive() ``` **Client Side (chat_client.py)** ```python import socket import threading HOST = '127.0.0.1' PORT = 9090 client = socket.socket(socket.AF_INET, socket.SOCK_STREAM) client.connect((HOST, PORT)) def receive(): while True: try: message = client.recv(1024).decode('ascii') if message == 'NICK': client.send(nickname.encode('ascii')) else: print(message) except: print("An error occurred!") client.close() break def write(): while True: message = f'{nickname}: {input("")}' client.send(message.encode('ascii')) nickname = input("Choose a nickname: ") receive_thread = threading.Thread(target=receive) receive_thread.start() write_thread = threading.Thread(target=write) write_thread.start() ``` **How to use:** 1. Run the `chat_server.py` script in a separate terminal or command prompt. 2. Run multiple instances of the `chat_client.py` script in separate terminals or command prompts. 3. Each client will be prompted to enter a nickname. 4. Clients can send messages to each other by typing and pressing enter. Note: This is a very basic implementation and you may want to add more features such as error handling, encryption, and more.

Featured matches

Verified tools

  • Kilo Code
    AI-powered coding assistant for VS Code
    Open
    22,841
    143
    4.7
    Released 6mo ago
    #33 in Trending
    4,187 kilocode.ai
    >Why is this website so ugly? Our goal is to rapidly make the software better, not to have a shiny website. Love it!
  • TattooCoverUp.AI
    Transform unwanted tattoos with AI-generated cover-up designs.
    Open
    275
    7
    5.0
    Released 12d ago
    Free + from $9/mo
  • Baloon.dev
    Assign Jira tickets directly to Cursor agents and get PRs and Previews.
    Open
    2,018
    5
    Released 2mo ago
    Free + from $15/mo
    1,383 baloon.dev
  • Secuarden
    Secuarden is your LLM-powered, context-aware security co-pilot for code reviews.
    Open
    5,700
    9
    5.0
    Released 3mo ago
    Free + from $30
    This looks promising
  • Artifact Bin
    Craft, discover, and share AI-generated code artifacts
    Open
    2,612
    16
    Released 1y ago
    From $99/mo
  • Trag
    Review your pull request in minutes, not days
    Open
    10,250
    70
    4.0
    Released 1y ago
    Free + from $20/mo
    Helps a lot and saves us time with PR review - great cozy tool!
  • Swimm
    Enhances code doc and team collaboration.
    Open
    7,052
    25
    Released 2y ago
    Free + from $16/mo
  • ZeroPath
    AI-native SAST finding 2x more vulnerabilities with fewer false positives.
    Open
    9,433
    3
    Released 20d ago
    Free + from $200/mo
    9,110 zeropath.com
  • Codoki AI
    AI-powered code reviews that accelerate pull requests and improve code quality
    Open
    1,071
    25
    4.7
    Released 1mo ago
    Free + from $12.50/mo
    I signed up for early access and have been using codoki for a few months now, eventually brought it into my team as well. Great tool, simple to use, not overwhelming and has caught things in a way thats actually digestible
  • CoverSentry
    AI-proof your cover letter instantly
    Open
    368
    7
    5.0
    Released 4mo ago
    Free + from $3.89
  • AirCodum
    Control VS Code and code, right from your phone, with AI!
    Open
    34,869
    75
    4.5
    Released 7mo ago
    100% Free
    Really handy app, lets me control Virtual Studio Code from my phone, send over code or files in seconds, and even use voice commands.
  • Code2Docs
    Transform your codebase into comprehensive, beautiful documentation automatically.
    Open
    2,851
    50
    Released 1y ago
    100% Free
  • Please Don't Code
    Generate code for Arduino with our AI.
    Open
    13,540
    93
    3.5
    Released 1y ago
    Free + from $50/yr
  • Screenshot to Code
    Convert any screenshot or design to clean code.
    Open
    8,926
    18
    2.0
    Released 1y ago
    Free + from $15/mo
    No free option all models are behind a pay wall.
  • PowerDreamer AI Cover Letter Generator
    Tailored cover letters for each job opening in seconds
    Open
    2,179
    28
    1.0
    Released 1y ago
    From $14.99/mo
    Heya Francesco, could you provide more info pretty please? What button exactly?

Other tools

Post
0 AIs selected
Clear selection
#
Name
Task