benits / MisterBrown

o Mister Brown foi desenvolvido, com a ideia de ser utilizado para praticar conversação em inglês

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

🚧 BOT - MisterBrown 🚀 in progress.. 🚧

GitHub language count Repository size Made by Matheus Benites GitHub last commit License Stargazers

BOT MisterBrown   |    Technologies   |    How To Use   |    License

ℹ️ MisterBrown BOT?

the Mister Brown was developed, with the idea of being used to practice conversational English.

This demo uses an experimental web speech API, which is currently supported only by browsers created in Blink, including Chrome 25+, Opera 27+, Samsung Internet, QQ Browser and Baidu Browser.

Screen_1

This is how this web application works:

  • Using a SpeechRecognition interface from the Web Speech API to hear your voice through a microphone
  • Send your message to API.ai (a natural language processing platform) as a text string
  • After the API.ai AI returns the response text, use the SpeechSynthesis interface to obtain a synthetic voice.

🚀 Technologies

This project was developed with the following technologies:

ℹ️ How To Use

To clone and run this application, you'll need Git, NodeJs installed on your computer.

Rename the .env.local to .env and fill the env vars:

APIAI_TOKEN=
APIAI_SESSION_ID=some_unique_session_id

The first one is an API.ai API key (Please get one by sign up with API.ai), and the second one is a session ID, which is an arbitrary string (we could make this unique within the app, but that's beyond the scope of this demo).

Or use this Heroku button to deploy to Heroku server. You just need to fill out the env vars with the API key and a session ID. No need to create an .env file.

Then from your command line:

Install

# Clone this repository
$ git clone https://github.com/benits/papode.dev.git

# Go into the repository
$ cd MisterBrown

# Install dependencies
$ npm install

# Start
$ yarn start ou  npm start

# running on port 5000

Deploy

📝 License

This project is under the MIT license. See the LICENSE for details.

Made with ♥ by Matheus Benites 👋 Get in touch!

About

o Mister Brown foi desenvolvido, com a ideia de ser utilizado para praticar conversação em inglês


Languages

Language:JavaScript 55.0%Language:CSS 29.1%Language:HTML 15.9%