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