Skip to content

matievisthekat/MyOnlyFriend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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!