
42wim/matterircd![Join the IRC chat at []]([]
Minimal IRC server which integrates with mattermost and slack Tested on FreeBSD / Linux / Windows
Master branch of matterircd should always work against latest STABLE mattermost release.
You can find the binaries here
Go 1.14+ is required
bashgo get github.com/42wim/matterircd
You should now have matterircd binary in the bin directory:
bash$ ls ~/go/bin/ matterircd
See matterircd.toml.example
Run with matterircd --conf matterircd.toml
bashUsage of ./matterircd: --bind string interface:port to bind to, or a path to bind to a Unix socket. (default "127.0.0.1:6667") --conf string config file (default "matterircd.toml") --debug enable debug logging --tlsbind string interface:port to bind to. (e.g 127.0.0.1:6697) --tlsdir string directory to look for key.pem and cert.pem. (default ".") --version show version
Matterircd will listen by default on localhost port 6667. Connect with your favorite irc-client to localhost:6667
For TLS support you'll need to generate certificates.
You can use this program generate_cert.go to generate key.pem and cert.pem
Login with user/pass
/msg mattermost login <server> <team> <username/email> <password>
Login with personal token
/msg mattermost login <server> <team> <username/email> token=<yourpersonaltoken>
Login with MFA token
/msg mattermost login <server> <team> <username/email> <password> MFAToken=<mfatoken>
Search
/msg mattermost search query
Scrollback
/msg mattermost scrollback <channel> <limit> e.g. /msg mattermost scrollback #bugs 100 shows the last 100 messages of #bugs
Mark messages in a channel/from a user as read (when DisableAutoView is set).
/msg mattermost updatelastviewed <channel> /msg mattermost updatelastviewed <username>
Get a slack token on <[***]>
Login
/msg slack login <token>
Or use team/login/pass to login
/msg slack login <team> <login> <password>
After login it'll show you a token you can use for the token login
A docker image for easily setting up and running matterircd on a server is available at docker hub.
Run the irc server on port 6667. You'll need to specify -bind 0.0.0.0:6667 otherwise it only listens on 127.0.0.1 in the container.
docker run -p 6667:6667 42wim/matterircd:latest -bind 0.0.0.0:6667
Now you can connect with your IRC client to port 6667 on your docker host.
Install the port.
# pkg install matterircd
Or with a local ports tree.
$ cd /usr/ports/net-im/matterircd # make install clean
Enable the service.
echo "matterircd_enable="YES" >> /etc/rc.conf
Copy the default configuration and modify to your needs.
# cp /usr/local/etc/matterircd/matterircd.toml.sample /usr/local/etc/matterircd/matterircd.toml
Start the service.
# service matterircd start
We're also on the #matterircd channel on irc.freenode.net
You'll need to get the MMAUTHTOKEN from your cookies, login via the browser first.
Then in chrome run F12 - application - Storage/cookies - select your mattermostdomain and fetch the MMAUTHTOKEN
Now login with /msg mattermost login <username> MMAUTHTOKEN=<mytoken>
(if this doesn't work, try /msg mattermost login <username> token=<mytoken>)
See <[***]> for more information
Also see #98 for a script that fetches it for you.
Taken from: <[***]>
Log via browser on the Slack team, open the browser's network tab in the developer tools, and look for an XHR transaction. Then look for the token (it starts with xoxc-) in the request data the auth cookie, contained in the d key-value in the request cookies (it looks like d=XXXX;)
Then concatenate the token and the auth cookie using a | character, like this:
xoxc-XXXX|d=XXXX;
and use the above as your token with slack login
/msg slack login xoxc-XXXX|d=XXXX;
Here are some external guides and documentation that might help you get up and running more quickly:
探索更多轩辕镜像的使用方法,找到最适合您系统的配置方式
通过 Docker 登录认证访问私有仓库
在 Linux 系统配置镜像服务
在 Docker Desktop 配置镜像
Docker Compose 项目配置
Kubernetes 集群配置 Containerd
K3s 轻量级 Kubernetes 镜像加速
VS Code Dev Containers 配置
MacOS OrbStack 容器配置
在宝塔面板一键配置镜像
Synology 群晖 NAS 配置
飞牛 fnOS 系统配置镜像
极空间 NAS 系统配置服务
爱快 iKuai 路由系统配置
绿联 NAS 系统配置镜像
QNAP 威联通 NAS 配置
Podman 容器引擎配置
HPC 科学计算容器配置
ghcr、Quay、nvcr 等镜像仓库
无需登录使用专属域名
需要其他帮助?请查看我们的 常见问题Docker 镜像访问常见问题解答 或 提交工单
免费版仅支持 Docker Hub 访问,不承诺可用性和速度;专业版支持更多镜像源,保证可用性和稳定速度,提供优先客服响应。
专业版支持 docker.io、gcr.io、ghcr.io、registry.k8s.io、nvcr.io、quay.io、mcr.microsoft.com、docker.elastic.co 等;免费版仅支持 docker.io。
当返回 402 Payment Required 错误时,表示流量已耗尽,需要充值流量包以恢复服务。
通常由 Docker 版本过低导致,需要升级到 20.x 或更高版本以支持 V2 协议。
先检查 Docker 版本,版本过低则升级;版本正常则验证镜像信息是否正确。
使用 docker tag 命令为镜像打上新标签,去掉域名前缀,使镜像名称更简洁。
来自真实用户的反馈,见证轩辕镜像的优质服务