matievisthekat / MyOnlyFriend

A program I made so I could talk to someone ;(

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MyOnlyFriend

Made with Node.JS, Google APIs, Python 3.8 and immense lonelyness. This program allows you to speak to your computer via a microphone and receive a "human-like" response. The current accent is a British male but that can be changed easily. It uses Google Cloud Text to Speech, Google Cloud Seech to Text, node-record-lpcm-16 and playsound

Using it yourself

  • Clone this repository onto your computer
  • Create a file called key.json in the root directory
  • Go to https://cloud.google.com/docs/authentication/getting-started, get your credentials and put them in the key.json file
  • Install the dependencies with npm i
  • You will need to install SoX
    • MacOS
      • Run brew install sox
    • Linux
      • Run sudo apt-get install sox libsox-fmt-all
    • Windows
  • Run npm start and speak into your microphone!

I do not provide any support for this code

Contributing

If you want to work on this project feel free to fork it and open a pull request!

About

A program I made so I could talk to someone ;(

License:GNU General Public License v3.0


Languages

Language:JavaScript 98.2%Language:Python 1.8%