Fabulous Bot is a bot which does the basic work of searching from different platforms and showing the results directly in your Slack channel. Users don’t have to leave Slack, open browser and search for something.
- search from Google, Wikipedia, YouTube etc—( top 3 results will be shown)
- Check weather of any city
- Search Query from Stack Overflow
- Get commits data of any repository, Branch or pull request
- Get stocks data
- Search images from Google Images, Flickr etc
- Do mathematical Calculations
- Check meaning of words — From Urban Dictionary
- View maps
- and will be able to perform lot more tasks.
We are currently buidling this. If you would like to hear about our first beta release, please leave your email here.
Steps to Run this Bot Locally!
- clone the repo
- Do
export SLACK_TOKEN='slack-api-token'
- edit the Makefile and add
sudo
to the run, repl section andsudo -H
in requirements section - then
make repl
for local testing - if
make repl
doesn't work, try withsudo
- Work on services folder only
- Check
gif service
for the reference.
Note: for windows, edit Makefile and remove all instances of sudo
and sudo -H
Enabling different service
- Few services in fabulous rely on external services like google distance, search etc. to be use these services users will need to get their api key from these service providers and save them into a file from which fabulous can read the api keys.
- To Enable Direction service save your google direction api to
fabulous/services/secret_example
file inside theGOOGLE_DIRECTION_API
variable. - To Enable finance service save your api key to
secret_example
file inside theALPHA_VANTAGE_STOCK_API
variable. - TO Enable google search service save your google search api key and google CSE into
secret_example
file insideGOOGLE_SEARCH_API
andGOOGLE_CUSTOM_SEARCH_ENGINE
variables. - To Enable news service save your newsapi.org news api key to
secret_example
file insideNEWS_API
variable.
Running in a Docker contianer!
- Clone the repo
- run
cd fabulous && docker build -t faboulous . && docker run -it fabulous
Running the TestSuite
- run
make test
Please read this article on Fabulous Bot
Please read our Contributing to Eulercoder Projects Wiki.
Check Issue tracker for all the issues.
GPL-V3 Licence (c) Eulercoder Technologies & vicky002
Built with ❤️ in python and Eulercoder