Giter VIP home page Giter VIP logo

chatbox's Introduction

ChatBox

ChatBox is a lightweight Python-built online chat server, It's currently under heavy development but will be ready soon, hopefully. Please, at this time - do not run this in production, the project simply is not ready yet and is not working completly.

Functionality is near-complete but has not been tried and tested compleatly, and a lot of functionaility is not available yet.

General Requirements

In order to run chatbox you will need

  • Python We are currently developing in Python 3.4.3
  • Flask Flask is the webserver
  • Flask-Sijax Sijax handles ajax for us
  • Sqlite3 Sqlite comes standard with python, so shouldn't need to be installed, we use it to manage our users and (soon) chat logs

users.db

Currently we are in development so we currently dont have a way of editing users inside of ChatBox, so you will have to use an editing program like Sqlitebrowser.

Log.log and Message.log

Log.log will contain all verbose information about the server, such as startup and shutdown. Message.log will contain only messages used by the server.

Running

To Run the server (currently with 'debug=True', which you should never do publically)

  • Install all requirements

    see above

  • Start ChatBox.py

    python ChatBox.py

  • You can then browse to 127.0.0.1(Along with your respective port, Default: 8888)

In the logfile.log, you should see some logs like so:

    <29-02-2016 22:22:57> [INFO] admin > Test
    <29-02-2016 22:23:01> [INFO] admin > Hello
    <29-02-2016 22:39:55> [INFO] The server was stopped by 'admin'

Known issues

Banning an IP is not yet functional
The chat function does not output to the chat page
Signing up doesn't add the user to the database
Banning an IP, removing a user, or banning a user outputs and ERROR: Functionality Incomplete.

chatbox's People

Contributors

aidancrane avatar jjr2000 avatar smudge-smiff avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  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.