Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hearot/wikisourcebot
A Telegram bot for wikisource.org.
https://github.com/hearot/wikisourcebot
golang mediawiki mediawiki-api mediawiki-bot mwclient mwclient-golang telegram telegram-bot wikisource wikisource-api
Last synced: about 1 month ago
JSON representation
A Telegram bot for wikisource.org.
- Host: GitHub
- URL: https://github.com/hearot/wikisourcebot
- Owner: hearot
- License: gpl-3.0
- Created: 2020-05-30T17:10:57.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-05-31T09:22:20.000Z (over 4 years ago)
- Last Synced: 2023-03-04T05:22:23.221Z (almost 2 years ago)
- Topics: golang, mediawiki, mediawiki-api, mediawiki-bot, mwclient, mwclient-golang, telegram, telegram-bot, wikisource, wikisource-api
- Language: Go
- Homepage: https://t.me/Wikisource_bot
- Size: 26.4 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# [wikisourcebot](https://t.me/Wikisource_bot)
[![License: GPL v3](https://img.shields.io/badge/License-GPL%20v3-blue.svg)](./LICENSE) [![License: GPL v3](https://img.shields.io/badge/Dev-%[email protected])](https://t.me/hearot)
A Telegram bot which allows you to retrieve articles from wikisource.org.
To run the bot yourself, you will need:
- Go
- [mwclient](https://github.com/cgt/go-mwclient)
- [telebot](https://github.com/tucnak/telebot)## Setup
- Get a token from [@BotFather](http://t.me/BotFather).
- Activate the *Inline mode* using the `/setinline` command with [@BotFather](http://t.me/BotFather).
- Set `token` in `bot.go`.
- Build the source code using `go build bot.go`.
- Finally, run the executable file you got from the previous step.