โผ Top rated
Ai coder
Free mode
100% free
Freemium
Free Trial
-
89291170Released 1y ago100% 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
-
Generate code snippets, functions, and components with AI assistance.Open65913Released 1mo agoFree + from $16/mo
OutreachGlue๐ 22 karmaOct 1, 2025@AskZyro | AI Code GeneratorGreat tool for helping with coding tasks. -
5,61127Released 10mo agoFree + from $19
Nice and simple tool. Not all generated images are perfect, but I like that you can simultaneously generate multiple covers in different styles. Every spin, I get at least a couple of beautiful ones.
Other tools
-
4684268Released 10mo ago100% Free
-
11,36574Released 2y ago100% Freebest coding site!! best thing: it's free and it's INFINITE!
-
2,69734Released 2y agoNo pricingThis is by far the best AI service for understanding your dreams. The AI is very, very clever and well trained. If you have your own brain to understand a chat session with it, this will be surpassing any biased human therapist out there. Thank you for creating and training DreamDecoder, one of the few service worth my money monthly without a blink. I rarely pay for SaaS'es, but when I do, it means it's totally worth all the pennies.
-
Generate tailored cover letters from resume and job description.Open2,31316Released 2mo agoFree + from $4.99It makes crafting professional, tailored cover letters quick and stress-free, helping you stand out with ease. Highly recommended for everyone! - Sponsor:Higgsfield AI - Video effects
-
2974874Released 11mo ago100% Free
-
3,82816Released 2y agoFree + from $6.99
-
6168Released 1y agoFree + from $24.99/mo
-
1,97018Released 2y ago100% FreeIt's a great AI assistant that have made my coding life so much easier.
-
1,32024Released 2y agoFree + from $5
-
Open3,44517Released 2y agoFree + from $11.99/mo
-
68019Released 1y agoFree + from $160/moItโs amazing to see what AI can achieve, but many tools fall short because they lack the structure needed to deliver exactly what users want. Thatโs not the case with Aire! This innovative AI-powered app-building tool can create fully functional apps for managing any type of organization or business in just minutes. It doesnโt stop at generating ideasโit builds a complete data model, including modules, fields, relationships, charts, dashboards, and user interfaces tailored to your specific business needs. Hereโs what sets Aire apart: Smart Prompt Builder: Aire includes a guided prompt builder that helps you create detailed, accurate prompts for better results. Customizable Scope: You can choose the size of your outputโsmall, medium, or largeโensuring your app fits your needs without unnecessary complexity. Step-by-Step Process: Aire divides app-building into modules, fields, and relationships, delivering each component separately. This speeds up the process and allows you to tweak individual parts without redoing the entire app. Manual Adjustments: At every step, you can manually customize your appโadd, delete, or modify modules, fields, and relationships. The AI integrates your changes seamlessly into the next steps. Field Configuration: Aire doesnโt just generate fields; it assigns field types (text, numbers, dropdowns, etc.) and even prepopulates dropdown options, which you can edit if needed. Intelligent Relationships: Mapping relationships between fieldsโlike one-to-one or one-to-manyโcan be a headache, but Aire handles it effortlessly, even explaining its rationale so you understand the logic. Automatic Charts: Aire generates a range of charts based on your data model. While some might need tweaking, the out-of-the-box charts save days of manual effort. Pages and Dashboards: The tool creates well-organized record pages, list pages, dashboards, and homepages. These layouts are highly functional and customizable, eliminating tedious setup work. Aire deploys apps to Corteza, an open-source low-code platform. While Corteza is incredibly powerfulโwith features like a workflow builder, API, and integration toolsโit requires technical knowledge for advanced tasks like creating workflows or integrations. For non-technical users, this might be a limitation, but Aire simplifies deployment by offering a shared hosted instance of Corteza. You can use this instance to edit your app, upload records, and make adjustments without diving into advanced configuration. For those who prefer self-hosting, Aire lets you export your appโs configuration files (its source code) to deploy on your own Corteza instance. This flexibility is a standout feature, and Aireโs team plans to introduce hosted Corteza instances soon, making deployment even more seamless. Looking ahead, Aire is developing an AI-powered process builder and connector builder, which will allow users to create automated workflows and integrate external data sources without relying on Cortezaโs advanced tools. Once launched, this will elevate Aire to a fully autonomous app-building platformโno technical expertise required. In summary, Aire is a trailblazer in AI-driven app development. Itโs fast, flexible, and packed with features that save users days of manual effort. Whether youโre a business owner, a tech-savvy developer, or somewhere in between, Aire is paving the way for the future of app-building. Donโt miss out!
-
1,10432Released 2y agoFree + from $49/mo
- Didn't find the AI you were looking for?
-
722274248Released 1mo ago100% FreeGreat tool! And totally free! Directly from haven
-
4,58233Released 3mo agoFree + from $10/moTraycer is so goddamn amazing, It gives an amazing plan which I can then simply feed into my Cursor, and then boom, I vibecode so easily. I've been using it for over 3 weeks now and its more than value for money Do not buy Cursor Alone, I'm building my startup with $20 Cursor Pro $25 Traycer Pro subscription
-
5,83576Released 2y agoFree + from $9/mo
-
2,70581Released 1y ago100% FreeA backend web on safety management of coal mines
-
20,5541,230Released 2y agoFree + from $5.99/moGreat! I think AI Lawyer is the best service I've ever seen. Perfect use. Prompting helps in the work
-
1,9639Released 2y ago100% Free
-
22,447109Released 3y agoFree + from $8/mo
-
4464870Released 1y ago100% Free
-
AI book cover designer that creates visually striking, genre-appropriate covers from your title.Open1595551Released 2mo ago100% FreeThe creativity in this one is great. It still messes up the words a little bit, but I noticed it seems to be a common thing with tools like this. Overall, itโs a fantastic option for cover design -
6,85153Released 2y agoFree + from $4/mo
-
994131Released 3mo ago100% FreeNot the best tool out there, but the generated images were interesting and good enough for sketching a first idea for how you want your future book cover to look like
-
1,58516Released 1y agoFrom $36.50
Post

