Skip to content

Commit

Permalink
Updated documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
kingoftheconnors committed May 21, 2019
1 parent fab6be5 commit b218512
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 8 deletions.
23 changes: 17 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,29 +2,40 @@

This is a Matrix bridge for GroupMe

## requirements
## Requirements

You will need to acquire your Access Token from GroupMe.

* Get your access token by going to https://dev.groupme.com/ and clicking the "Access Token" link in the top right.

## installation
## Installation

clone this repo

cd into the directory

run `npm install`

## configure
## Configure

Copy `config.sample.json` to `config.json` and update it to match your setup

## register the app service
* Place the access token and domain name of your homeserver (or IP address) into the `accessToken` and `homeserverURL` sections respectively, keeping the `" "` around them.
* The 'registration' setting in the config.json needs to be set to the path of this file. By default, it already is.
* You do not need to open any ports to bind port 8090. The bridge does it all automatically.

Generate an `groupme-registration.yaml` file with `node index.js -r -u "http://your-bridge-server:8090"`
## Register the App Service

Note: The 'registration' setting in the config.json needs to set to the path of this file. By default, it already is.
Generate an `groupme-registration.yaml` file with `node index.js -r -u "http://localhost:8090"`

* **IMPORTANT!** Starting in the beginning of 2019, registration files required [non-exclusive aliases](https://github.com/matrix-hacks/matrix-puppet-slack/issues/73). After successfully creating your `groupme-registration` file, edit it to replace `aliases: []` with:
```
aliases:
-exclusive: false
regex: '#groupme_.*'
```

## Launching the Bridge

Copy this `groupme-registration.yaml` file to your home server. Make sure that from the perspective of the homeserver, the url is correctly pointing to your bridge server. e.g. `url: 'http://your-bridge-server.example.org:8090'` and is reachable.

Expand Down
4 changes: 2 additions & 2 deletions config.sample.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"registrationPath": "groupme-registration.yaml",
"port": 8090,
"bridge": {
"homeserverUrl":"https://synapse.keyvan.pw",
"domain": "synapse.keyvan.pw",
"homeserverUrl":"http://example.domain.com",
"domain": "example.domain.com",
"registration": "groupme-registration.yaml"
}
}

0 comments on commit b218512

Please sign in to comment.