This is a simple and fast temporary deployment solution that provides a way to experience the main functions of matrix-appservice-wechaty. After some simple steps you can deploy a synapse server and a matrix-appservice-wechaty server. At present, in order to have a better experience, we need a domain name and a computer with a public IP address. Fortunately, we are designing a full-featured deployment plan for unpublic IP and domain names, and it is expected to be released this year(If it's necessary. ^_^).
(other version is supported)
Centos 7 (linux or mac is enough)
Docker version 20.10.7 https://docs.docker.com/engine/install/
docker-compose version 1.7.0 https://docs.docker.com/compose/install/
You can config you wechaty-puppet-token in docker-compose.yml
for a better experience. There is guidance notes in the file.
Please use the docker user to run the following commands.
# prepare a work directory
git clone https://github.com/545641826/easy-matrix-wechaty
cd ./easy-matrix-wechaty
# Get the latest docker image of `wechaty/matrix-appservice:latest`.
docker pull wechaty/matrix-appservice:latest
# Deployment
# You can modify the environment variables in the script for configuration. There is guidance notes in the file.
sh install.sh
# start server
./start.sh
- Visit your matrix homepage to check if matrix is runing.
- Open any Matrix client,and to login with the homeserver(http://localhost:8008) and the user/password(test/passwd). Another optional web client is element.wechaty.tk, which allows us to edit the target matrix homeserver.
- Add @wechaty:localhost and talk anythink to it, it will guide you to start the bridge.
- stop server:
./stop.sh
- uninstal:
./uninstall.sh
- restart:
./restart.sh
- clean:
./clean.sh
-> v0.3
see the releases.