Coder Social home page Coder Social logo

anna-assistant / anna Goto Github PK

View Code? Open in Web Editor NEW
183.0 16.0 72.0 10.04 MB

Virtual Assistant on Google Chrome :elephant:

Home Page: https://chrome.google.com/webstore/detail/anna-assistant/kmkkgdkinnjokklbfloikdbdohbiklog

License: MIT License

HTML 43.59% CSS 33.51% JavaScript 22.86% Shell 0.03%
chrome-extension javascript chrome assistant css contributions-welcome anna

anna's Introduction

ANNA

alt-image

Zulip Chat Download From Chrome-Webstore HitCount Code Helpers Badge

Anna is a community driven ambitious virtual assistant on Google Chrome to help people Automate actions using Voice. 🐘

Sounds boring? Let's try again.

Meet Anna, your very own personal assistant on Google Chrome Webstore to help make your life effortless. Why to open and type in browser when you can just talk to it, and tell what to do.

Anna will be there to help you do what you want. You want to take a screenshot, say "hey, screenshot". You want to open a website like facebook, say "hey, open facebook". Not only this, it can do much more. Why to type when you can just speak

Anna is still in alpha, that means she is still learning and won't work sometimes. But if you love the idea, you could make her amazing. You can teach her things, help others teach her things or just installing her and giving us your valuable feedback and ideas. Discuss on Product hunt about Anna.

If you love to support Anna consider buying me a coffee to help build Anna. Your support can make her go a long way. Let's not make all the assistants owned by big MNC, lets build our own and make tech better. ⭐

Buy Me A Coffee

Watch Anna in action on Youtube:

Watch on Youtube

More videos on Youtube.

FAQ

https://anna-assistant.github.io/

You can talk to us on Zulip or Tweet or comment on issues to contribute.

A few examples of what can be done

All you need to do is say "Hey" before your requests. Feel free to add to this list.

Function What to say
Screenshot Hey, take a screenshot
Translate Hey, translate bonjour
Directions Hey, Delhi to Mumbai
Music Hey, play Whatever it takes
Open Websites Hey, open facebook
Close tabs Hey, close
Bookmark Hey, bookmark
Show Download Hey, downloads
History Hey, history
Reload Hey, reload
Incognito mode Hey, safe mode
Play random video on Youtube Hey, play Whatever it Takes
To divide 10 by 2 Hey, 10 divided by 2
Weather of your Current location Hey, what is the weather?
Weather of New Delhi Hey, what is the weather in New Delhi?
Draft email with the message Hey, mail life is awesome
open up Twitter and post "life is awesome" Hey, post life is awesome

You can also ask her a joke, have a conversation, and much more. To find a full list of Anna's functions click here

anna's People

Contributors

ananya avatar dgupta777 avatar dotcomboom avatar gautamramuvel avatar gauthamzz avatar gayathrivenkatesh avatar govinddixit avatar harimahi avatar irshsheik avatar lalitmee avatar manaswinidas avatar meet-vyas avatar mmbabol avatar nocoderhere avatar nvinayvarma189 avatar pani-vishal avatar paveethan avatar pbteja1998 avatar pmj642 avatar pradeepgangwar avatar saavran avatar sakshichahal53 avatar sanketgautam avatar savannahar68 avatar schneems avatar srvkmr130 avatar sulyabtv avatar vikasgola avatar yasharmaster avatar yusdacra avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

anna's Issues

Fix console log errors

deepinscreenshot_select-area_20171230171457

runtime.lastError while running tabs.executeScript: The extensions gallery cannot be scripted

change hot word detecting method

Change hot word detection metod to snowboy

https://github.com/Kitt-AI/snowboy

So user needs to give audio in the beg.

Add a voice of user in a folder named "Trigger" --> user saying hey anna
Remove this file from .gitignore
Apply this as the word detection metod for anna.
Do start recognition using webkit speech api only aftet that

First install needs

When user first installs the extension , make an interactive way to make user aware of how to use Anna.

requires:-

  • one or two example commands
  • making user check if his microphone is working

crop the image during reverse search and screenshot feature

User: "screenshot:
Anna: " you said screenshot"
Anna: " Do you want to crop the image?"
User: "yes"
then a crop the screen before the screenshot page opens

It is preferred to be done inside the page itself. If that is not possible and comes only when in the screenshot page which we have right now. Its also fine.

Optimise code

  • Remove redundant code
  • The extension increases cpu usage

Suggest ideas

  • Faster execution of code
  • Increase response speed

Feature: Show Anna Status using "Browser Action" Icon

Currently, we are using content script to inject status icon on each & every webpage user visits and change status icon according to the actions performed by users.

This can further be improvised by leveraging chrome extension's Browser Action, to show current status of Anna. As, it's always available and can easily modified by using Chrome Extension's API.

We can use different Browser Action Icons, for visualizing Anna's current status, which would be better from UX perspective, as well as, for performance (as we don't need to update status on every iteration), we can use some Event Handler for that purpose. Whenever a user performs some actions, only then we need to change the Icon according to the user action.

For more information on Anna's Status, go through this Pull Request: #88 ( Issue: #78 ). If you have any better suggestion, please feel free to discuss & implement.

Note: For initial phase, it would be better to have a toggle button in Extension's Popup, so that users have flexibility in switching between both the versions (current & new).

Show users that voice recognition is working in the system

Users might have the voice mute or soundcard problem should know that anna is working properly but rather its a problem of the system.

One way is to show what they say in a text box in pop up
or if pop up is open and user is not speaking anything a small indicator can also work.
Other ideas are welcome

Feature calander

Add an event using google calander .

Eg set up a meeting with Evan at 9pm tomorrow

Indent name calander

use sys.any,sys.date and sys.time

Add articles anna got featured

Create Anna for firefox

Almost all code is same, I guess it wont be that hard.

Once its done comment, ill make a seperate repo for that.

star this repo

post screenshot

Also go to chrome webstore and rate this extension 😈

Redesign Popup.

help page
main page
white

Pop up design should be changed to the above design.

  • Icons should be consistent.
  • use same colours as given above.
  • In need of images check on zulip chat or comment below.

Create floating chat

  • Add a small chat like button at the right corner of the screen (movable in the future)
  • When the user clicks the button a chat with Anna and the user starts, every conversation between user and Anna will be there from that moment.
  • This issue requires one to just make the front end of the problem.

The idea is user should be able to see a floating chat at his screen all the time.

Open lyrics of a song

When user says "lyrics of song", a new tab should be opened with lyrics.

It should be implemented like youtube is implemented. The browser should display the lyrics not search for lyrics in some lyrics website.
Comment before starting to work on this issue.

Change Anna's voice

Last few lines of background js ,change from the present robotic voice to a much more futuristic sound

Add open in safe mode

When user says open in safe mode. Open a new incognito tab

User says

"open in safe mode"
"safe mode"
"incognito"
"private browsing"

indent name is incognito

Make a demo video on Youtube

Make a Demo video and upload on YouTube.
Minimum duration 30 seconds

For opencode Participants

Without editing ---> medium 30 points
with ediiting --> Hard 50 points

Any number of particapants can do this.

Feature restaurant

Eg: find good restaurants

Indent name restaurants.

May need api.ai help. Text me on zulip for that

@sys.geo-city has the value of the city

Reduce pop up size

The pop up size is too large relative to the screen size.
The settings ,help buttons also are too large

Reduce the size of pop up.
Follow up of #108.

Add more than one voice

Add functionality more than one voice
the code is at the bottom of background.js

Addition of male voice is needed
Change the voice using the pop up is required

Make the reply text to be read

you need to call speech in fulfilment and say it back in this line https://github.com/Anna-Assistant/Anna/blob/master/background.js#L189

setResponse(); --- Function can be used to say the reponse

An example of json response is given below.
{
"id": "",
"timestamp": "",
"lang": "en",
"result": {
"source": "agent",
"resolvedQuery": "how to go from Allahabad to Kanpur",
"action": "",
"actionIncomplete": false,
"parameters": {
"geo-city": [
"Allahabad",
"Kanpur"
]
},
"contexts": [],
"metadata": {
"intentId": "",
"webhookUsed": "false",
"webhookForSlotFillingUsed": "false",
"intentName": "maps"
},
"fulfillment": {
"speech": "Opening Google Maps",
"messages": [
{
"type": 0,
"speech": "Opening Google Maps"
}
]
},
"score": 1
},
"status": {
"code": 200,
"errorType": "success"
},
"sessionId": "bfc71263-9db0-4304-a825-94cfffc990c6"
}

Release a .crx file

Can we add a .crx file for this extension? It would help testers and developers in developing and it will also reduce the efforts which we do while loading the extension from our system.

If we have the .crx file, then only we have to drag and drop the .crx file in the chrome://extensions/ tab and our extension will be ready for use or testing.

create Pull Request Template

Should check for:-

  1. Issue is linked in the commit
  2. Proper commit messages are written
  3. Refer template of any open source project you like and follow similar

If user is not in chrome open chrome for reverse image search feature

if the user is not in a browser tab when user says "screenshot or reverse image search"
either

  • open browser tab
  • tell user this feature is only available on the the browser.

console gives errors like Error in response to tabs.query: TypeError: Cannot read property 'id' of undefined

Make trigger shortcut key

Anna presently works on a speech trigger β€œhey” instead it should work when a trigger like a shortcut key is pressed. Code is in background.js

Feature screenshot

Take screenshot of the screen when user says Anna "take screenshot" . Intent name screenshot

Add "What is this" feature

If an image is the browser . Anna will reverse image search what that image is using google and tell the user what that is.

Comment before doing this issue and discuss how you will solve it.

Add tell me a joke feature

Keep an array of jokes and read it back to the user when indent is joke. The work in api.ai is already done

when user says "tell me a joke" , "tell a joke " ,"joke" or "make me laugh "

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.