||6 years ago|
|configuration||7 years ago|
|database||6 years ago|
|gateway||6 years ago|
|logger||7 years ago|
|xmpp||6 years ago|
|.gitignore||8 years ago|
|LICENSE||8 years ago|
|README.md||7 years ago|
|main.go||7 years ago|
|servers.addr||7 years ago|
|xmpp4steam.cfg||8 years ago|
go-xmpp4steam is a XMPP/Steam gateway.
- go-xmpp for the XMPP part.
- go-steam for the steam part.
- go-sqlite3 for the database part.
- cfg for the configuration file.
Build and run
You must first install go environment on your system. Then, go into your $GOPATH directory and go get the source code (This will download the source code and the dependencies).
go get git.kingpenguin.tk/chteufleur/go-xmpp4steam.git
First, you need to go into directory
Then, you can run the project directly by using command
go run main.go.
Or, in order to build the project you can run the command
go build main.go.
It will generate a binary that you can run as any binary file.
Configure the gateway by editing the
xmpp4steam.conf file in order to give all XMPP component information. This configuration file has to be placed following the XDG specification (example
An example of the config file can be found in the repos.
To register, you have to send an Ad-Hoc command to the gateway in order to give your Steam login information. When it done, send a presence to the gateway. It will try to connect to Steam, but should failed. Steam should send you a code that you have to give to the gateway using Ad-Hoc command. After giving the code to the gateway, send again a presence to it and it should be OK.