SkillAgentSearch skills...

Wikibot

A :robot: which provides features from Wikipedia like summary, title searches, location API etc.

Install / Use

/learn @themagicalmammal/Wikibot

README

<p align="center"> <a href="https://deepsource.io/gh/themagicalmammal/wikibot/?ref=repository-badge" target="_blank"><img alt="DeepSource" title="DeepSource" src="https://deepsource.io/gh/themagicalmammal/wikibot.svg/?label=active+issues&show_trend=true"/></a> <a href="https://deepsource.io/gh/themagicalmammal/wikibot/?ref=repository-badge" target="_blank"><img alt="DeepSource" title="DeepSource" src="https://deepsource.io/gh/themagicalmammal/wikibot.svg/?label=resolved+issues&show_trend=true"/></a> <br > <a href="https://github.com/themagicalmammal/wikibot"><img src="Resources/logo.gif" width='527'/></a> <br /> <a href="LICENSE"><img src="https://img.shields.io/badge/license-MIT-darkviolet"/></a> <a href="https://www.python.org/"><img src="https://img.shields.io/badge/python-3+-darkviolet.svg"/></a> <a href="https://github.com/themagicalmammal/wikibot/pulls"><img src="https://img.shields.io/badge/PRs-welcome-darkviolet.svg"/></a> <a href="https://telegram.me/themagicalmammal"><img src="https://img.shields.io/badge/Support-active-darkviolet.svg"/></a> <br /> <a href="https://lgtm.com/projects/g/themagicalmammal/wikibot/alerts/"><img src="https://img.shields.io/lgtm/alerts/g/themagicalmammal/wikibot.svg?logo=lgtm&logoWidth=18"/></a> <a href="https://lgtm.com/projects/g/themagicalmammal/wikibot/context:python"><img alt="Language grade: Python" src="https://img.shields.io/lgtm/grade/python/g/themagicalmammal/wikibot.svg?logo=lgtm&logoWidth=18"/></a> <br /> This :robot: is made in python with the help of the Wiki library. <br /> <br /> <a href="https://flask.palletsprojects.com/en/1.1.x/"><img src="https://img.shields.io/badge/flask%20-%23000.svg?&style=for-the-badge&logo=flask&logoColor=white"/></a> <a href="https://id.heroku.com/login"><img src="https://img.shields.io/badge/heroku%20-%23430098.svg?&style=for-the-badge&logo=heroku&logoColor=white"/></a> <a href="https://firebase.google.com/"><img src="https://img.shields.io/badge/firebase%20-%23039BE5.svg?&style=for-the-badge&logo=firebase"/></a> </p>

Intro

While exploring bots, I discovered that there were no bot(s) that could do more than display the definition of a term. However, Wikipedia can do much more than simply display a definition. As a result, this bot was created solely to demonstrate what Wiki can do. <br />

<p align="center"> <a href="https://telegram.me/pro_wikibot"><img src="Resources/info.png"/></a> </p>

Test

To test this bot. You can follow these steps:

  1. Setup a Bot with BotFather.
  2. Put your Token in
TOKEN = ""
  1. Setup RTDB in Firebase.
  2. Download your key file, place it next to your bot file
cred = credentials.Certificate("xxxYOURKEYFILExxx.json")
  1. Paste your RTDB url in
firebase_admin.initialize_app(
    cred, {"databaseURL": "https://yourappname-user-default-rtdb.firebaseio.com/"}
)
  1. Setup a project in Heroku.
  2. Paste your Project url in
bot.set_webhook(url="https://yourappname.herokuapp.com/" + TOKEN)
  1. Files you need for Heroku
xxxYOURKEYFILExxx.json #firebase key
Procfile
bot.py
requirements.txt
  1. To resolve bugs
Heroku --logs

Contributors

kurkurzz - Introducing the keyboard & some optimized commands.

View on GitHub
GitHub Stars25
CategoryCustomer
Updated11mo ago
Forks7

Languages

Python

Security Score

87/100

Audited on Apr 28, 2025

No findings