Version 1.6.7-beta0
IDEA live chat plug-in based on Netty: allows you to realize chat, play chess, and fight landlords in IDEA! (In theory, support the JetBrains full range of development tools?)
Browser side: XEChat-Web
Main functions:
Currently implemented:
Games
Tools
learn more...
.
├── LICENSE
├── README.md
├── xechat-commons //公共模块
│ ├── pom.xml
│ └── src
├── xechat-plugin //IDEA插件端
│ ├── build.gradle
│ ├── gradle
│ ├── gradle.properties
│ ├── gradlew
│ ├── gradlew.bat
│ ├── settings.gradle
│ └── src
└── xechat-server //服务端
├── pom.xml
└── src
Server & Public Modules
IDEA plug-in
Reminder: Public modules need to be packaged first
# 进入公共模块根目录
cd xechat-commons
# 打包到本地仓库
mvn install Create or adjust the log directory src/main/resources/logback.xml
< property name = " ROOT_LOG_PATH " value = " /var/log/xechat-server " /> Run the main method XEChatServer.java directly
# 进入服务端根目录
cd xechat-server
# 打包
mvn package
# 启动服务端
java -jar target/xechat-server-xxx.jarStartup parameters:
-p {端口号}-swfile {文件路径}-weather {和风api key}-fyAppId {appId} -fyAppKey {appKey}-ipfile {文件路径}-token {令牌}-path {文件路径}-enableWS {true|false} For specific external configuration file information, please refer to: xechat-server/src/main/resources/config.setting
Reference example:
java -jar target/xechat-server-xxx.jar -p 1024 -swfile /Users/anlingyi/local/test/words.txt -weather {和风天气api key}
Reference for sensitive word related configuration
Reference for configurations related to wind weather
Open WS protocol related configuration reference
Modify the build.gradle configuration file and change the IDEA version number to the version you want to use (only for the development and debugging stage)
intellij {
version '2021.3'
}
Tasks > intellij > runIde
Reminder: Modify the server address
Enter cn.xeblog.plugin.client.XEChatClient and modify the following variable values
private static final String HOST = "localhost" ; // 服务端IP
private static final int PORT = 1024 ; // 服务端端口Pack
Tasks > build > assemble
The file after packaging build/distributions/xechat-plugin-xxx.zip
Install
IDEA > Preferences > Plugins
Select the packaged file to install build/distributions/xechat-plugin-xxx.zip
Add Plugin Library Plugins > 设置按钮> Manage Plugin Repositories...
http://plugins.xeblog.cn
Search for "xechat" to install
If possible, please deploy the server yourself.
Thank you @小小小小小小小小小 for your contribution to this part?
Mirror address: https://hub.docker.com/r/anlingyi/xecat-server/tags
docker-compose.yml
version : ' 3 '
services :
xechat :
image : anlingyi/xechat-server:1.6.7-beta
container_name : xechat-server
restart : always
ports :
- 1024:1024
- 1025:1025
volumes :
- /home/xechat/logs:/var/log/xechat-server
- /home/xechat/config/config.setting:/home/xechat/config/config.setting
- /home/xechat/db:/home/xechat/db If you want to disclose your fish pond, please edit the server_list.json file in the project, add your fish pond information, and submit the PR here, and wait for us to review and pass.
{
"name" : " xxx " , //鱼塘名
"ip" : " 127.0.0.1 " , //你的服务器IP或域名
"port" : 1024 //端口号
}Thanks to @Kagoshima for providing the QQ communication group?
If you are interested in this project, please join our communication group?