Skip to content

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

License

Notifications You must be signed in to change notification settings

amalieem/matrix-wiki-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published