Skip to content

dorukaysor/chatbot-javascript

Repository files navigation

JS Chatbot

A Simple & Powerful Chatbot Written In JavaScript

Extras

It is also linked to wikipedia's API and very easy to customize using JSON.

Getting Started

To get a local copy up and running follow these simple steps.

Prerequisites

  • NodeJs
  • npm

Installation

  1. Clone the repo
    git clone https://github.com/devXprite/javascript-chatbot
  2. Install NPM packages
    npm install
  3. Rename .env.example to .env
    BOT_NAME="Bot Name"
    DEVELOPER_NAME="Your Name"
    DEVELOPER_EMAIL="Your Email"
    BUG_REPORT_URL="Your URL"
  4. Start Server
    npm start

Available Scripts

In the project directory, you can run:

  • npm run dev

    Runs the app in the development mode.
    Open http://localhost:3000 to view it in your browser.

  • npm run lint

    Check for errors in your code.

  • npm run lint:fix

    Fix auto fixable problems.

Deploy

Click this button to configure your Project and deploy it to Vercel.

Deploy with Vercel

Credit

Some chat intents were taken from Dialogflow's Small talk.

About

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published