TypeScript Matrix bot that searches Wikipedia and sends a random daily article.
Configure by editing .env
:
MX_SERVER_URL=https://matrix.org
MX_ACCESS_TOKEN=secret_token_here
Run with:
npm install
npm run dev
- Invite the bot to a room
- Send
!wiki random
- 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.