Skip to content

Latest commit

 

History

History
34 lines (24 loc) · 673 Bytes

README.md

File metadata and controls

34 lines (24 loc) · 673 Bytes

Matrix-wiki-bot

TypeScript Matrix bot that searches Wikipedia and sends a random daily article.

Running locally

Configure by editing .env:

MX_SERVER_URL=https://matrix.org
MX_ACCESS_TOKEN=secret_token_here

Run with:

npm install
npm run dev

Usage

  • Invite the bot to a room
  • Send !wiki random

TODO

  • Initialize and connect matrix-bot-sdk
  • Fetch random article
  • Markdown message formatting
  • Send daily article
  • Package and deploy with Nix
  • Search articles with !wiki search <query>

Made by following the official matrix-bot-sdk guide.