Skip to content

funkybob/aio-mini-chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

aio-mini-chat

A port of mini_chat to asyncio

This acutally has 1 fewer dependencies, and several fewer lines of code, than the already miniscule mini_chat.

Features

  • unlimited users
  • unlimited channels
  • per-channel topic
  • per-channel nicks
  • actions
  • private messages
  • nick completion on tab [appends a : if at start of line]
  • per-IP rate limiting
  • sanitised HTML
  • linkified URLs

QuickStart

Make sure you have Redis running, and listening on the default port.

$ virtualenv -p python3 achat
$ . achat/bin/activate
$ pip install -r requirements.txt
$ python chat.py

Now go to http://localhost:8080/#test

By changing the #fragment on the URL you change 'channels'.

About

A port of mini_chat to asyncio

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published