Skip to content

ObsidianRock/Oblivion-Chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Oblivion

  • Bi-directional Chat application
  • User Registration and login
  • Multiple rooms
  • Unique urls for each room
  • share and save room

Packages Used

  • Python Flask
  • Javascript
  • SocketIO & Flask-SocketIO
  • WTForms
  • SQLAlchemy
  • Postgresql Database
  • Rethinkdb Database

Getting Started

Install Packages

pip install virtualenv
virtualenv venv
source venv/bin/activate (for windows venv\Scripts\activate)
pip install -r requirements.txt

install server

Create Databases

Start rethinkdb server

python main.py rethinkDbSetup  (create Thinkdb database and tables)
python main.py shell
db.create_all()                (to create Postgresql database and tables)

Running Application

Start rethinkdb server

python main.py run

Stil Todo

  • The application is half way finished, taking a break to learn more technologies:

  • Delete messages after 24 hours - create a Celery task for this.

  • user Bleach to sanitize user input to make it more secure.

  • Fix up the hardcoded template responses which are inefficient and hard to maintain.

Demo

Register User and Login

link for gif

Adding new room and saving room

link for gif

Chat application

link for gif