Code Monkey home page Code Monkey logo

roboragi's Introduction

Roboragi

Roboragi is a Reddit bot (found at /u/Roboragi which creates anime and manga links from MAL, Hummingbird, Anilist, MangaUpdates and Anime-Planet when requested.

Technical info

Roboragi is written in Python for use with Python 3. There's a requirements.txt if you want to test it out yourself, but you'll need to create a Config.py with your own information and set up a PostgreSQL database. I highly recommend changing the subredditlist variable in AnimeBot.py to a private subreddit that only you and the bot have access to (otherwise you'll respond to everything the actual Roboragi bot does).

How it works

Roboragi uses PRAW (a Python library) to interface with Reddit through the /u/Roboragi account. It searches through constant stream of comments and checks each of those for requests for the correct symbols - {}, {{}}, <> and <<>>. Once it's identified that it's being called, it takes the stuff between the braces and does a search for it in various anime/manga databases. Once it's got as much as it can find, the objects generated by the various databases are sent off to be formed into a comment. That then gets sent back to Reddit to be commented through PRAW and /u/Roboragi.

Current databases

  • MAL (Anime + Manga)
  • Hummingbird (Anime)
  • Anilist (Anime + Manga)
  • MangaUpdates (Manga)
  • Anime-Planet (Anime + Manga)

roboragi's People

Contributors

nihilate avatar mnmt avatar orende avatar

Watchers

James Cloos avatar Kevin Le 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.