muaz-khan / Translator

Translator.js is a JavaScript library built top on Google Speech-Recognition & Translation API to transcript and translate voice and text. It supports many locales and brings globalization in WebRTC! https://www.webrtc-experiment.com/Translator/
131 stars 71 forks source link

Translator.js server installation issues #3

Open jianglong98 opened 6 years ago

jianglong98 commented 6 years ago

Hi, Muazkh I am very interested in your contribution regarding WebRTC. May I ask your suggestion regarding installing Translator.js on server side? I am going to demonstrate Translator on my own GCP VM, but it looks a little bit challenge for me. My step is below:

1:Clone Translator.js into GCP VM and replace Google API Key(this is verified) in both index.html and Translator.js; 2: Replace code: instead of in index.html because my API Key was updated in Translator.js; 3: Try running CMD: npm install && node Translator.js on GCP VM, but failed,why?; 4: Clients go through Internet to access website: http:// , hope to see translated text and voice // but it looks not working. What is the problem?

muaz-khan commented 6 years ago

Are you able to fix this? Did you test using HTTPs?