Coder Social home page Coder Social logo

chatapp's Introduction

PyConChat

Python Console Chat - A Python chat application featuring group conversations, file sharing and offline messaging.

Requirements

  1. Python 3

Instructions (Client)

  1. Open a terminal window in the directory containing client.py and run the following command:

python client.py localhost 8000

  1. Replace localhost with your IP and 8000 with a TCP port number of your choice.
  2. A prompt to enter a username will appear. Enter a username and press enter.
  3. Next, a prompt to enter a group name will appear. Enter a group name and press enter.
  4. If a group with the specified name does not exist, a new group is automatically created with the current user as admin. Otherwise, a join request is sent to the current group admin.
  5. Type anything to send a message or use the following commands:
Command Behaviour
/1 View pending join requests**
/2 Approve pending join requests**
/3 Disconnect
/4 View all group members
/5 View online group members
/6 Transfer adminship**
/7 View group admin
/8 Kick member**
/9 Send a file to group
** = Admin only action

Instructions (Server)

  1. Open a terminal window in the directory containing server.py and run the following command:

python server.py localhost 8000

  1. Replace localhost with your IP and 8000 with a TCP port number of your choice.
  2. The server console will display logs for:
    1. New group creation
    2. User connection
    3. User disconnection
    4. User kick
    5. Admin transfer
    6. Join request
    7. Join request approval
    8. File transfer

Features

  • File sharing
  • View online group members
  • View all group members
  • Transfer admin privilege
  • Kick members
  • View group admin
  • If a user enters a group name which does not exist, a new group with the user as admin is automatically created.

Upcoming

  1. Offline Messages
  2. Password authentication

chatapp's People

Contributors

ambrose280 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.