Skip to content

Latest commit

 

History

History
46 lines (34 loc) · 1.57 KB

File metadata and controls

46 lines (34 loc) · 1.57 KB

Patch

Patch

Patch, named after the SeaGL mascot, is a Matrix bot that assists with running the SeaGL Matrix space.

Usage

Install dependencies:

Populate environment variables:

  • Matrix Client-Server API:
    • MATRIX_ACCESS_TOKEN: Secret authentication token (see this Stack Exchange question for how to get one)
    • MATRIX_BASE_URL: Homeserver base URL
    • MATRIX_RATE_LIMIT: Rate limit in hertz
    • ISSUE_8895_COOLDOWN: Seconds to wait before room creation (matrix-org/synapse#8895)
  • Pretalx:
    • PRETALX_RATE_LIMIT: Rate limit in hertz
    • PRETALX_API_KEY: API key to authenticate Pretalx requests (optional, only useful if you want to generate Matrix rooms before the schedule is published - this also probably won't work out of the box)
  • Sentry:
    • SENTRY_DSN (Optional): Data Source Name of Sentry project. If unset, error reporting is not enabled.

Build the bot:

yarn build

Start the bot:

yarn start