Rocket.Chat Canned Responses App
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
GRMrGecko 9cb2b59c08 Added .htaccess to web api for standard configuration. 3 years ago
.vscode first commit 3 years ago
i18n first commit 3 years ago
web-api Added .htaccess to web api for standard configuration. 3 years ago
.editorconfig first commit 3 years ago
.gitignore first commit 3 years ago
CannedResponsesApp.ts first commit 3 years ago
License.txt first commit 3 years ago
README.md Fixed instructions to include npm instructions. 3 years ago
app.json first commit 3 years ago
icon.png first commit 3 years ago
package-lock.json first commit 3 years ago
package.json first commit 3 years ago
slashcommands.ts first commit 3 years ago
tsconfig.json first commit 3 years ago
tslint.json first commit 3 years ago

README.md

Canned Responses

This is a Rocket.Chat App which is designed to add Canned Responses via the /can slash command. The app requires a helper which can be installed on a standard LAMP or LEMP stack with SQLite3 or MySQL/MariaDB support.

Installation

First, install the helper under the web-api folder on your server.

  1. Configure the options at the top of the index.php to fit your needs.
  2. Upload to your LAMP/LEMP service provider, it can be under a sub directory if needed or a sub domain/primary domain.
  3. Visit the URL under which the helper app resides.
  4. Create your first user account which will become your administrator account.
  5. Start adding canned responses.

Next, you will need to add the Canned Responses app to your Rocket.Chat instance.

  1. Under Rocket.Chat administration, go to General -> Apps and enable development mode to allow apps to be installed which are not in the market place.
  2. Follow instructions at https://rocket.chat/docs/developer-guides/developing-apps/getting-started/ to install the apps-cli.
  3. Change directory to the Canned Responses directory and install needed modules.
npm install
  1. Deploy the app to your Rocket.Chat instance.
rc-apps deploy --url=https://rocket.domain.com -u USER_ACCOUNT -p "PASSWORD"

If you are modifying the code, you can run the following to update the App after you have installed it.

rc-apps deploy --url=https://rocket.domain.com -u USER_ACCOUNT -p "PASSWORD" --update
  1. In the Rocket.Chat administration, go the Apps -> Canned Responses and enable/set the API URL to your helper's URL with /api/ added to the end.