Skip to content

Vedant1202/botmoji

BotMoji

A chatbot with bitmoji reactions. Implemented in React.

The deployed version can be found at BotMoji

The live version has a sample user already defined, as the app is not published on the Snapkit SDK and is still in the development phase (although this can be changed in the config file during local development).

It has a demo youtube video which you can watch here -> BotMoji Demo.

Screencasts

  1. Login

Login

  1. Home Page

  1. Hello

  1. What's up

  1. Have some fun with botmoji

  1. Botmoji also understands humor!

Installation

Part 1: Setup React App

This project would require npm and node.js already installed.

It is recommended to use yarn as a package manager. Otherwise even npm would do.

  1. Clone the repo
git clone https://github.com/Vedant1202/botmoji.git
cd botmoji/frontend/
## Make sure to be on master branch
  1. Install packages
yarn

Or if you have npm then

npm install
  1. Start the server
yarn start

Or if you have npm

npm start
  1. Make sure the Rasa HTTP server url is correct at config.js. By default it is http://localhost:5005

Installation

Part 2: Setup Rasa server

This project would require Python (>=3.6) already installed. It is recommended to use venv as a enviroment manager.

This tutorial follows the installation on a Linux (Ubuntu) distribution. For other operating systems, follow this link.

  1. Clone the repo (if you have'nt already)
git clone https://github.com/Vedant1202/botmoji.git
cd botmoji/rasa-smalltalk/
  1. Update packages
sudo apt update
sudo apt install python3-dev python3-pip
  1. Create a virtual environment
python3 -m venv ./venv
  1. Activate the virtual environment
source ./venv/bin/activate
  1. Update pip
pip3 install -U pip
  1. Install rasa
pip3 install rasa
  1. Run rasa server
rasa run --enable-api --cors "*"

Part 3: SnapKit SDK

You need to create account on Snapkit Developer Portal and then edit the respective parts at index.html.

Once that is configured, you can edit the sampleUser to false on config.js

For a reference of packages installed, I've also listed a requirements.txt file.

This project is licensed with the BSD-3 License.