Skip to content

Chatfunky was an online social communication application that allows you to chat with other people who are available in chat room.

Notifications You must be signed in to change notification settings

smzeeshan91/chatfunky

Repository files navigation

Chatfunky: Live Chat | Free Text & Media Messages


Chatfunky is not only a web based chatting application but my first startup in which I failed badly in 2017.

 

I worked on this project from May 2016 till June 2017, put my best efforts and investments on it but failed to resolved bugs and targeting a reasonable audience. Therefore after 2 years of shutting down the project I am open sourcing its full code 

As the application grew, it gets very difficult for me to handle the application alone as I am individually supporting all things, designing, coding, testing, deployment, server configuration, marketing, social media presence, search engine optimization and mobile app as well.

Therefore now I am open sourcing this application to the World so that any developer can be benefited by its code and enhance it and try to resolve the bugs that I failed to do so.

Now come up to the technical part ;p

The application supports text based messaging, image sharing, and audio message of one minute maximum.

 

Technologies Used:

ASP.NET MVC 5

C#

HTML 5 / CSS 3 / Bootstrap 4 / JQuery 3

Microsoft SignalR (for web socket communication)

Microsoft Web Sockets (if SignalR drops)

HTML Compressor (for compressing HTML code at client side)

OWIN

MS SQL 2012

 

How to Use:


  • Web.config changes:
  1. Change Key "Domain" according to your hosting domain.
  2. Change Keys for "Email, Password, SMTPClient and Port" according to your desired ones.
  3. I have made custom errors "Off" so that if any error comes so you can see it directly. Therefore after setting up the project, you can turn custom errors off.

 

  • Sitemap.xml and Robots.txt
  1. There is an old live website url in both of these files, that you may change if you deploy it on live according to your domain.

 

  • Restoring Database
  1. There is a "CreateDB Script.txt" file in this project. Please create a blank Database with name "ChatfunkyDB" and then run this script to that database. It will create all tables and related stored procedures to the database automatically.

 

  • socket.js
  1. There is one file named socket.js under "Content/js" folder. This file is used by Microsoft.WebSockets.dll and pointing to the domain url to make connectivity to the socket server. Please change the domain url as yours.

 

Now after all of these settings you are good to go, just press f5 to run the project and then you will see a web socket (SignalR and core web socket) based chatting application. 

 

I used SignalR and Microsoft Web Socket in this application because during the development of this project I found that SIgnalR won't be able to maintain its connection if the internet speed drops to 200 kbps. Since my concern is to make the application reliable so that even the slowest speed user be able to chat without any interruptions. Therefore I resolve this issue by using Microsoft Web Sockets. After that the application will handle automatically if SignalR drops and make its connection with Microsoft Web Socket and continue to ping to server to get back the connection of SignalR. If internet speed raise again to achieve at least 500 kbps then it connects with SignalR again. Hence it automatically switch between SignalR and Microsoft Web Sockets and the user won't feel any interruption in this case.

 

About

Chatfunky was an online social communication application that allows you to chat with other people who are available in chat room.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published