Get ChatrixCD running in minutes! 🚀
# Download and extract (replace x86_64 with i686 or arm64 if needed)
wget https://github.com/CJFWeatherhead/ChatrixCD/releases/latest/download/chatrixcd-linux-x86_64.dist.tar.gz
tar -xzf chatrixcd-linux-x86_64.dist.tar.gz
cd chatrixcd-linux-x86_64.dist# Prerequisites: Python 3.12+
pip install -e .Need more details? See INSTALL.md
Create config.json:
{
"matrix": {
"homeserver": "https://matrix.org",
"user_id": "@mybot:matrix.org",
"auth_type": "password",
"password": "your-password"
},
"semaphore": {
"url": "https://semaphore.example.com",
"api_token": "your-api-token"
}
}Configuration options: Configuration Guide
./chatrixcd # Linux binary
# OR
chatrixcd # From sourceThe bot will:
- Connect to your Matrix server
- Join rooms you invite it to
- Wait for commands
Invite your bot to a Matrix room, then:
!cd help # Show available commands
!cd projects # List your CI/CD projects
!cd templates 1 # Show templates for project 1
!cd run 1 5 # Run template 5 in project 1
!cd status # Check task status
!cd logs # View task logs
React with 👍 to confirm actions or 👎 to cancel!
!cd alias add deploy "run 1 5"
!cd alias deploy # Now this runs template 5!
!cd log on # Enable auto log streaming
!cd status # Check running tasks
!cd stop 123 # Stop task 123
!cd admins list # Show admin users
!cd rooms list # Show allowed rooms
Bot not responding?
- Check it's in the room: Invite
@mybot:matrix.org - Verify room is in
allowed_roomsconfig - Check logs with
-vflag:chatrixcd -v
OIDC/SSO Authentication?
- Set
"auth_type": "oidc"in config - Bot will show login URL when starting
- See Authentication Guide
E2E Encrypted rooms?
- Bot automatically handles encryption
- First message may ask for device verification
- Use TUI mode (
chatrixcdwithout-L) for easier verification
- 📚 Full Documentation
- 🔧 Configuration Reference
- 🎨 Customize Messages
- 🏗️ Architecture Details
- 🤝 Contributing Guide
Questions? Check the Support page or open an issue!