cryptalk
1.2.9
cryptalk“风格=“最大宽度:100%;”>
Cyptalk 是基于 HTML5/Node.js 的客户端 (E2EE) 加密即时聊天
要使用 docker 运行最新的cryptalk ,在主机端口 80 上公开,只需运行以下命令即可从 docker hub 中提取它
sudo docker run -d --restart=always -p 80:8080 hexagon/ cryptalk
点击下面的按钮
克隆此存储库,进入新目录。
打造形象
docker build . --tag= " hexagon/ cryptalk "
运行容器,启用启动时启动,暴露到主机上的端口 80
sudo docker run -d --restart=always -p 80:8080 hexagon/ cryptalk
浏览到http://<ip-of-server>/
完毕!
安装node.js,具体过程取决于平台和发行版。
从 npm 安装应用程序
npm install cryptalk -g
然后发出以下命令来启动应用程序
cryptalk
浏览到http://localhost:8080
完毕!
Available commands:
Client:
/key StrongPassphrase Sets encryption key
/nick NickName Sets an optional nick
/mute Audio on
/unmute Audio off
/clear Clear on-screen buffer
/help This
/title Set your local page title
/torch AfterSeconds Console messages are torched
after this amount of seconds
(default 600).
Room:
/join RoomId Join a room
/leave Leave the room
/count Count participants
Host:
/connect Connect to host
/disconnect Disconnect from host
You can select any of the five last commands/messages with up/down key.
Due to security reasons, /key command is not saved, and command
history is automatically cleared after one minute of inactivity.
It is highly recommended to use incognito mode while chatting,
to prevent browsers from keeping history or cache.
安装node.js(开发要求>=12.0),具体过程取决于平台和发行版。
克隆这个仓库
git clone https://github.com/Hexagon/cryptalk.git
cd cryptalk
从 npm 拉取依赖项
npm install
启动服务器
npm run start
浏览到http://localhost:8080
要使用 JavaScript,请编辑client/source/
中的代码。要测试更改,请首先运行npm run build
来检查、构建并缩小代码。然后重新启动服务器。