Git Product home page Git Product logo

vue-websocket-chat-client's Introduction

Vue Chat client using websockets


Made with Vue.js, Vuex and Buefy

This is the client, use it with this server: https://github.com/tobiasbeuving/node-websocket-chatserver


Features

  • Connect supplying a username without a roundtrip, other connected users get notified
  • Chatroom: a 2D space where users are represented by an avatar (profile picture)
  • Create and delete chatrooms
  • Move from chatroom to chatroom
  • User list
  • Move avatar across the chatroom: click anywhere in the chatroom and the avatar moves (animates) to that position
  • Send and receive messages: messages are displayed in textballoons near the avatar in the chatroom, and also logged in a messagewindow
  • Whisper mode: click on another user to whisper a message in private
  • Change avatar: drop an image < 200kb directly from your system on your avatar to change it. The image gets sent to the server who in turn sends it to the other users
  • Connection indicator
  • Server side ping pong (so the server can verify if connections to the clients are still alive)
  • (custom) Client side ping pong (so the client can verify if it is still connected to the server)
  • Disconnect and notify other users
install dependencies
npm install
serve with hot reload at localhost:8080
npm run dev
build for production with minification
npm run build
build for production and view the bundle analyzer report
npm run build --report

vue-websocket-chat-client's People

Contributors

rustigano avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

vue-websocket-chat-client's Issues

Getting error with WebSocket connection

I am getting this error, can you help me ?

WebSocket connection to 'ws://localhost:3001/?username=Tobias' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED

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.