TAAFT
Free mode
100% free
Freemium
Free Trial
Deals
Create tool
Free mode
100% free
Freemium
Free Trial
  • Coder
    AI-powered Python code generator for efficient coding.
    Open
    871
    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

  • Please Don't Code
    Generate code for Arduino with our AI.
    Open
    13,506
    93
    3.5
    Released 1y ago
    Free + from $50/yr
  • Screenshot to Code
    Convert any screenshot or design to clean code.
    Open
    8,909
    18
    2.0
    Released 1y ago
    Free + from $15/mo
    No free option all models are behind a pay wall.
  • โžค QR Code AI โŒ˜
    Custom QR codes enhance brand engagement.
    Open
    6,816
    53
    3.6
    Released 2y ago
    Free + from $4/mo
  • Code Snippets AI
    Code Snippets AI is a next-gen AI-powered desktop app!
    Open
    5,816
    76
    4.5
    Released 2y ago
    Free + from $9/mo
  • Secuarden
    Secuarden is your LLM-powered, context-aware security co-pilot for code reviews.
    Open
    5,535
    9
    5.0
    Released 2mo ago
    Free + from $30
    This looks promising
  • AirCodum
    Control VS Code and code, right from your phone, with AI!
    Open
    33,992
    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.
  • Trag
    Review your pull request in minutes, not days
    Open
    10,224
    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,037
    25
    Released 2y ago
    Free + from $16/mo
  • ZeroPath
    AI-native SAST finding 2x more vulnerabilities with fewer false positives.
    Open
    9,309
    3
    Released 15d ago
    Free + from $200/mo
    9,010 zeropath.com
  • Codoki AI
    AI-powered code reviews that accelerate pull requests and improve code quality
    Open
    1,048
    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
    366
    7
    5.0
    Released 4mo ago
    Free + from $3.89
  • Code2Docs
    Transform your codebase into comprehensive, beautiful documentation automatically.
    Open
    2,828
    49
    Released 1y ago
    100% Free
  • QRDiffusion
    Stylish personalized QR codes with design options.
    Open
    6,769
    49
    4.4
    Released 1y ago
    Free + from $11/mo
  • AutoKT
    Code documentation generation for developers.
    Open
    5,631
    29
    5.0
    Released 2y ago
    Free + from $5/mo
  • UserWay
    Optimized code for accessible web products.
    Open
    13,200
    72
    4.0
    Released 2y ago
    Free + from $490/yr
  • CodeThreat
    Code analysis detects vulnerabilities.
    Open
    4,610
    38
    5.0
    Released 2y ago
    Free + from $32/mo
    Really impressed with CodeThreat! Itโ€™s great to have a free tool that detects both code vulnerabilities and library risks. The setup was smooth, and it fits well into CI/CD pipelines. Definitely worth checking out!
  • DocuWriter.ai
    AI-powered tools for Developers
    Open
    20,672
    420
    3.2
    Released 2y ago
    Free + from $29
    DocuWriter.ai has helped us to document all our codebase. And to understand old legacy code as well.
  • Coderview
    AI Tools to Help Anyone Applying or Hiring for Tech Roles
    Open
    2,234
    29
    5.0
    Released 8mo ago
    No pricing
    Absolutely love this tool! It helps me apply to jobs so quickly and is so easy to use

Other tools

Post
0 AIs selected
Clear selection
#
Name
Task