https://github.com/andreadecorte/wikipediarandombot
A Telegram Bot to get random Wikipedia articles
https://github.com/andreadecorte/wikipediarandombot
golang telegram telegram-bot wikipedia wikipedia-bot
Last synced: 9 months ago
JSON representation
A Telegram Bot to get random Wikipedia articles
- Host: GitHub
- URL: https://github.com/andreadecorte/wikipediarandombot
- Owner: andreadecorte
- License: gpl-3.0
- Created: 2021-02-07T19:08:59.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2023-03-08T04:59:12.000Z (over 3 years ago)
- Last Synced: 2025-03-02T13:17:40.235Z (over 1 year ago)
- Topics: golang, telegram, telegram-bot, wikipedia, wikipedia-bot
- Language: Go
- Homepage:
- Size: 247 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# wikipediarandombot
A Telegram bot showing random Wikipedia articles in different languages
# Dependencies
* Golang latest
* [telebot](https://github.com/tucnak/telebot)
* [logrus](https://github.com/sirupsen/logrus)
* [gabs](https://github.com/Jeffail/gabs)
# How to use
```
export TELEGRAM_TOKEN="yourBotToken"
```
## Webhook
Define the following three environment variables
```
WEBHOOK
PORT
PUBLIC_URL
```
# Deployment
[@wikipediarandombot](https://telegram.me/wikipediarandombot)