Skip to content

Rajneeshkarya/PyTalk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Simple Python Chat Application

This is a simple command-line based chat application implemented in Python. It allows users to either create a chat room or join an existing one. The application uses sockets for communication between the client and server.

Features

  • Create a chat room
  • Join an existing chat room
  • Password protection for chat rooms

Requirements

  • Python 3.x
  • Standard libraries: argparse, socket

Usage

  1. Clone the repository:

    git clone https://github.com/Rajneeshkarya/PyTalk
    cd PyTalk
  2. Install the requirements

    pip3 install -r requirements.txt
  3. Run the chat application:

    python PyTalk.py -h

    This will display the available options and usage instructions for the chat application.

  4. Start a Chat Room:

    python PyTalk.py -c -p <port> -pwd <password>

    This command creates a chat room on the specified port with an optional password.

  5. Join a Chat Room:

    python PyTalk.py -j -i <ip_address> -p <port>

    This command lets you join an existing chat room by specifying the IP address and port.

Usage Examples

  1. To create a chat room:

    python PyTalk.py -c -p 12345 -pwd mypassword
  2. To join a chat room:

    python PyTalk.py -j -i 127.0.0.1 -p 12345

Contributing

Contributions are welcome! If you find any issues or have suggestions for improvements, feel free to open an issue or submit a pull request.

Note: This is a simple chat application for educational purposes. It may not be suitable for production environments and lacks advanced security features. Use it responsibly and at your own risk.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages