Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    JoeNNorris
    @JoeNNorris
    Hey, I want to replace a module, PyDictionary, with my own forked version of it for my fix for the dictionary command. Where can I find the file that installs PyDictionary? Cheers
    Anthony Luc
    @anthonyvluc
    Hello! I'd like to contribute to the project. Any tips/advice?
    notAmine
    @notAmine
    Hello
    notAmine
    @notAmine
    I'm having trouble building the docker image on my machine
    notAmine
    @notAmine
    it's an issue with this command """python -m nltk.downloader -d jarviscli/data/nltk wordnet"""
    Biricik Göçmen
    @biricikgocmen_twitter
    hi
    How do I install Windows 10?
    It closes when I run setup.bat.
    Prasanna Rajaram
    @prasannarajaram
    I installed jarvis on Arch linux. I faced some issues during installation. I could not get espeak to install. I could not run jarvis using jarvis command. Here is the console dump from pastebin. https://pastebin.com/WTgiKAMf
    ADARSH C
    @chekoduadarsh
    Hey! First timer here trying to do a game as a function!!
    Can I include threading in my program
    and if I need a new package to be installed for my game what should i do
    ADARSH C
    @chekoduadarsh
    and the updated feature code should be kept in jarvis/jarviscli/plugins or jarvis/custom
    • game as a feature
    thank you for the help
    Manos Kasimatis
    @manosKas
    can some1 help run jarvis for first time?
    ADARSH C
    @chekoduadarsh
    Hey @admins I made a pull request,check it out and let me know if there is some problem
    Saba Pochkhua
    @CSenshi
    Hello admins (@admins).
    Can someone please review my pull request? I think It wont take long time to test and review it.
    Thanks!
    Shubham Nimbhore
    @shubhamnimbhore
    Hey @admins Please review my PR sukeesh/Jarvis#681
    Shubham Nimbhore
    @shubhamnimbhore
    Hey @admins Good morning Please review my PR pnhofmann/Jarvis#1
    dbherol
    @dbherol
    Hello everyone, my name is Daniel and I am a Computer Science student at Clemson University. For my software development class, I have been tasked to contribute to an open source project. I chose Jarvis because it is python-based and just a really cool project overall. I have been exploring the project a bit and have come up with some loose ideas, but please let me know if there is anything specific I can do to help!
    pnhofmann
    @pnhofmann

    Hi!
    Would really love to hear your ideas!

    Because you asked: Speech recognition is still a quick "let's try it out" and could definitely be improved. Some better concepts to parse human speech would be nice And currently I'm experimenting a bit building a Jarvis GUI based on Kivy (=> should also run on Android). I will share first results soon.

    But you should pick what you would most like to work on. We are really open and accept quite any feature ;).

    arjunk2004
    @arjunk2004

    Hi everyone. I'm new to this project and am working on issue #617. Does anyone know where the help function? I've been searching the docs and Jarvis class but haven't found it yet.

    Please let me know!
    --Arjun

    pnhofmann
    @pnhofmann

    That would be here: https://github.com/python/cpython/blob/3.8/Lib/cmd.py

    That's the Cmd-module of python standard lib - and CmdInterpreter inherits anything from there. This make this issue at last non-trivial, you will probably need to re-implement do_help completely.

    Also check out Cmd documentation: https://docs.python.org/3.8/library/cmd.html

    arjunk2004
    @arjunk2004
    great! I think I can work with that. Thank you @pnhofmann !
    arjunk2004
    @arjunk2004
    For those that are interested. I put up a PR to change the help function. More details on issue #617
    Antriksh Agarwal
    @antiDigest
    @pnhofmann Would it be better to have mobile app separately ? Like this being more of a server capability of sorts and the mobile app (may be done in another language as well -- like Java) makes requests to the server unless it is super low level which can be on the app ? The reason I ask is because the app then gives us a wide range of capabilities we can incorporate, including and not limited to connecting to other apps, maybe even google home apps.
    Antriksh Agarwal
    @antiDigest
    Actually I take that back, we can incorporate other apps without having to change language or make it separate. I guess what I am trying to say is, say we create a big module which may not be super fit (and by fit I mean, slows down the device too much or takes too much compute for a phone -- although who am I kidding, most phones run better than a laptop nowadays -- but say we decided to go for a big data type app) for a phone. Like wouldn't it be better to have it run elsewhere than a phone ? It kind of gives all phone/server/laptop an independence to run and sync with a common server !
    I bring this up because I noticed a couple of commits mentioning mobile
    pnhofmann
    @pnhofmann

    I have quite good experience with kivy https://kivy.org/

    Let's you write GUI for Linux / Windows / MacOS, then run something like buildozer android debug deploy run logcat (https://buildozer.readthedocs.io/en/latest/installation.html) and it is a app on your phone ;).

    But sure, there is even a issue open for running Jarvis as a server #709

    pnhofmann
    @pnhofmann

    First test (just pushed commit to fix some things) - and it does boot on android:
    https://dl.dropboxusercontent.com/s/p9l5kz2cixzu00o/Screenshot_20200701-104028.png?dl=0

    • Only dice plugin enabled
    • Plugin-list needs to be statically 'compiled' since PluginManager discovery does not work on android (source env/bin/activate; cd jarviscli; PYTHONPATH=. python3 ui/gui/gen_android_plugin.py
    • No voice support, completions, text-prompt during command execution, etc - and obviously ugly ui

    I'm confident, this can be made quite a nice app

    Antriksh Agarwal
    @antiDigest
    okay. is the code still in restructure branch ?
    pnhofmann
    @pnhofmann
    Yep; with Android/buildozer the main.py instead of main.py.
    aalmoame
    @aalmoame
    Hello all! I'm a student at the University of Michigan and I've been asked to contribute to a project. I think Jarvis is a really cool idea and has a lot of potential. I saw that you guys were looking into speech recognition and I thought I might try to take a crack at it. Have you looked into Vosk? It seems like it'd be a good option, especially since it could be used offline.
    pnhofmann
    @pnhofmann

    Hi @aalmoame ! Didn't hear of Vosk before, but first look reads absolutely brilliant! 50mb, streaming and runs on Raspberry Pi or Android - what could we want more?

    So, we already made some tests with voice recognition, but any help is really appreciated!

    https://github.com/sukeesh/Jarvis/blob/acb95768f192ee6987d88204731600a9791ce66b/jarviscli/plugins/voice_control.py
    You could take this as 'entry point' but you don't have to if you thinks you better implement it your own way.

    Last thing, if you don't mind, please check out the branch 'restructure'. This contains some (bigger) changes I didn't merge yet (currently don't have much time) and if you'd directly develop for this newer changes, it would make it a bit easier for me ;).

    In case you experience any issues, have questions about the code or just want to discuss, how to implement something; obviously please just ask!

    aalmoame
    @aalmoame
    Sure thing, I'll look over the current implementation of voice recognition soon and see how I can improve and build off of it. I'll also check out the restructure branch to make changes more consistent with the branch.
    aalmoame
    @aalmoame
    I've added multi-language functionality for voice control, sent a pull request if anyone's interested in looking it over!
    pnhofmann
    @pnhofmann
    Hi! Sorry, I'm currently quite busy but I promise I wont' forget!
    siderishub
    @siderishub
    Hello everyone I am new at open source development and I wanted to add two new plugins in jarvis
    the first one is a speed converter because jarvis covers most measurments but speed is still useful and the second one is a morse code translator
    my question is should I add them as one pull request or seperate?
    siderishub
    @siderishub
    made a pull request with both features because I saw some people do it in previous pull requests sorry if I wasn't mean to
    pnhofmann
    @pnhofmann
    Hi! And thanks!
    Yeah, usually - for two unrelated features you create two PR, but really no problem ;)
    On first look, your code looks good to me; I'll take a closer look next week.
    kamalesh pati
    @kamaleshpati
    Hey Folks , I want to contribute this jarvis project, can you guys tell me some beginner issues that i can start working on..?
    pnhofmann
    @pnhofmann
    Hi! Basically you can work on any feature, you would like to see in Jarvis. Or improve anything, you think is useful.
    For open issues issues, you could take a look at sukeesh/Jarvis#629, sukeesh/Jarvis#615 or sukeesh/Jarvis#549
    Chaitanya Krishna Kasaraneni
    @chaitanyakasaraneni

    Hi!

    I am a first timer and I tried to create a small plugin (PR sukeesh/Jarvis#830 ). Plugin runs on UNIX platform, the build failed on Windows. Is it fine?

    pnhofmann
    @pnhofmann
    No problem ;). Build is failing, because cannot build cryptography (Completely unrelated to your PR)? Seems like something changed upstream - for some reason cryptography-module now wants to build something with Rust.
    Nikolas Moatsos
    @NikolasMoatsos
    Hello everyone, I'm new to Jarvis! I really liked the project and I would like to contribute. Is there anything you suggest me starting from ?
    balaji gupta
    @elonmusk14

    import pyttsx3

    import speech_recognition as sr
    import datetime
    import wikipedia
    import time
    from selenium.webdriver.support.ui import Select
    from selenium.webdriver.common.keys import Keys
    from selenium import webdriver
    import pyautogui

    Use female voice

    import pyperclip
    hiddenimports = [
    'pyttsx3.drivers',
    'pyttsx3.drivers.dummy',
    'pyttsx3.drivers.espeak',
    'pyttsx3.drivers.nsss',
    'pyttsx3.drivers.sapi5', ]

    engine = pyttsx3.init('sapi5')

    voices = engine.getProperty('voice')
    engine.setProperty('voice', voices)
    engine.setProperty('rate', 150)
    engine.setProperty('volume', 10)

    def speak(audio):
    engine.say(audio)
    engine.runAndWait()

    def wishMe():
    hour = int(datetime.datetime.now().hour)
    if hour>=0 and hour<12: speak("Good Morning!") elif hour>=12 and hour<18:
    speak("Good Afternoon!")
    else:
    speak("Good Evening!")
    speak("I am friday, is there anything to help you sir?")

    def takecommand():
    r = sr.Recognizer()
    with sr.Microphone() as source:
    print("Listening....")
    r.pause_threshold = 1
    audio = r.listen(source)
    try:
    print("Recognizing....")
    query = r.recognize_google(audio, language='en-in')
    print(f"user said: {query}\n")
    except Exception as e:
    print(e)
    return "None"
    return query

    def typenh():
    r = sr.Recognizer()
    with sr.Microphone() as source:
    print("Listening....")
    r.pause_threshold = 1
    audio = r.listen(source)
    try:
    print("Recognizing....")
    typethingh = r.recognize_google(audio, language='hi')
    print(f"user said: {typethingh}\n")
    except Exception as e:
    print(e)
    speak("sorry I could not understand, say that again please...")
    return "None"
    return typethingh

    i = 0

    Edited From Here

    n = 0
    k = 0

    print("Say Hey Jarvis To Begin Initiation Sequence") #Sounds SICK Right!
    while (i<1):
    r = sr.Recognizer()
    with sr.Microphone() as source:
    audio = r.adjust_for_ambient_noise(source)
    n=(n+1)
    audio = r.listen(source)

        # interprete audio (Google Speech Recognition)
    try:
        s = (r.recognize_google(audio))
        message = (s.lower())
    
        if message == "hey jarvis":
            wishMe()
            k = 0
            while k == 0:
                query = takecommand().lower()
                query.replace("could you", "")
                query.replace("please", "")
    
                if 'sleep' in query:
                    speak("Entering Sleep Mode. Say Hey Jarvis To Wake Me Up!")
                    k = 1
                    print("Say Hey Jarvis To Begin Initiation Sequence")
                    #Editing Ends Here
                if 'wikipedia' in query:
                       speak('searching Wikipedia...')
                       query = query.replace("wikipedia", "")
                       results = wikipedia.summary(query, sentences=2)
                       speak("according to wikipedia")
                       speak(results)
                if 'manav sampada' in query:
                       speak('loging in to manav sampada')
                       browser = webdriver.Chrome('D:\\chromedriver.exe')
                       browser.get('http://ehrms.upsdc.gov.in/')
                       elem = browser.find_element_by_partial_link_text('eHRMS Login')
                       elem.get_attribute('href')
                       time.sleep(1)
                       elem.click()
                       time.sleep(1)
                       loginr = browser.find_element_by_xpath('//*[@id="txtusername"]')
                       loginr.send_keys('your id ')
                       time.sleep(1)
                       select = Select(browser.find_element_by_id('ddldept'))
                       select.select_by_visible_text('Basic Education')
                       time.sleep(1)
                       password = browser.find_element_by_xpath('//*[@id="txtpwd"]')
                       password.send_keys('your password')
                       speak('sir I have filled all userID password etc. but ')