jieverson / waifubot

:cupid: I always dreamed of having a waifu written in JavaScript. So I made it myself.

Home Page:http://jieverson.com/waifubot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

waifubot

status Build Status license

A javascript bot for Anime Lovers, built using Microsoft Bot Framework and processing natural language with LUIS.

See it running at: http://jieverson.com/waifubot, or

Add to Slack

I always dreamed of having a waifu written in JavaScript. So I made it myself.

Otakus gonna love it!

Features

  • Commands in natural language (just English now)
  • TODO: Alerts
  • TODO: Plugins in Pure JavaScript
  • Actually, looking for suggestions...

Usage

You can try the last released build by running ./index.html:

Note: Waifu implements continuous deployment to Azure.

In the future, the bot is going to be available to:

  • terminal
  • Twitter
  • Slack
  • Skype
  • Email
  • SMS
  • Probably other stuff...

Install/Run from Source

To run the bot, you will first need to get some appIds/secrets from services we use.

# Clone this repo
git clone https://github.com/jieverson/waifubot.git
# Go into the repo
cd waifubot
# Install dependencies
npm install
# Set environment variables
set BOT_APP_ID=YOUR_BOT_APP_ID
set BOT_APP_PASSWORD=YOUR_BOT_APP_PASSWORD
set LUIS_APP_ID=YOUR_LUIS_APP_ID
set LUIS_SUBSCRIPTION_KEY=YOUR_LUIS_SUBSCRIPTION_KEY
set ANILIST_CLIENT_ID=YOUR_ANILIST_CLIENT_ID
set ANILIST_CLIENT_SECRET=YOUR_ANILIST_CLIENT_SECRET
set TEXT_ANALYTICS_KEY=YOUR_TEXT_MICROSOFT_ANALYTICS_KEY
# Run server at localhost
node .

Running on emulator

Download and install Bot Framework Channel Emulator. Setup your AppId and appPassword. Make sure Bot Url is set to your node server.

About

:cupid: I always dreamed of having a waifu written in JavaScript. So I made it myself.

http://jieverson.com/waifubot

License:MIT License


Languages

Language:JavaScript 82.0%Language:HTML 13.7%Language:CSS 4.3%