Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Easily enable full backend to run on local server #1605

Open
mcmurphy8097234789 opened this issue May 22, 2018 · 6 comments
Labels
Difficulty: hard help wanted Type: Enhancement - proposed New proposal for a feature that is not currently a priority on the roadmap.

Comments

@mcmurphy8097234789
Copy link

So I am a user that lives where the internet is unreliable. As a result, mycroft can be unreliable. I was wondering if it would be possible to enable an easy-to-install version of mycroft that enables the full backend (including speech and intent processing) to run on a powerful local server. This would mean that mycroft could still do tasks that are not reliant on the outside world, like making lists. I

This would also be a boon for privacy, something that mycroft is heavily marketing. Anyway, thanks for listening!

@heaven00
Copy link

heaven00 commented May 26, 2018

There is some conversation here https://community.mycroft.ai/t/self-hosted-server/1266/11 but I think we should document it better, how to set it up. Incase someone has links please share :)

I am still digging in the meanwhile

@heaven00
Copy link

@mcmurphy8097234789 I think the key is to make all the services required running locally and all of that can be setup using the configuration file https://github.com/MycroftAI/mycroft-core#using-mycroft-without-home

Will try to set this up and add more details

@el-tocino
Copy link
Contributor

See also #1569

@KathyReid KathyReid added Type: Enhancement - proposed New proposal for a feature that is not currently a priority on the roadmap. Difficulty: hard labels Jun 14, 2018
@JarbasAl
Copy link
Contributor

@Anurag845
Copy link

@JarbasAl Could you please throw some light on what is exactly happening in the project mentioned above. How do I customize the backend? As of now, I can't sign in at the frontend (It keeps saying sign in failed).
Also the settings.py file sets USE_DEEPSPEECH to FALSE. So which stt are we using? I am finding it quite difficult to integrate your project with mycroft-core.
It'll be mighty helpful if you could provide documentation on how to bypass Mycroft.home (essentially what your project aims to do).
Thanks

@flatsiedatsie
Copy link

flatsiedatsie commented Jul 18, 2019

As of now, I can't sign in at the frontend (It keeps saying sign in failed).

I had that too with the default setup. The problem is that the certificates aren't installed by default, and the process to generate them isn't run. The solution is to change this line in settings.py:
#if not SSL_CERT or not SSL_KEY:
to
if not exists(SSL_CERT) or not exists(SSL_KEY):
So it actually checks if the files exist. I've created a pull request for this.

I also circumvented the requirement to check if the email address is valid.

Now that SSL works, I've run into another issue where Mycroft doesn't seem to accept self-signed certificates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Difficulty: hard help wanted Type: Enhancement - proposed New proposal for a feature that is not currently a priority on the roadmap.
Projects
None yet
Development

No branches or pull requests

8 participants