Giter Site home page Giter Site logo

leo-im-server's Introduction

Leo-IM

Leo-IM,开源好用的IM。

Leo-IM是基于Java语言、Netty框架、Vue+Element-UI开发的轻量级IM,服务端可独立运行(无需部署到web容器),HTTP服务和Socket服务可分开部署,使用基于Netty扩展的netty-rest-serverRESTful框架提供Web服务,简单易用,方便扩展。

在线演示

演示地址:http://123.207.147.138:8000

建议使用Chrome浏览器

  • 演示用户1:用户名 test1,口令 123456
  • 演示用户2:用户名 test2,口令 123456
  • 演示用户3:用户名 test3,口令 123456

运行环境要求

  • 服务端:Java8、MySQL5.5+
  • 客户端:Chrome、IE10+

主要功能

  • 私聊
  • 群聊
  • 文字、表情、图片、文件

构建与部署

  • 安装netty-rest-server到本地仓库

    mvn install:install-file -Dfile=netty-rest-server-1.0.jar -DgroupId=org.leo -DartifactId=netty-rest-server -Dversion=1.0 -Dpackaging=jar

  • 创建数据库,并设置字符集(my.cnf或my.ini)

    [client]

    default-character-set=utf8mb4

    [mysqld]

    character-set-client-handshake = FALSE

    character-set-server = utf8mb4

    collation-server = utf8mb4_unicode_ci

    init_connect=’SET NAMES utf8mb4'

    [mysql]

    default-character-set=utf8mb4

  • 构建

    mvn package

  • 部署

    解压leo-im-1.0.zip,修改conf/app.conf的相关配置

  • 启动

    nohup bin/run.sh >/dev/null 2>&1 &

  • Web端代码

    https://github.com/lining90567/leo-im-web

联系方式

leo-im-server's People

Contributors

lining90567 avatar

Watchers

James Cloos 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.