A Java open source Spring Boot instant messaging IM chat system

foreword

opening

The most indispensable thing for an e-commerce platform is instant messaging, such as notification delivery, customer service chat, etc. Today, I will share with you an open source instant messaging system. If you are not interested in the article, you can skip directly to the end of the article, and there is a way to get the source code link.

picture

But the content of the article requires you to simply go through it. I believe you can get a lot of saucy operations.

Project Description

This project is a push system based on mina or netty framework. Maybe some enterprises have their own needs for an instant messaging system, then CIM provides you with a solution. Currently, CIM supports websocket, android, ios, desktop applications , system applications and other multi-terminal access support, can be applied to mobile applications, Internet of Things, smart home, embedded development, desktop applications, WEB applications and instant consumption services between background systems. The public account Java project shares a place to share high-quality projects.

Project Architecture

The architecture of instant messaging chat is relatively simple, generally server + client, which can realize chat from user A to user B; the gold content lies in whether the support supports cluster expansion.

picture

Main modules of the project

The project is divided into server-side and client-side. The server-side is netty integrated with websocket. There are various forms of client-side, all of which call the server-side. This article will not focus on the introduction. Directory Description

  • cim-use-examples are the usage examples for each client

  • cim-client-sdk is the SDK source code of each client

  • cim-server-sdk is the source code of the server SDK, which is divided into two versions: mina and netty, you can choose one of them

  • cim-boot-server is the source code of the springboot server project, developed using the Idea tool

All the sdks are IntelliJ IDEA projects, and Maven is packaged into jars and exported to the corresponding client or server projects.

Feature preview

1. Console page http://127.0.0.1:8080 picture2. Android client picture3. Web clientpicture

Epilogue

This open-source instant messaging system can be changed to push or chat, and the back-end can be used directly. The focus is not on the front-end, but both android, ios and web support, you can see the code yourself For example, whether it is worth collecting or not, read the article yourself first, feel that you can collect it, and read it slowly.

Finally, the method of obtaining the address of the open source project is as follows:
Pay attention to the official account: Program Yuan Xiaowan.

Guess you like

Origin blog.csdn.net/m0_48795607/article/details/120835504