GithubHelp home page GithubHelp logo

srisivac / chatter Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dibs-devs/chatter

0.0 1.0 0.0 70 KB

A simple Chat App for Django based on channels and websockets

Python 45.41% CSS 12.73% JavaScript 19.74% HTML 21.93% Shell 0.19%

chatter's Introduction

Chatter

The master repository contains source for the reusable version of Chatter. If you want to test out what it looks like as a standalone app, switch to the development branch.

Django-based Chat app that supports group chat and real-time updates.

This app makes use of Django Channels 2 and uses Redis as the message broker.

This app is still in its alpha phase. We plan to improve it so it can be used as a package in other Django-based web apps.

Community support and ideas for improvement most welcome!

Python dependency: Python 3.5

The app needs Redis server to be running in the background to function properly.

Since Redis is natively available only for Unix systems, we can't support Windows.

Installation and first use

  • Clone this repository: git clone https://github.com/dibs-devs/chatter.git
  • Install required packages: pip install -r requirements.txt
  • Install Redis: [https://redis.io]
  • Run migrations: python manage.py makemigrations chat && python manage.py migrate
  • Create superuser for initial setup: python manage.py createsuperuser
  • Fire up Redis server: redis-server (this app is configured to communicate at 6379, the default port for Redis) important
  • Run the development server: python manage.py runserver
  • Go to localhost:8000/admin in a browser
  • Log in using the newly created superuser
  • Create as many more users as you want
  • Create rooms in which users can chat
  • Go to localhost:8000
  • Start chatting!

Unit tests haven't been setup for this package yet. Tests welcome!

Running list of features to add

  • Add a "Create Group" option
  • Notifications using django-notifications
  • Improve 'Seen by user x' functionality

chatter's People

Contributors

ishtiaque06 avatar dibs-devs avatar kkruto avatar

Watchers

James Cloos 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.