Giter Site home page Giter Site logo

mini-im's Introduction

mini-im

介绍

基于netty实现的局域网im。目前完成了基本后台功能,可以通过控制台做出基本指令。正在学习前端,完成UI部分。

功能

  1. 广播发现

  2. 文本传输

  3. 文件传输

  4. 离线销毁

  5. 心跳检测

运行

启动

运行mini-im-core下的StartApplication即可

配置

config:
  broad-duration: 1 //广播间隔时间,单位秒
  broad-port: 10000 //广播端口
  server-port: 5783 //服务端口
  skip-else: false //广播是否跳过自身检验,true:会发现自身 false:不会发现自身
  file-split-length: 102400 //发送文件分包大小 单位kb

控制台命令

命令 说明 备注
ls 查看在线列表 显示ip和hostname
send -m 发送文本内容 发送给谁:输入ip
请输入文本内容:发送文本
send -f 传输文件 发送给谁:输入ip
文件全路径:发送文件的全路径
exit 下线

可能的问题

使用虚拟机时网络设置为桥接模式。

mini-im's People

Contributors

nezuko-wen avatar

Stargazers

 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.