Skip to content

bdf258/example-matrix-tool

 
 

Repository files navigation

Matrix Chat Summarizer

This app summarizes chat logs from a file or matrix room, then writes the summaries as a matrix message or as a file in a git repo (to be used with gitbooks).

Getting started

  1. Clone the repo or fork the REPL
  2. Copy the .env.example file and rename .env
  3. Register on Matrix (app.element.io is a popular way)
  4. Copy your user id, homeserver and access token from Element into the .env file. Here is a screenshot: element user id element homserver and access token
  5. Set whatsAppRoomId [sic] to the Matrix room id to read/write to.
  6. Also set the CLAUDE_API_KEY environment variable to your Anthropic API key.
  7. Change other .env settings to control what the app does.
  8. Run the command npm install
  9. Run the command npm run dev

About

Example app for Matrix chat integration tools

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%