Code Monkey home page Code Monkey logo

websocket_chat's Introduction

Websocket Chat

nodejs express socketiojs cryptojs jquery bootstrap

nodejs
"dependencies": {
"bufferutil": "^4.0.1",
"express": "^4.17.1",
"forever": "^3.0.2",
"socket.io": "^2.3.0",
"utf-8-validate": "^5.0.2"
}

install:

npm install

run:

npm start

website:

localhost:3000

Backgrounder

forever start server.js

说明

发送信息前,请输入密码,发送的消息使用密码进行AES加密后发送给服务器,服务器会将加密后的信息,转发给频道内所有的人,其他人收到信息后,需要密码才可以解密内容,如果密码不正确,则无法看到消息内容。

websocket_chat's People

Contributors

autopolit-app avatar

Watchers

 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.