Skip to content

CLI chat server-client application. Multiple clients. Python, asyncio approach.

Notifications You must be signed in to change notification settings

martin-minarik/cli-chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CLI chat

Simple CLI chat server-client application written in Python.

This approach uses asyncio built-in package instead of sockets.

Multiple clients can join server and can use some user commands.

Requirements

  • Python 3.10 or higher
  • Click, python package for arguments
  • aioconsole, python package for asynchronous console

Server arguments

  • --host, ip address
  • --port, port

Client arguments

  • --host, host ip address
  • --port, port
  • --user, username

Client commands

  • /setname, set new username
  • /history, last n chat messages
  • /users, list of connected users