cherche / fuchsia Goto Github PK
View Code? Open in Web Editor NEWAn attempt at creating an intelligent virtual personal assistant for the web based on Jared Cubilla's Jarvis.
Home Page: https://cherche.github.io/fuchsia/
License: MIT License
An attempt at creating an intelligent virtual personal assistant for the web based on Jared Cubilla's Jarvis.
Home Page: https://cherche.github.io/fuchsia/
License: MIT License
Allow certain triggers (call me , my name is , I am ) to set your name and allow Fuchsia to remember through sessions.
Possibly use http://openweathermap.org/api to get the weather from a city. If no city is found, it could default to a city or say that the city's weather information was not found.
If the user wanted to see all of their settings (including module settings, name, etc.), return a well formatted box containing this information.
Make it so Fuchsia says "I'm sorry, i didn't quite understand that. Would you like me to Google it instead?"
And you can add an else if y.startswith Google/Search for... then it goes straight to Google.
Fuchsia can speak more like a normal person (how are you?, thank you, etc. have already been integrated).
Upon the question what can you do
, a randomized response from a list of what the core of Fuchsia can do will be returned. It may also bring up any other mandatory cores.
Edit: finished!
Use let
and const
instead of var
.
Obviously, use higher-order functions in conjunction with arrow functions.
Self-explanatory; explains new features added as of 2016.02.02. Additionally, add more stuff to, "What can I do?" command.
I have found sun-o
, bolt
, snowflake-o
, cloud
, and maybe tint
?
Do you realize that you can serve your Github Pages websites from your master
branch? @loquacious
Allow user to choose from searching with Google, Bing, Yahoo, reddit, etc.
This means people can download the Fuchsia script and use it in their own projects. It also means that the gh-pages will become a demo for the master branch.
The "Fuchsia" function will be in a fuchsia.js file and the controlling of the demo would be put into controller.js.
A lot more themes that can be user-submitted (through pull-requests obviously).
The Show/Hide Image link needs to refer to the image in that paragraph, which I believe I've done in the JavaScript, but clicking on it doesn't do anything, even though the image exists.
If it's "night" and you're using the "day" theme or vice-versa, Fuchsia will suggest the alternate theme to you.
Extend current "should I watch ...?" to "should I read ...?" and "should I listen to ...?".
Allow user to send multiple commands to Fuchsia by separating them with double ampersands (&&), for example, Hello && Flip a coin && Call me Bob
.
Many have asked for this feature, but I haven't any time to implement this myself right now. I may come back to this another time, however.
"Play " + song_name
I would need to find an API to find the music.
When grabbing any data from another site (API, image), it seems to work in some browsers but fail in others. This could be an http/https error, but I haven't been able to test on browsers on different operating systems.
#17 <- Look at this issue | Since we are using Google APIs, the easiest of them would be the Google Maps API. The user could ask directions, and Fuchsia gives an answer.
If you decide to use the modules, if additional modules are added, you won't be able to see them unless you clear your cookies. This is because the memory
variable is stored in a cookie. I'm not entirely sure how I could fix this one.
It would be very helpful if the Wikipedia links linked to the disambiguation.
If I recall correctly, Jarvis has (had?) a feature allowing you to check the top posts on a subreddit.
var Fuchsia = {
y: undefined,
newtab: undefined,
endpoint: undefined,
page: $('html, body'),
memory: {
name: [],
modules: {
'random': false,
'entertainment': false
}
},
...
}
Or something like that.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.