Git Product home page Git Product logo

bot-capstone's Introduction

Ruby_lang

Ruby Capstone Project: GenieBot a powerful Slack Bot


Explore the repo - Report Bugs ยป

A powerful but yet simple slack bot that solves almost any query ๐Ÿ˜‰


Index

About The Project

This slack bot uses the powerful wolfram alpha engine API, which allows you to solve mathematical operations, make unit conversions, extract useful facts, clarify concepts and even perform complex operations as calculating the derivative of a math function i.e.

The bot also is equiped with two commands that allow you to see the 5 latest news from the NASA and also the NASA'S picture of the day. ๐ŸŒŒ

Road map

You can give a look to the project's road map documentation here: ROAD-MAP

Prerequisites and Instructions

  • Create a Slack workspace in: Slack create

  • Create a new Slack APP in: Slack create app

  • UPDATE!

    • The Slack APP and the Wolfram APP API token creation is explained in detail in the Useful information section, you are welcome to give it a look if further explanation is needed.

Step1

  • Generate the APP key to succesfuly log the API

Step2

  • After this the bot initial setup should be done.

  • Create a new Wolfram Alpha App in: Wolfram create app

Step3

  • Now you can obtain your API Id.

Step4

  • To run this bot locally first perform this operations:

    • Clone or download the repository:

      • (https://github.com/leonmezu1/Bot-Capstone.git)
      • ([email protected]:leonmezu1/Bot-Capstone.git)
    • Fetch and install the required gems from the Gemfile file running:

      • bundle install
    • Create and setup the .env file to store your API keys:

      • WOLFRAM_APPID= your API Key
      • SLACK_API_TOKEN= your API Key
  • Run the Bot

    • Run: rackup to put the bot online.

      • Note: The bot will online be online while the code it's running

    Step5

Run Commands

Now the bot is online let's invite it to a channel and run some commands.

Step5

  • Help

    Step6

  • Hi

    Step7

  • Nasa Latest Day Picture

    Step8

  • Nasa Latest 5 News

    Step9

  • Wolfram Query

Step9

Built With

This project has been developed with:

Linting operation is supported by:

Contact

Project Link: https://github.com/leonmezu1/Bot-Capstone

Leonardo Mezu - Leonardo Mezu L.

[email protected] ย  | Portfolio ย  | LinkedIn ย  | Twitter

Acknowledgements

RUBY Version: ruby 2.6.3p62

Leonardo Mezu - Microverse OOP Project.

bot-capstone's People

Contributors

leonmezu1 avatar

Watchers

James Cloos avatar

bot-capstone's Issues

Stand up Team issues.

1.- Rspec should be used from the beginning, even when all test will naturally fail, that is the point of TDD.
2.- Captions for testing should always be different, so you can see clearly which tests passes and which ones don't.

Other than that pretty good Leonard.

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.