Voice Assistant Template
Simple Voice Assistant
Includes:
- ok design with animations
- easy adding commands
- credit.js (add github/twitter easily to any page)
- piss people off and block common source code key binds
- current commands: help, background, hello, weather command
To make this voice assistant yours, all you have to do is edit commands.js. It's kind of self explanatory, but the requirements for each command include:
'command name': { params: 0, // not required if no parameters are needed description:'only necessary for the "help" command, but help yourself out and describe stuff anyway', run: (params) => { //this will execute when command is said } }
Usage
For now, commands must be said in [command][parameters for command]
format. For example, "background red" changes the background of the voice assistant page to red.
Extra notes
Due to the nature of how I parse commands, only one word commands are allowed (but you can chain commands). You can, however, say "What's the weather in [region]" because I look for the keyword 'weather' and two parameters.
deez nuts
lalalalalalalalalalalalalallalallalalalal
you have so much talent
@glowlight thanks :) I'm not that good though.
Great job! You also inspired me to make a template like this, just using Adapt, allowing multi-word commands and natural language commands.
@AdCharity What? This is still really great. The only downside to this one really is that it doesn't include a natural language processor. When you said it could only use single-word commands in the description, I kind of just had to make my own using Adapt.
@AdCharity What do you mean I copied your meta tags? I just used the meta tags in HTML repls by default. If you realized this after posting, that would explain why you deleted the comment. Though, why did you send the ":|"?
@AmazingMech2418
I understand that there are standard meta tags in html5 repls. I meant to say that you copied my idea (yes lots of credit was given to me). I sent the :l because it comes across as rather strange that you would post a similar template 4 days after mine to compete.
@AdCharity I actually just saw your template today and, honestly, I don't really care if my template beats yours. I just kind of wanted to show how to add a natural language processor to a virtual assistant. Also, with the template jam, while of course, it would be great to win, I'm more of doing it to get templates on the template page of Repl.it which I think would be really cool. I honestly wish we had more time so I could submit PowerWeb.js, but I know I don't have the time to finish it before next Friday and that's why I asked in the main template jam post if there was a way to submit something to be a template even if it is not submitted in the challenge.
@AdCharity What's that for now?
@AmazingMech2418 lmao good luck with your other templates.
:l is also my way of expressing "no response"
@AdCharity Oh. Okay. Thank you!
This is really cool and creative!
This is pretty cool!
@FunnyLamma thanks :)
The markings of a true pro-grammer hahahaha...............
no one laughed :(
@ChezCoder I laughed at the fact that no one laughed
@CodingCactus XD