A pure java chatroom based on netty
- 下载地址:aim-cli.jar
- 视频教程:aim-cli使用教程
- 效果图: aim效果图
java -jar aim-cli.jar
[aim@nologin]# login -h hostname -p 9658 -n test
[aim@nologin]# login test #意味着使用test昵称连接到 istart.club:9658 服务器 (暂不可用)
- -h 服务器地址,istart.club已经部署过aim-server,aim-cli可直接登陆
- -p 服务端口,9658(意为:965吧,告别996!!!)
- -n 用户昵称,自定义即可
git clone https://github.com/applesline/aim.git
mvn clean install #aim-server默认监听9658端口,如果需要改为其他端口,修改application.properties中的配置即可
aim-cli-jar-with-dependencies.jar #命令行客户端
aim-client-jar-with-dependencies.jar #图形化客户端
aim-server-jar-with-dependencies.jar #服务端,默认监听在9658端口
java -jar aim-server-jar-with-dependencies.jar
java -jar aim-cli-jar-with-dependencies.jar
java -jar aim-client-jar-with-dependencies.jar
- 私有协议
- 对象解码器
- 支持单聊、群聊
- 支持用户登录提醒、登出提醒
- 支持客户端心跳检测
- 支持客户端失败重连