snipsco / snips-issues

Feel free to share your bugs with us.
14 stars 5 forks source link

[Platform] Allow the Snips platform to run on any computer #153

Closed DavidRouyer closed 5 years ago

DavidRouyer commented 5 years ago

Is your feature request related to a problem? Please describe. I'm new to the Snips platform and I love the promise. But I want to run my Snips assistant on my computer, not deploy it on a phone or a Raspberry Pi. I want to be able to run the Snips stack on my PC (Windows/Linux/MacOS).

What are the use cases of this feature The goal is to transform any PC into a Snips powered device, so we can build our own assistant and run it right away, without the need of an additional device.

Describe the solution you'd like Make the Snips stack cross-platform: snips-audio-server, snips-hotword, snips-tts, snips-nlu, snips-asr, snips-dialogue The sam CLI should be able to connect to localhost (and detect my PC as a device)

Describe alternatives you've considered

Additional context

nebuto commented 5 years ago

Hello @DavidRouyer,

Thanks for your input.

As of today Snips can run on both Linux & MacOS (also iOS & Android). We don't have a release date for Windows. Snips' stack is already cross-platform, you can install each component on Linux with apt-get or MacOS with homebrew : https://docs.snips.ai/getting-started/quick-start-macos

Sam is meant to control a Raspbian distribution (Raspberry flavored Debian) via SSH commands. The app itself is cross platform and can be run on Windows / Linux / MacOS via npm.

Sam could control other Linux platforms, but there is some code in Sam that is only relevant to a RasberryPi and you can encounter issues if run on MacOS or other Debian distribution (i.e. Ubuntu). sam setup audio uses some Raspbian-dependent commands. On Linux you would have to do it yourself via PulseAudio.

Sam can already connect to your localhost (it will use SSH).

The setup of the platform is a bit involved right now if you don't use sam. To help with this, we are working on a REST webservice called Pegasus It's in its early stage right now, but it will help us move the complexity of sam (ssh commands) to Pegasus and accomplish a true easy setup & control of Snips.

cpoisson commented 5 years ago

@DavidRouyer, thanks for your feedback.

Closing this one,

The platform is already cross platform (except windows which is not supported at moment)