Code Monkey home page Code Monkey logo

websocketchat's Introduction

WebSocketChat

Web and Websocket Server example for Android. Tested on Android 8.1 (API 27). Allows you to open a web server to serve an Angular 6 app. Then, opens a Websocket server to comunicate with the app in real time through an easy-to-use Chat App.

Server

It uses NanoHttpd for the Webserver, and Java-WebSocket for the WebSocket Server. It has a very simple layout and it's pretty easy to use. Just write your username and then start the server.

Client

The client app is made with Angular 6 and Angular Material. It's stored on the assets folder in the android app. It's also really easy to use, only username and login. That's it.

Features

  • Easy to use!
  • Client device can be an Android, iOS or any other device that has a browser (tested on Chrome and Safari).
  • Multi-client Support!
  • Easy to host any Angular apps or any other websites!.
  • JSON support (using Google's gson).

License

MIT License - see LICENSE for more details.

websocketchat's People

Contributors

jcaguilera avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

websocketchat's Issues

Nice

I just wanted to thank you for this excellent artifact. Can not explain for how many days I have been looking for exactly this. In the meantime I will surely build whats in my mind on top of this and share with you.

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.