Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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: 2 days ago
JSON representation

A Telegram bot for wikisource.org.

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.