🕴 An IRC server that is actually a Matrix client. Use your favourite IRC client to communicate with the Matrix.
AgentSmith allows you to communicate with the Matrix using your favourite IRC client (or bot).
This is just a silly proof of concept for now, but it looks promising. It is not yet recommended to use this in production.
WHO
NAMES
LIST
)+o
, Moderator (50)
-> +h
etc.)Install crystal
using your favourite package manager as guided by the Crystal
docs. After that, building AgentSmith should be as easy as:
shards build
The resulting binary is then located in ./bin/AgentSmith
.
macOS Mojave note: You may run into an error saying the compiler could not
find OpenSSL. To fix that, install openssl
from Homebrew and point
PKG_CONFIG_PATH
to OpenSSL's pkgconfig directory:
# zsh, bash:
export PKG_CONFIG_PATH=/usr/local/opt/openssl/lib/pkgconfig
# tcsh:
setenv PKG_CONFIG_PATH /usr/local/opt/openssl/lib/pkgconfig
After building (see Installation section above), run it:
# Authenticate with your home server for the first time
./bin/AgentSmith -s https://your_homeserver_url
# Once you got your access token and exported the MATRIX_ACCESS_TOKEN variable,
# run it again to start the IRC server:
./bin/AgentSmith -s https://your_homeserver_url
Once the server is running, you can point your favourite IRC client to it and connect to the Matrix!
Basically:
shards build
+ crystal spec
git checkout -b my-new-feature
)crystal tool format
)git commit -am 'Add some feature'
)git push origin my-new-feature
)Everyone interacting in the AgentSmith project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.