Giter VIP home page Giter VIP logo

botapp's Introduction

Quotes

Quotes is a Slack application to save and request inspirational quotes

Tech stack:

  • Python 3.8
  • Tornado Web Server
  • Celery
  • MongoDB
  • Docker

Available commands:

  • /savequote {quote} Save a new quote in a mongo database and associate it to user who triggered the command

  • /quote Choose randomly a quote from database and write it in the current channel

Prerequisites:

  • A Slack account and an application created to have the SLACK_BOT_TOKEN needed to connecting to Slack API

  • Docker and docker-compose installed

  • Python version 3.8

  • You must have access to a Slack channel to install the app. If not create your own

  • Ngrok installed to help us to expose our local web server

Usage

  1. Clone the repository

    git clone [email protected]:rubbenpad/botapp.git

  2. Navigate into new folder create

    cd botapp

  3. Run docker-compose

    docker-compose up --build -d

  4. Run in another terminal the next command to expose our local web sever

    ngrok http 8000

  5. To run the commands in Slack channel you need to register the URL given for ngrok in Slack commands settings

Contribute

If you want to contribute to this project feel free to open a PR

License

  • MIT

Author:

Rubén Padilla - @rubbenpad2

Get in touch if have troubles with your project

botapp's People

Contributors

rubenpad avatar dependabot[bot] avatar

Stargazers

Roman avatar

Watchers

 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.