Coder Social home page Coder Social logo

jorgeavaldez / jarvis-on-messenger Goto Github PK

View Code? Open in Web Editor NEW

This project forked from swapagarwal/jarvis-on-messenger

0.0 2.0 0.0 45 KB

A community-driven python bot that aims to be as simple as possible to serve humans with their everyday tasks

License: MIT License

Python 100.00%

jarvis-on-messenger's Introduction

JARVIS on Messenger

Just A Rather Very Intelligent System, now on Messenger!

Build Status Python License Gitter

Messenger is now used by 900 million people every month. With the launch of Send / Receive API, bots are about to take over.

Why?

I created JARVIS with two goals in mind:

  1. It should have a lot of useful features (both fun and commonly used).
  2. Anyone can contribute to this project. (As this is module-based, anybody with a decent knowledge of Python can contribute.) One of the prime goals of this project is to lower the entry barrier in the world of open source.

Take a look at the contributing guidelines to see how easy it is to add your code. I'll be waiting for your pull request! ๐Ÿ˜‰

Demo (Vimeo)

JARVIS on Messenger Demo

TODO

There are a lot of features that I've planned for JARVIS. Feel free to add to this list by opening an issue / PR.

  • Book Rating (#11)
  • Movie Rating
  • Anime Rating
  • News
  • Weather (#13)
  • Currency Conversion (#18)
  • Random Quote (#21)
  • Random Fact
  • Random Joke
  • Dictionary (#1)
  • Wikipedia Summary (#9)
  • Lyrics Search
  • URL Shortener
  • Expand URL

Some advanced features:

  • Add templates support (Structured Messages) (#7)
  • Integrate with Wit.ai to parse Natural Language
  • Retain context between queries

Structure

โ”œโ”€โ”€ modules/         # home for various features
โ”œโ”€โ”€ modules/src/     # code goes here
โ”œโ”€โ”€ modules/tests/   # tests go here
โ”œโ”€โ”€ templates/       # for sending structured messages
โ”œโ”€โ”€ CONTRIBUTING.md  # contributing guidelines
โ””โ”€โ”€ jarvis.py        # the main bot

Usage

JARVIS is at your service here. Currently, it's pending approval before the public can engage. If you'd like to be a tester, post here.

Sample Queries

Hi, Jarvis!
Are you there?
tell me a joke
iron man movie
define a superhero
wiki html
anything you want book
random quote
usd to eur rate
More examples can be found here.

Local Development / Testing

  1. Clone this repo.
  2. sudo apt-get install python-dev libffi-dev libssl-dev
  3. pip install -r requirements.txt
  4. python jarvis.py
  5. Visit the following URLs to see results:
    http://localhost:5000/process/?q=<YOUR_QUERY> returns the intent of the query.
    http://localhost:5000/search/?q=<YOUR_QUERY> returns the search result of the query.

History

I started out with rule-based model but it didn't scale well so now I've shifted to Natural Language Processing. Rest assured, I'll strive to keep it as simple as possible so that you, yes you, can contribute!

If you'd like to contribute to the old model, you are welcome to do so as well. I've created a new branch legacy for this purpose. I'll be accepting Pull Requests to this branch also. ๐Ÿ˜„

P.S. If you've come this far, you might as well contribute. Looking for a place to start? Take a look at some of the low-hanging fruits!

jarvis-on-messenger's People

Contributors

swapagarwal avatar achelikani avatar havanagrawal avatar gitter-badger avatar ymittal avatar

Watchers

James Cloos avatar Jorge Valdez 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.