Giter VIP home page Giter VIP logo

anirecombot's Introduction

AniRecomBot

The bot generates a list of recommendations based on the MyAnimeList account. Recommendations are obtained through scraping from this site: https://anime.ameo.dev/

The bot can also show a random quote, picture or gif using various APIs.

Usage

The bot executes all commands using the corresponding buttons in the menu.

  • Quote - Random quote.
  • PicRandom - Random picture.
    • SFW
      • Get picture
    • NSFW
      • Get picture
    • I WANT EVERYTHING!
      • Get SFW pic
      • Get NSFW pic
  • B..baka! - Random "baka" gif.
  • Anime Recommendations - Recommendations. When clicked, it will ask for a nickname for "MyAnimeList". Has its own submenu:
    • Next - Show next recommendation.
    • Update recs - Update list of recommendations.
    • Main Menu - Return to the main menu.

Getting started

Commands in this instruction are provided for Linux. If you are using Windows, you can find similar commands in the command block (under the step-by-step instructions) after the '#' comment marker.

  1. You must have firefox installed.
  2. Clone this repository to your local machine.
  3. Create a virtualenv (This step is optional, but highly recommended to avoid dependency conflicts) python3 -m venv .venv (You don't need to run it again) . .venv/bin/activate (You must run this every time you open the project in a new shell)
  4. Install requirements.
  5. Create an .env file in the root of project directory (there is a .envExample file for you to use as a template.) and add your Telegram bot API token https://t.me/BotFather BOT_TOKEN=bot-token-here
  6. Run bot.py from project directory. python3 -m anirecombot.bot
$ git clone https://github.com/GSPVK/AniRecomBot/
$ cd AniRecomBot
$ python3 -m venv .venv # on windows run "py -m venv .venv"
$ . .venv/bin/activate # on windows run ".venv/Scripts/activate"
(.venv) $ pip install -r requirements.txt
# Create a .env file, as described in step 4
(.venv) $ python3 -m anirecombot.bot # on windows run "py -m anirecombot.bot"

anirecombot's People

Contributors

gspvk avatar ayushdeveloper001 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.