Giter Site home page Giter Site logo

flack's Introduction

Flack

Flack is a real-time messaging service using Flask and Socket.IO, similar in spirit to Slack. This project is a submission in CS50 web development course.

Description

Users are able to sign in flack with a display name, create channels (i.e. chatrooms) to communicate in, as well as see and join existing channels. Once a channel is selected, users will be able to send and receive messages with one another in real time. Also, users will be remembered if they closed and got back to flack.

Project Structure

  • application.py : Contains The Flask server.

  • layout.html : Containts the web pages layount markup.

  • index.html : The first page a user sees to enable them to sign in with a display name.

  • chat.html : chatrooms and messages markup.

  • index.js : Responsible for remembering the users when they get back.

  • chat.js : Contains most of the chat UI and functional logic.

  • helpers.js : Some helper functions that helped me.

Personal Touch

Users are able to delete their own messages in real-time.

Installation

Requires Python>=3.6

git clone https://github.com/A-Fayez/flack.git && cd flack
pip3 install -r requirements.txt
python3 application.py

Now the server is run locally, navigate to http://localhost:5000.

Further Improvements

  • using webpack or any bundler instead of using a CDN.
  • private chat rooms between users

flack's People

Contributors

a-fayez avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

flack's Issues

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.