Skip to main content

Talky Messenger Documentation & Setup


Just created a chat app that runs in Node and Socket. the attempt was worthy.

Talky is a messenger app built with Node, Express, Socket, Angular & Bootstrap.
It's like a server-client structure. (But obviously not like the one we done at OS lab using shared memory). It has a broadcasting structure. Talky does not keep a log on chat. i.e., It doesn't have a memory or database. When we close the browser window, chat history is lost. There I also added a basic console, protected by a password, to send real-time notifications to active clients.

The name 'Talky' was suggested by a friend of mine. (hey, thank you for that. The fact is that I am not really good at naming...😝)

What if sometimes your college blocks WhatsApp? Try Talky.

(There is also a website on internet in the name of 'Talky' which has no connection with this one.)




Download Talky Messenger

To use Talky, all you need is 3 things:

  • Node server
  • Source code.
  • Three commands.


Node server.

Node is available for Windows, Linux, and Mac.
Installing node in Windows is pretty easy.
Visit : nodejs.org

If you guys need any help, here.

Source Code

Getting source code is easy. You have 2 options to download source code. Use Git / download zip file.
Both options are available on my github page.

Those who aren't familiar with git, look for the "download ZIP" button in this page.

Extract the zip at your convenient location.

Commands

  • Use the command: cd to change directory. Thus go to the extracted file location.
  • run this command: npm install
    • This will download necessary dependencies for the project. All you want to do is wait.
  • When the download is successfully finished, run the following command.
    • npm start
    • Now you should see listening on :3000

Good to Go

  • Now you are ready to use Talky.
    • open another command prompt and type ipconfig, and look for the IPv4 address.
    • Open chrome and go to http://your_IPv4_address:3000
  • You can use that address on any device that is connected to the same router.
  • Note: Some browsers in your phone may not be able to connect. I always prefer Google Chrome. 
Note: You can't use the names like "server" to login and chat. Because they are reserved for admin. The current password for  is : lovemelikeudo. When you login as admin, you can use that basic console to send notifications to active users.  You can change this password at /routes/index.js .



I'll be adding more on documentation on further requests...
If you are facing any password issues contact me.

If you found any other issues, post here or raise an issue on github.

Enjoy ;)

Comment your feels here..



Comments

  1. Replies
    1. Please elaborate what error you are receiving..
      ----
      Please note: This project was an experiment and it is no more maintained..

      Delete

Post a Comment

Popular posts from this blog

Repairing my keyboard gone wrong and then right.

Few months ago I tried to repair an old unused keyboard. I opened it cleaned and put everything back in place. But didn't work. Thinking it has met it's end-of-life, I gave it to my sister's daughter, 2 year old Komal. She went hard with it. Once she even thrown it. To my surprise, after a few throws, it's now working properly 🙆.

How to pass variables to res.render() in Node.js

I was trying to figure out how to render a view inside a view, as I was stuck with this issue. Horrible Effects of Misplaced Extensions ;) I was using Node.js platform with ejs template engine. My index.ejs file has an included header.ejs file. Everything works well except that I can't pass values to the variable status in header.ejs. Here is my abstract code... index.ejs header.ejs app.js The most funniest solution ever! The solution is as easy as this. Just remove .ejs extension from the include command. I spent at least an entire night to figure it out.