matrix-sticker-manager/README.md
2019-03-28 15:48:49 -06:00

1.3 KiB

matrix-sticker-manager

#stickermanager:t2bot.io TravisCI badge

A matrix service to allow users to make their own sticker packs.

Usage

  1. Invite @stickers:t2bot.io to a private chat
  2. Send the message !stickers help to get information about how to use the bot

Building your own

Note: You'll need to have access to an account that the bot can use to get the access token.

  1. Clone this repository
  2. npm install
  3. npm run build
  4. Copy config/default.yaml to config/production.yaml
  5. Run the bot with NODE_ENV=production node lib/index.js

You will also need to create an appservice registration file and add it to your homeserver:

id: sticker-manager
url: http://localhost:8082
as_token: "YOUR_AS_TOKEN"
hs_token: "YOUR_HS_TOKEN"
sender_localpart: "stickers"
namespaces:
  users: []
  rooms: []
  aliases:
    - exclusive: true
      regex: "#_stickerpack_.+:t2bot.io"

Docker

docker build -t turt2live/matrix-sticker-manager .
docker run -v config.yaml:/app/config/production.yaml -v storage:/app/storage -p 8082:8082 turt2live/matrix-sticker-manager